mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-04 11:12:16 +00:00
chore: biome lint
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import type { ColumnDef } from "@tanstack/react-table";
|
||||
import { format } from "date-fns";
|
||||
import { ArrowUpDown } from "lucide-react";
|
||||
import * as React from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import type { LogEntry } from "./show-requests";
|
||||
import { format } from "date-fns";
|
||||
|
||||
export const getStatusColor = (status: number) => {
|
||||
if (status >= 100 && status < 200) {
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
import {
|
||||
type ChartConfig,
|
||||
ChartContainer,
|
||||
ChartTooltip,
|
||||
ChartTooltipContent,
|
||||
} from "@/components/ui/chart";
|
||||
import { api } from "@/utils/api";
|
||||
import {
|
||||
Area,
|
||||
@@ -7,12 +13,6 @@ import {
|
||||
XAxis,
|
||||
YAxis,
|
||||
} from "recharts";
|
||||
import {
|
||||
type ChartConfig,
|
||||
ChartContainer,
|
||||
ChartTooltip,
|
||||
ChartTooltipContent,
|
||||
} from "@/components/ui/chart";
|
||||
|
||||
const chartConfig = {
|
||||
views: {
|
||||
|
||||
@@ -1,24 +1,13 @@
|
||||
import { api } from "@/utils/api";
|
||||
import {
|
||||
type SortingState,
|
||||
type PaginationState,
|
||||
getCoreRowModel,
|
||||
getFilteredRowModel,
|
||||
getSortedRowModel,
|
||||
useReactTable,
|
||||
type ColumnFiltersState,
|
||||
type VisibilityState,
|
||||
flexRender,
|
||||
} from "@tanstack/react-table";
|
||||
import { useMemo, useState } from "react";
|
||||
import type { LogEntry } from "./show-requests";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
DropdownMenu,
|
||||
DropdownMenuCheckboxItem,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuTrigger,
|
||||
} from "@/components/ui/dropdown-menu";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||
import {
|
||||
Sheet,
|
||||
SheetContent,
|
||||
@@ -34,23 +23,34 @@ import {
|
||||
TableHeader,
|
||||
TableRow,
|
||||
} from "@/components/ui/table";
|
||||
import { columns, getStatusColor } from "./columns";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { api } from "@/utils/api";
|
||||
import {
|
||||
type ColumnFiltersState,
|
||||
type PaginationState,
|
||||
type SortingState,
|
||||
type VisibilityState,
|
||||
flexRender,
|
||||
getCoreRowModel,
|
||||
getFilteredRowModel,
|
||||
getSortedRowModel,
|
||||
useReactTable,
|
||||
} from "@tanstack/react-table";
|
||||
import copy from "copy-to-clipboard";
|
||||
import {
|
||||
CheckCircle2Icon,
|
||||
ChevronDown,
|
||||
Copy,
|
||||
Download,
|
||||
InfoIcon,
|
||||
CheckCircle2Icon,
|
||||
TrendingUpIcon,
|
||||
Globe,
|
||||
InfoIcon,
|
||||
Server,
|
||||
TrendingUpIcon,
|
||||
} from "lucide-react";
|
||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||
import { DataTableFacetedFilter } from "./status-request-filter";
|
||||
import copy from "copy-to-clipboard";
|
||||
import { useMemo, useState } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { columns, getStatusColor } from "./columns";
|
||||
import type { LogEntry } from "./show-requests";
|
||||
import { DataTableFacetedFilter } from "./status-request-filter";
|
||||
|
||||
export const priorities = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { api, type RouterOutputs } from "@/utils/api";
|
||||
import * as React from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Card,
|
||||
CardContent,
|
||||
@@ -7,7 +6,8 @@ import {
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
} from "@/components/ui/card";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { type RouterOutputs, api } from "@/utils/api";
|
||||
import * as React from "react";
|
||||
import { toast } from "sonner";
|
||||
import { RequestDistributionChart } from "./request-distribution-chart";
|
||||
import { RequestsTable } from "./requests-table";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Command,
|
||||
CommandEmpty,
|
||||
@@ -14,8 +15,7 @@ import {
|
||||
PopoverTrigger,
|
||||
} from "@/components/ui/popover";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { CheckIcon, PlusCircle } from "lucide-react";
|
||||
|
||||
interface DataTableFacetedFilterProps {
|
||||
|
||||
Reference in New Issue
Block a user