"use client";
import { useState } from "react";
import { IconInfoCircle } from "@tabler/icons-react";
import {
Drawer,
DrawerContent,
DrawerDescription,
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from "@kandev/ui/drawer";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@kandev/ui/select";
import { Tooltip, TooltipContent, TooltipTrigger } from "@kandev/ui/tooltip";
import { useTranslation } from "react-i18next";
import { TASK_PRIORITY_LABEL_KEYS, TASK_PRIORITY_TOKENS } from "@/lib/tasks/task-priority";
import { useTouchDrawer } from "@/hooks/use-compact-task-chrome";
import type { TaskPriority } from "@/lib/types/http";
function PriorityInfo({ label, description }: { label: string; description: string }) {
const usesTouchDrawer = useTouchDrawer();
const [drawerOpen, setDrawerOpen] = useState(false);
const trigger = (
);
if (usesTouchDrawer) {
return (