{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "task-management-dashboard",
  "dependencies": [
    "@tabler/icons-react",
    "class-variance-authority",
    "lucide-react",
    "next-themes"
  ],
  "registryDependencies": [
    "avatar",
    "badge",
    "breadcrumb",
    "button",
    "card",
    "collapsible",
    "dialog",
    "dropdown-menu",
    "input",
    "label",
    "popover",
    "separator",
    "sheet",
    "sidebar",
    "skeleton",
    "tabs",
    "textarea",
    "tooltip",
    "utils"
  ],
  "files": [
    {
      "path": "src/components/dashboards/task-management-dashboard/components/app-sidebar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { IconDots, IconSun, IconMoon } from \"@tabler/icons-react\"\n\nimport { useTheme } from \"next-themes\"\nimport { NavMain } from \"./nav-main\"\nimport { NavSecondary } from \"./nav-secondary\"\nimport { NavUser } from \"./nav-user\"\nimport {\n  Sidebar,\n  SidebarContent,\n  SidebarFooter,\n  SidebarHeader,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  SidebarTrigger,\n} from \"@/components/ui/sidebar\"\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuSeparator,\n  DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\nimport { data } from \"../data\"\n\nexport function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {\n  const { setTheme, resolvedTheme } = useTheme()\n  const [mounted, setMounted] = React.useState(false)\n\n  React.useEffect(() => {\n    setMounted(true)\n  }, [])\n\n  const activeTeam = data.teams[0]\n\n  const navSecondaryWithActions = data.navSecondary.map((item) => {\n    if (item.title === \"Appearance\") {\n      return {\n        ...item,\n        rightIcon: mounted ? (resolvedTheme === \"dark\" ? IconSun : IconMoon) : item.rightIcon,\n        onClick: () => {\n          setTheme(resolvedTheme === \"dark\" ? \"light\" : \"dark\")\n        },\n      }\n    }\n    return item\n  })\n\n  return (\n    <Sidebar variant=\"inset\" {...props}>\n      <SidebarHeader className=\"gap-4 p-2\">\n        <div className=\"flex items-center justify-between\">\n          <div className=\"flex items-center gap-2\">\n            <div className=\"flex h-6 w-6 items-center justify-center rounded bg-black text-white\">\n              <span className=\"text-xs font-bold\">O</span>\n            </div>\n            <span className=\"text-lg font-serif\">OceanLabs</span>\n          </div>\n          <SidebarTrigger className=\"-mr-1 ml-auto hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md transition-all active:scale-[0.98]\" />\n        </div>\n\n        <SidebarMenu>\n          <SidebarMenuItem>\n            <SidebarMenuButton asChild className=\"border bg-white dark:bg-neutral-900 dark:border-neutral-800 hover:bg-neutral-50 dark:hover:bg-neutral-800/50 transition-all active:scale-[0.98]\">\n              <div className=\"flex w-full items-center\">\n                <div className=\"flex aspect-square size-5 items-center justify-center rounded bg-linear-to-br from-orange-400 to-rose-400 text-white\">\n                  {/* Team Logo Placeholder */}\n                </div>\n                <div className=\"grid flex-1 text-left text-sm leading-tight ml-2\">\n                  <div className=\"flex items-center gap-2\">\n                    <span className=\"truncate font-semibold\">{activeTeam.name}</span>\n                    <span className=\"rounded bg-indigo-100 px-1 py-0.5 text-[10px] font-bold text-indigo-600 dark:bg-indigo-900/30 dark:text-indigo-400\">\n                      {activeTeam.plan}\n                    </span>\n                  </div>\n                </div>\n                <DropdownMenu>\n                  <DropdownMenuTrigger asChild>\n                    <button className=\"ml-auto p-1.5 hover:bg-neutral-200 dark:hover:bg-neutral-700 rounded-md transition-colors shrink-0 text-neutral-400 hover:text-neutral-600 dark:hover:text-neutral-300\">\n                      <IconDots className=\"size-3.5\" />\n                    </button>\n                  </DropdownMenuTrigger>\n                  <DropdownMenuContent align=\"end\" className=\"w-56\">\n                    <DropdownMenuLabel>Workspace Actions</DropdownMenuLabel>\n                    <DropdownMenuSeparator />\n                    <DropdownMenuItem>Switch Workspace</DropdownMenuItem>\n                    <DropdownMenuItem>Workspace Settings</DropdownMenuItem>\n                    <DropdownMenuItem>Manage Subscriptions</DropdownMenuItem>\n                    <DropdownMenuSeparator />\n                    <DropdownMenuItem className=\"text-red-600 focus:bg-red-50 focus:text-red-600 dark:focus:bg-red-950/50\">Leave Workspace</DropdownMenuItem>\n                  </DropdownMenuContent>\n                </DropdownMenu>\n              </div>\n            </SidebarMenuButton>\n          </SidebarMenuItem>\n        </SidebarMenu>\n      </SidebarHeader>\n      <SidebarContent className=\"gap-0\">\n        <NavMain items={data.navMain} />\n        {/* <NavMain label=\"Applications\" items={data.applications} /> */}\n        <NavSecondary items={navSecondaryWithActions} />\n      </SidebarContent>\n      <SidebarFooter>\n        <NavUser user={data.user} />\n      </SidebarFooter>\n    </Sidebar>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/components/app-sidebar.tsx"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/components/nav-main.tsx",
      "content": "\"use client\"\n\nimport { type Icon as TablerIcon } from \"@tabler/icons-react\"\n\nimport {\n  SidebarGroup,\n  SidebarGroupLabel,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\"\n\nexport function NavMain({\n  items,\n  label,\n}: {\n  items: {\n    title: string\n    url: string\n    icon: TablerIcon\n    isActive?: boolean\n    badge?: string | number\n    isDisabled?: boolean\n  }[]\n  label?: string\n}) {\n  const pathname = \"/dashboard/tasks\"\n  return (\n    <SidebarGroup>\n      {label && <SidebarGroupLabel>{label}</SidebarGroupLabel>}\n      <SidebarMenu>\n        {items.map((item) => (\n          <SidebarMenuItem key={item.title}>\n            <SidebarMenuButton asChild tooltip={item.title} isActive={pathname === item.url} className=\"h-9 text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-400/15 dark:hover:bg-neutral-800/50 data-[active=true]:bg-neutral-400/15 dark:data-[active=true]:bg-neutral-800 data-[active=true]:text-neutral-900 dark:data-[active=true]:text-neutral-100 transition-all active:scale-[0.98]\">\n              <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                if (item.isDisabled) {\n                  e.preventDefault();\n                }\n              }}>\n                <item.icon />\n                <span>{item.title}</span>\n              </a>\n            </SidebarMenuButton>\n          </SidebarMenuItem>\n        ))}\n      </SidebarMenu>\n    </SidebarGroup>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/components/nav-main.tsx"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/components/nav-secondary.tsx",
      "content": "import * as React from \"react\"\nimport { type Icon as TablerIcon } from \"@tabler/icons-react\"\n\nimport {\n  SidebarGroup,\n  SidebarGroupContent,\n  SidebarMenu,\n  SidebarMenuBadge,\n  SidebarMenuButton,\n  SidebarMenuItem,\n} from \"@/components/ui/sidebar\"\nimport { cn } from \"@/lib/utils\"\n\nexport function NavSecondary({\n  items,\n  className,\n  ...props\n}: {\n  items: {\n    title: string\n    url: string\n    icon: TablerIcon\n    badge?: string | number\n    rightIcon?: TablerIcon\n    onClick?: (e: React.MouseEvent) => void\n    isDisabled?: boolean\n  }[]\n} & React.ComponentPropsWithoutRef<typeof SidebarGroup>) {\n  return (\n    <SidebarGroup className={cn(\"mt-auto\", className)} {...props}>\n      <SidebarGroupContent>\n        <SidebarMenu>\n          {items.map((item) => (\n            <SidebarMenuItem key={item.title}>\n              <SidebarMenuButton asChild size=\"default\" className=\"text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-400/15 dark:hover:bg-neutral-800/50 transition-all active:scale-[0.98]\">\n                {item.onClick ? (\n                  <button\n                    onClick={(e) => {\n                      if (item.isDisabled) {\n                        e.preventDefault();\n                        return;\n                      }\n                      item.onClick?.(e)\n                    }}\n                  >\n                    <item.icon />\n                    <span>{item.title}</span>\n                    {item.rightIcon && (\n                      <item.rightIcon className=\"ml-auto size-4 text-muted-foreground/60\" />\n                    )}\n                  </button>\n                ) : (\n                  <a href={item.isDisabled ? \"#\" : item.url} onClick={(e) => {\n                    if (item.isDisabled) {\n                      e.preventDefault();\n                    }\n                  }}>\n                    <item.icon />\n                    <span>{item.title}</span>\n                    {item.rightIcon && (\n                      <item.rightIcon className=\"ml-auto size-4 text-muted-foreground/60\" />\n                    )}\n                  </a>\n                )}\n              </SidebarMenuButton>\n              {item.badge && (\n                <SidebarMenuBadge className=\"bg-neutral-200 px-0.5 text-neutral-700 rounded text-[10px] dark:bg-neutral-800 dark:text-neutral-400\">\n                  {item.badge}\n                </SidebarMenuBadge>\n              )}\n            </SidebarMenuItem>\n          ))}\n        </SidebarMenu>\n      </SidebarGroupContent>\n    </SidebarGroup>\n  )\n}",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/components/nav-secondary.tsx"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/components/nav-user.tsx",
      "content": "\"use client\"\n\nimport {\n  IconBell,\n  IconCreditCard,\n  IconDiscountCheck,\n  IconDots,\n  IconLogout,\n  IconSparkles,\n} from \"@tabler/icons-react\"\n\nimport {\n  Avatar,\n  AvatarFallback,\n  AvatarImage,\n} from \"@/components/ui/avatar\"\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuGroup,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuSeparator,\n  DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\nimport {\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  useSidebar,\n} from \"@/components/ui/sidebar\"\n\nexport function NavUser({\n  user,\n}: {\n  user: {\n    name: string\n    email: string\n    avatar: string\n  }\n}) {\n  const { isMobile } = useSidebar()\n\n  return (\n    <SidebarMenu>\n      <SidebarMenuItem>\n        <SidebarMenuButton\n          size=\"lg\"\n          className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground border bg-white dark:bg-neutral-900 dark:border-neutral-800 hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-all active:scale-[0.98]\"\n        >\n          <div className=\"flex w-full items-center\">\n            <div className=\"flex h-8 w-8 items-center justify-center rounded-md bg-linear-to-br from-purple-500 to-pink-500 text-white shrink-0\">\n              {/* Avatar Placeholder */}\n            </div>\n            <div className=\"grid flex-1 text-left text-sm leading-tight ml-2\">\n              <span className=\"truncate font-semibold text-neutral-900 dark:text-neutral-100\">{user.name}</span>\n              <span className=\"truncate text-xs text-neutral-500 dark:text-neutral-400\">{user.email}</span>\n            </div>\n            <DropdownMenu>\n              <DropdownMenuTrigger asChild>\n                <button className=\"ml-auto p-1.5 hover:bg-neutral-200 dark:hover:bg-neutral-700 rounded-md transition-colors shrink-0 text-neutral-400 hover:text-neutral-600 dark:hover:text-neutral-300\">\n                  <IconDots className=\"size-4\" />\n                </button>\n              </DropdownMenuTrigger>\n              <DropdownMenuContent\n                className=\"w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg\"\n                side={isMobile ? \"bottom\" : \"right\"}\n                align=\"end\"\n                sideOffset={4}\n              >\n                <DropdownMenuLabel className=\"p-0 font-normal\">\n                  <div className=\"flex items-center gap-2 px-1 py-1.5 text-left text-sm\">\n                    <Avatar className=\"h-8 w-8 rounded-lg\">\n                      <AvatarImage src={user.avatar} alt={user.name} />\n                      <AvatarFallback className=\"rounded-lg\">AS</AvatarFallback>\n                    </Avatar>\n                    <div className=\"grid flex-1 text-left text-sm leading-tight\">\n                      <span className=\"truncate font-semibold text-neutral-900 dark:text-neutral-100\">{user.name}</span>\n                      <span className=\"truncate text-xs text-neutral-500 dark:text-neutral-400\">{user.email}</span>\n                    </div>\n                  </div>\n                </DropdownMenuLabel>\n                <DropdownMenuSeparator />\n                <DropdownMenuGroup>\n                  <DropdownMenuItem className=\"gap-2 text-neutral-700 dark:text-neutral-300 focus:bg-neutral-100 dark:focus:bg-neutral-800 focus:text-neutral-900 dark:focus:text-neutral-100 cursor-pointer\">\n                    <IconSparkles className=\"size-4 text-orange-500\" />\n                    <span>Upgrade to Pro</span>\n                  </DropdownMenuItem>\n                </DropdownMenuGroup>\n                <DropdownMenuSeparator />\n                <DropdownMenuGroup>\n                  <DropdownMenuItem className=\"gap-2 text-neutral-700 dark:text-neutral-300 focus:bg-neutral-100 dark:focus:bg-neutral-800 focus:text-neutral-900 dark:focus:text-neutral-100 cursor-pointer\">\n                    <IconDiscountCheck className=\"size-4\" />\n                    <span>Account</span>\n                  </DropdownMenuItem>\n                  <DropdownMenuItem className=\"gap-2 text-neutral-700 dark:text-neutral-300 focus:bg-neutral-100 dark:focus:bg-neutral-800 focus:text-neutral-900 dark:focus:text-neutral-100 cursor-pointer\">\n                    <IconCreditCard className=\"size-4\" />\n                    <span>Billing</span>\n                  </DropdownMenuItem>\n                  <DropdownMenuItem className=\"gap-2 text-neutral-700 dark:text-neutral-300 focus:bg-neutral-100 dark:focus:bg-neutral-800 focus:text-neutral-900 dark:focus:text-neutral-100 cursor-pointer\">\n                    <IconBell className=\"size-4\" />\n                    <span>Notifications</span>\n                  </DropdownMenuItem>\n                </DropdownMenuGroup>\n                <DropdownMenuSeparator />\n                <DropdownMenuItem className=\"gap-2 text-rose-600 dark:text-rose-400 focus:bg-rose-50 dark:focus:bg-rose-950/30 focus:text-rose-700 dark:focus:text-rose-300 cursor-pointer\">\n                  <IconLogout className=\"size-4\" />\n                  <span>Log out</span>\n                </DropdownMenuItem>\n              </DropdownMenuContent>\n            </DropdownMenu>\n          </div>\n        </SidebarMenuButton>\n      </SidebarMenuItem>\n    </SidebarMenu>\n  )\n}",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/components/nav-user.tsx"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/dashboardLayout.tsx",
      "content": "import { AppSidebar } from \"./components/app-sidebar\"\nimport {\n  SidebarInset,\n  SidebarProvider,\n} from \"@/components/ui/sidebar\"\n\nexport const DashboardLayout = ({ children }: { children: React.ReactNode }) => {\n  return (\n    <SidebarProvider className=\"h-svh overflow-hidden\">\n      <AppSidebar />\n      <SidebarInset className=\"border overflow-hidden min-h-0 rounded-md!\">\n        {children}\n      </SidebarInset>\n    </SidebarProvider>\n  )\n}",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/dashboardLayout.tsx"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/data.ts",
      "content": "import {\n    IconAdjustmentsHorizontal,\n    IconCheckbox,\n    IconCirclePlus,\n    IconCoin,\n    IconCreditCard,\n    IconDeviceDesktop,\n    IconFileInvoice,\n    IconInbox,\n    IconLayoutDashboard,\n    IconLayoutGrid,\n    IconReceipt,\n    IconReport,\n    IconSun,\n    IconUserPlus,\n    IconUsers,\n} from \"@tabler/icons-react\"\n\nexport const data = {\n    user: {\n        name: \"Alex Smith\",\n        email: \"alex.smith@ams.co\",\n        avatar: \"/avatars/alex.jpg\",\n    },\n    teams: [\n        {\n            name: \"AMS LLC\",\n            logo: \"/logos/ams.png\",\n            plan: \"PRO\",\n        },\n    ],\n    navMain: [\n        {\n            title: \"Dashboard\",\n            url: \"/dashboard\",\n            icon: IconLayoutDashboard,\n            isActive: true,\n            isDisabled: true,\n        },\n        {\n            title: \"Inbox\",\n            url: \"#\",\n            icon: IconInbox,\n            badge: 1,\n            isDisabled: true,\n        },\n        {\n            title: \"Tasks\",\n            url: \"/dashboard/tasks\",\n            icon: IconCheckbox,\n            badge: 12,\n            isDisabled: true,\n        },\n        {\n            title: \"Customers\",\n            url: \"#\",\n            icon: IconUsers,\n            isDisabled: true,\n        },\n        {\n            title: \"More\",\n            url: \"#\",\n            icon: IconCirclePlus,\n            isDisabled: true,\n        },\n    ],\n    applications: [\n        {\n            title: \"Receipts\",\n            url: \"#\",\n            icon: IconReceipt,\n            isDisabled: true,\n        },\n        {\n            title: \"Invoices\",\n            url: \"#\",\n            icon: IconFileInvoice,\n            badge: 12,\n            isDisabled: true,\n        },\n        {\n            title: \"Reports\",\n            url: \"#\",\n            icon: IconReport,\n            isDisabled: true,\n        },\n        {\n            title: \"Payments\",\n            url: \"#\",\n            icon: IconCreditCard,\n            isDisabled: true,\n        },\n        {\n            title: \"Transactions\",\n            url: \"#\",\n            icon: IconCoin,\n            badge: 41,\n            isDisabled: true,\n        },\n        {\n            title: \"App & Plugins\",\n            url: \"#\",\n            icon: IconLayoutGrid,\n            isDisabled: true,\n        },\n    ],\n    navSecondary: [\n        {\n            title: \"Settings\",\n            url: \"#\",\n            icon: IconAdjustmentsHorizontal,\n            isDisabled: true,\n        },\n        {\n            title: \"Appearance\",\n            url: \"#\",\n            icon: IconDeviceDesktop,\n            rightIcon: IconSun,\n        },\n        {\n            title: \"Invite users\",\n            url: \"#\",\n            icon: IconUserPlus,\n            badge: 4,\n            isDisabled: true,\n        },\n    ],\n}\n\nexport interface Task {\n    id: string\n    title: string\n    subtasks?: number\n    category: string\n    date: string\n    status: 'todo' | 'doing' | 'done'\n    priority: 'low' | 'normal' | 'high' | 'urgent'\n    avatarGradient: string\n}\n\nexport interface Group {\n    id: string\n    name: string\n    count: number\n    color: string\n    tasks: Task[]\n}\n\nexport const amsGroups: Group[] = [\n    {\n        id: 'design',\n        name: 'DESIGN',\n        count: 14,\n        color: 'text-neutral-400',\n        tasks: [\n            { id: '1', title: 'Evaluate User Interface Layout', subtasks: 7, category: 'DESIGN', date: 'Mar 15', status: 'todo', priority: 'low', avatarGradient: 'from-blue-400 to-cyan-400' },\n            { id: '2', title: 'Assess Visual Design Elements', subtasks: 3, category: 'DESIGN', date: 'Apr 22', status: 'doing', priority: 'low', avatarGradient: 'from-orange-400 to-amber-400' },\n            { id: '3', title: 'Inspect Navigation Flow', subtasks: 1, category: 'DESIGN', date: 'Sep 30', status: 'done', priority: 'urgent', avatarGradient: 'from-purple-400 to-pink-400' },\n        ]\n    },\n    {\n        id: 'review',\n        name: 'REVIEW',\n        count: 49,\n        color: 'text-indigo-500',\n        tasks: [\n            { id: '4', title: 'Examine Typography Usage', subtasks: 5, category: 'REVIEW', date: 'Feb 5', status: 'todo', priority: 'normal', avatarGradient: 'from-teal-400 to-emerald-400' },\n            { id: '5', title: 'Critique Button Design', subtasks: 9, category: 'REVIEW', date: 'Jan 19', status: 'doing', priority: 'normal', avatarGradient: 'from-indigo-400 to-blue-400' },\n            { id: '6', title: 'Evaluate Iconography Consistency', subtasks: 4, category: 'REVIEW', date: 'Oct 27', status: 'doing', priority: 'high', avatarGradient: 'from-rose-400 to-pink-400' },\n            { id: '7', title: 'Assess User Feedback Mechanisms', subtasks: 11, category: 'REVIEW', date: 'Dec 14', status: 'done', priority: 'high', avatarGradient: 'from-emerald-400 to-cyan-400' },\n            { id: '8', title: 'Review Accessibility Features', subtasks: 2, category: 'REVIEW', date: 'May 3', status: 'done', priority: 'urgent', avatarGradient: 'from-fuchsia-400 to-pink-400' },\n        ]\n    },\n    {\n        id: 'analyze',\n        name: 'ANALYZE',\n        count: 80,\n        color: 'text-emerald-500',\n        tasks: [\n            { id: '9', title: 'Analyze User Journey Mapping', subtasks: 8, category: 'ANALYZE', date: 'Aug 21', status: 'todo', priority: 'normal', avatarGradient: 'from-blue-400 to-indigo-400' },\n            { id: '10', title: 'Inspect Responsive Design Adaptability', subtasks: 6, category: 'ANALYZE', date: 'Jun 11', status: 'doing', priority: 'normal', avatarGradient: 'from-orange-400 to-red-400' },\n            { id: '11', title: 'Evaluate Onboarding Experience', subtasks: 12, category: 'ANALYZE', date: 'Feb 29', status: 'doing', priority: 'high', avatarGradient: 'from-purple-400 to-pink-400' },\n            { id: '12', title: 'Performance Optimization Strategies', subtasks: 5, category: 'ANALYZE', date: 'Sep 10', status: 'doing', priority: 'normal', avatarGradient: 'from-emerald-400 to-teal-400' },\n            { id: '13', title: 'Analyze Interaction Patterns', subtasks: 10, category: 'ANALYZE', date: 'Jul 8', status: 'doing', priority: 'normal', avatarGradient: 'from-cyan-400 to-blue-400' },\n            { id: '14', title: 'Critique Error Messaging Design', subtasks: 3, category: 'ANALYZE', date: 'Mar 4', status: 'done', priority: 'urgent', avatarGradient: 'from-teal-400 to-emerald-400' },\n            { id: '15', title: 'Review Data Visualization Techniques', subtasks: 10, category: 'ANALYZE', date: 'Apr 18', status: 'done', priority: 'urgent', avatarGradient: 'from-orange-400 to-red-400' },\n            { id: '16', title: 'Review Color Scheme Choices', subtasks: 12, category: 'ANALYZE', date: 'Nov 12', status: 'done', priority: 'urgent', avatarGradient: 'from-cyan-400 to-blue-400' },\n        ]\n    }\n]\n\nexport const visualizeGroups: Group[] = [\n    {\n        id: 'review',\n        name: 'REVIEW',\n        count: 30,\n        color: 'text-neutral-400',\n        tasks: [\n            { id: 'v1', title: 'Analyze User Engagement Metrics', subtasks: 1, category: 'REVIEW', date: 'Jul 25', status: 'todo', priority: 'high', avatarGradient: 'from-blue-400 to-indigo-400' },\n            { id: 'v2', title: 'Performance Optimization Strategies', subtasks: 5, category: 'REVIEW', date: 'Sep 10', status: 'doing', priority: 'normal', avatarGradient: 'from-orange-400 to-red-400' },\n            { id: 'v3', title: 'Evaluate Cross-Platform Consistency', subtasks: 9, category: 'REVIEW', date: 'Nov 1', status: 'doing', priority: 'high', avatarGradient: 'from-purple-400 to-pink-400' },\n            { id: 'v4', title: 'Review User Testing Protocols', subtasks: 4, category: 'REVIEW', date: 'Jan 30', status: 'done', priority: 'high', avatarGradient: 'from-teal-400 to-emerald-400' },\n            { id: 'v5', title: 'Assess Feature Prioritization', subtasks: 11, category: 'REVIEW', date: 'Mar 22', status: 'done', priority: 'high', avatarGradient: 'from-rose-400 to-pink-400' },\n            { id: 'v6', title: 'Inspect User Satisfaction Surveys', subtasks: 3, category: 'REVIEW', date: 'Jun 28', status: 'done', priority: 'urgent', avatarGradient: 'from-emerald-400 to-cyan-400' },\n        ]\n    },\n    {\n        id: 'strategy',\n        name: 'STRATEGY',\n        count: 16,\n        color: 'text-rose-500',\n        tasks: [\n            { id: 's1', title: 'Inspect User Retention Strategies', subtasks: 2, category: 'STRATEGY', date: 'Apr 15', status: 'todo', priority: 'low', avatarGradient: 'from-pink-400 to-rose-400' },\n            { id: 's2', title: 'Evaluate Content Strategy', subtasks: 8, category: 'STRATEGY', date: 'Oct 5', status: 'doing', priority: 'normal', avatarGradient: 'from-cyan-400 to-blue-400' },\n            { id: 's3', title: 'Review Marketing Integration', subtasks: 6, category: 'STRATEGY', date: 'Dec 19', status: 'doing', priority: 'high', avatarGradient: 'from-purple-400 to-orange-400' },\n        ]\n    },\n    {\n        id: 'benchmark',\n        name: 'BENCHMARK',\n        count: 49,\n        color: 'text-blue-500',\n        tasks: [\n            { id: 'b1', title: 'Evaluate A/B Testing Results', subtasks: 10, category: 'BENCHMARK', date: 'Aug 13', status: 'todo', priority: 'low', avatarGradient: 'from-blue-400 to-indigo-400' },\n            { id: 'b2', title: 'Review User Persona Development', subtasks: 1, category: 'BENCHMARK', date: 'Sep 24', status: 'doing', priority: 'normal', avatarGradient: 'from-orange-400 to-red-400' },\n            { id: 'b3', title: 'Critique Button Design', subtasks: 9, category: 'BENCHMARK', date: 'Jan 19', status: 'doing', priority: 'urgent', avatarGradient: 'from-purple-400 to-pink-400' },\n            { id: 'b4', title: 'Assess Feature Roadmap', subtasks: 5, category: 'BENCHMARK', date: 'Feb 11', status: 'doing', priority: 'urgent', avatarGradient: 'from-emerald-400 to-teal-400' },\n            { id: 'b5', title: 'Analyze User Behavior Analytics', subtasks: 9, category: 'BENCHMARK', date: 'Mar 9', status: 'done', priority: 'urgent', avatarGradient: 'from-rose-400 to-orange-400' },\n            { id: 'b6', title: 'Evaluate Design System Guidelines', subtasks: 4, category: 'BENCHMARK', date: 'Apr 27', status: 'done', priority: 'urgent', avatarGradient: 'from-cyan-400 to-blue-400' },\n            { id: 'b7', title: 'Analyze Competitive Benchmarking', subtasks: 12, category: 'BENCHMARK', date: 'May 7', status: 'done', priority: 'urgent', avatarGradient: 'from-fuchsia-400 to-pink-400' },\n        ]\n    }\n]\n",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/data.ts"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/demo.tsx",
      "content": "\"use client\";\n\nimport { DashboardLayout } from \"./dashboardLayout\";\nimport TasksPageView from \"./tasksPageView\";\n\nexport default function TaskManagementDashboardDemo() {\n    return (\n        <DashboardLayout>\n            <TasksPageView />\n        </DashboardLayout>\n    );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/demo.tsx"
    },
    {
      "path": "src/components/dashboards/task-management-dashboard/tasksPageView.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n    IconPlus,\n    IconSearch,\n    IconLayoutGrid,\n    IconLayoutSidebar,\n    IconCalendarEvent,\n    IconDots,\n    IconClipboardCheck,\n    IconLock,\n    IconBell,\n    IconQuestionMark,\n    IconUpload,\n    IconList,\n    IconTable,\n    IconFolder,\n    IconTimeline,\n    IconAdjustmentsHorizontal,\n    IconSortAscending,\n    IconCirclePlus,\n    IconUserCircle,\n    IconCircleCheck,\n    IconWorld,\n    IconUsers,\n    IconCheck,\n    IconHash,\n    IconFlag,\n    IconGitBranch,\n    IconBrandVscode,\n    IconCircle,\n    IconCircleCheckFilled,\n    IconCircleDashed,\n    IconSun,\n    IconEye,\n    IconArrowsSort,\n    IconFlagFilled,\n    IconAlertTriangleFilled,\n} from \"@tabler/icons-react\"\nimport { Button } from \"@/components/ui/button\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n    Tabs,\n    TabsContent,\n    TabsList,\n    TabsTrigger,\n} from \"@/components/ui/tabs\"\nimport { SidebarTrigger, useSidebar } from \"@/components/ui/sidebar\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Card, CardContent, CardHeader } from \"@/components/ui/card\"\nimport { cn } from \"@/lib/utils\"\nimport { Separator } from \"@/components/ui/separator\"\nimport {\n    Dialog,\n    DialogContent,\n    DialogDescription,\n    DialogFooter,\n    DialogHeader,\n    DialogTitle,\n    DialogTrigger,\n} from \"@/components/ui/dialog\"\nimport {\n    DropdownMenu,\n    DropdownMenuContent,\n    DropdownMenuItem,\n    DropdownMenuLabel,\n    DropdownMenuSeparator,\n    DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n} from \"@/components/ui/popover\"\nimport { Label } from \"@/components/ui/label\"\nimport { Textarea } from \"@/components/ui/textarea\"\nimport { amsGroups, visualizeGroups, type Task, type Group } from \"./data\"\n\nfunction ProjectCard({ title, logo, count, groups, isPrivate }: { title: string, logo: React.ReactNode, count: number, groups: Group[], isPrivate?: boolean }) {\n    return (\n        <Card className=\"flex flex-col gap-0 dark:border-neutral-800/60 bg-white dark:bg-neutral-900 shadow-none overflow-hidden rounded-lg p-0 transition-all duration-300 hover:-translate-y-1 hover:shadow-lg dark:hover:shadow-neutral-900/40\">\n            <CardHeader className=\"flex flex-row items-center justify-between px-4 py-3! border-b dark:border-neutral-800/50\">\n                <div className=\"flex items-center gap-2.5\">\n                    {logo}\n                    <h3 className=\"font-semibold text-[15px] tracking-tight text-neutral-900 dark:text-neutral-100\">{title}</h3>\n                    <div className=\"flex items-center gap-1.5 ml-1\">\n                        <IconWorld className=\"size-3.5 text-neutral-500\" />\n                        {isPrivate && <IconLock className=\"size-3.5 text-neutral-500\" />}\n                        <Badge variant=\"secondary\" className=\"bg-neutral-100 dark:bg-neutral-800 text-neutral-500 dark:text-neutral-400 px-1 text-[10px] h-4 leading-none font-medium ml-1 rounded\">\n                            {count}\n                        </Badge>\n                    </div>\n                </div>\n                <div className=\"flex items-center gap-1 text-neutral-500\">\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button variant=\"ghost\" size=\"icon\" className=\"size-8 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md\">\n                                <IconArrowsSort className=\"size-4 text-neutral-500\" />\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\">\n                            <DropdownMenuItem>Sort by Date</DropdownMenuItem>\n                            <DropdownMenuItem>Sort by Priority</DropdownMenuItem>\n                            <DropdownMenuItem>Sort by Assignee</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button variant=\"ghost\" size=\"icon\" className=\"size-8 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md\">\n                                <IconUserCircle className=\"size-4.5 text-neutral-500\" />\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\">\n                            <DropdownMenuItem>View all members</DropdownMenuItem>\n                            <DropdownMenuItem>Invite member</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button variant=\"ghost\" size=\"icon\" className=\"size-8 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md\">\n                                <IconDots className=\"size-4\" />\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\">\n                            <DropdownMenuLabel>Project Actions</DropdownMenuLabel>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem>Project Settings</DropdownMenuItem>\n                            <DropdownMenuItem>Manage Members</DropdownMenuItem>\n                            <DropdownMenuItem>Export Data</DropdownMenuItem>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem className=\"text-red-500\">Archive Project</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                </div>\n            </CardHeader>\n            <CardContent className=\"p-0 gap-0\">\n                {/* Filter Bar */}\n                <div className=\"flex items-center gap-2 px-4 py-2 border-b border-neutral-200 dark:border-neutral-800/50 overflow-x-auto scrollbar-hide\">\n                    <div className=\"size-6 rounded-full bg-neutral-500/10 dark:bg-neutral-800 flex items-center justify-center text-neutral-500 shrink-0\">\n                        <IconCheck className=\"size-3.5\" />\n                    </div>\n                    <Badge variant=\"secondary\" className=\"bg-neutral-500/10 dark:bg-neutral-800 text-neutral-800 dark:text-neutral-200 px-2.5 text-xs rounded-full flex items-center gap-1 h-6 shrink-0 border border-neutral-200 dark:border-neutral-700\">\n                        <IconHash className=\"size-4\" strokeWidth={2.5} />\n                        Label\n                    </Badge>\n                    <FilterPill icon={<IconUsers className=\"size-3\" />} label=\"Assignee\" />\n                    <FilterPill icon={<IconCircle className=\"size-3.5\" />} label=\"Status\" />\n                    <FilterPill icon={<IconGitBranch className=\"size-3.5\" />} label=\"Parent\" />\n                    <FilterPill icon={<IconFlag className=\"size-3.5\" />} label=\"Priority\" />\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <button className=\"flex items-center px-1 size-6 justify-center border border-neutral-200 dark:border-neutral-800 rounded-full hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-colors\">\n                                <IconDots className=\"size-3 text-neutral-500\" />\n                            </button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\">\n                            <DropdownMenuItem>Save Filter</DropdownMenuItem>\n                            <DropdownMenuItem>Clear All</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                </div>\n\n                {/* Groups */}\n                <div className=\"flex flex-col dark:bg-neutral-900\">\n                    {groups.map((group) => (\n                        <div key={group.id} className=\"px-4 pt-2 pb-4 border-b last:border-b-0\">\n                            <div className=\"flex flex-col mt-7 first:mt-2\">\n                                <div className=\"flex items-center justify-between px-1 mb-2\">\n                                    <div className=\"flex items-center gap-2 pt-1 pb-2\">\n                                        <IconHash className={cn(\"size-4 font-bold opacity-70\", group.color)} />\n                                        <span className={cn(\"text-xs font-medium uppercase text-neutral-600 dark:text-neutral-400\")}>{group.name}</span>\n                                        <Badge variant=\"secondary\" className=\"bg-neutral-100 dark:bg-neutral-800 text-neutral-500 dark:text-neutral-400 px-1 text-[10px] h-4 leading-none font-medium ml-1 rounded\">\n                                            {group.count}\n                                        </Badge>\n                                    </div>\n                                    <div className=\"flex items-center gap-1\">\n                                        <DropdownMenu>\n                                            <DropdownMenuTrigger asChild>\n                                                <button className=\"p-1.5 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md transition-colors\">\n                                                    <IconEye className=\"size-4 text-neutral-500\" />\n                                                </button>\n                                            </DropdownMenuTrigger>\n                                            <DropdownMenuContent align=\"end\">\n                                                <DropdownMenuItem>Show Completed</DropdownMenuItem>\n                                                <DropdownMenuItem>Compact View</DropdownMenuItem>\n                                            </DropdownMenuContent>\n                                        </DropdownMenu>\n                                        <DropdownMenu>\n                                            <DropdownMenuTrigger asChild>\n                                                <button className=\"p-1.5 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md transition-colors\">\n                                                    <IconArrowsSort className=\"size-4 text-neutral-500\" />\n                                                </button>\n                                            </DropdownMenuTrigger>\n                                            <DropdownMenuContent align=\"end\">\n                                                <DropdownMenuItem>Sort Alphabetically</DropdownMenuItem>\n                                                <DropdownMenuItem>Sort by Status</DropdownMenuItem>\n                                            </DropdownMenuContent>\n                                        </DropdownMenu>\n                                        <DropdownMenu>\n                                            <DropdownMenuTrigger asChild>\n                                                <button className=\"p-1.5 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md transition-colors\">\n                                                    <IconDots className=\"size-4 text-neutral-500\" />\n                                                </button>\n                                            </DropdownMenuTrigger>\n                                            <DropdownMenuContent align=\"end\">\n                                                <DropdownMenuItem>Rename Group</DropdownMenuItem>\n                                                <DropdownMenuItem>Change Color</DropdownMenuItem>\n                                                <DropdownMenuItem>Hide Group</DropdownMenuItem>\n                                                <DropdownMenuSeparator />\n                                                <DropdownMenuItem className=\"text-red-500\">Delete Group</DropdownMenuItem>\n                                            </DropdownMenuContent>\n                                        </DropdownMenu>\n                                    </div>\n                                </div>\n                                <div className=\"flex flex-col gap-2.5\">\n                                    {group.tasks.map((task) => (\n                                        <TaskItem key={task.id} task={task} />\n                                    ))}\n                                </div>\n                            </div>\n                        </div>\n                    ))}\n                </div>\n            </CardContent>\n        </Card>\n    )\n}\n\nfunction FilterPill({ icon, label }: { icon: React.ReactNode, label: string }) {\n    return (\n        <div className=\"flex items-center gap-1 h-6 px-2 rounded-full border border-neutral-200 dark:border-neutral-800 text-[11px] text-neutral-600 dark:text-neutral-400 hover:bg-neutral-50 dark:hover:bg-neutral-800 transition-all active:scale-95 cursor-pointer shrink-0 font-medium whitespace-nowrap\">\n            {icon}\n            {label}\n        </div>\n    )\n}\n\nfunction TaskItem({ task }: { task: Task }) {\n    const statusIcons = {\n        todo: <IconCircleDashed className=\"size-5 text-neutral-400\" />,\n        doing: <IconSun className=\"size-5 text-orange-600 fill-orange-600\" />,\n        done: <IconCircleCheckFilled className=\"size-5 text-emerald-600\" />,\n    }\n\n    const priorityIcons = {\n        low: <IconFlagFilled className=\"size-[18px] text-neutral-300\" />,\n        normal: <IconFlagFilled className=\"size-[18px] text-blue-500 fill-blue-500\" />,\n        high: <IconFlagFilled className=\"size-[18px] text-orange-500 fill-orange-500\" />,\n        urgent: <IconAlertTriangleFilled className=\"size-[18px] text-rose-500 fill-rose-500 \" />,\n    }\n\n    return (\n        <div className=\"flex items-center gap-3 p-1.5 rounded-full bg-white dark:bg-neutral-800/20 border dark:border-neutral-700/40 shadow-[0_1px_2px_rgba(0,0,0,0.02)] hover:shadow-[0_4px_12px_rgba(0,0,0,0.05)] hover:border-neutral-200 dark:hover:border-neutral-700 transition-all duration-200 cursor-pointer group active:scale-[0.985]\">\n            <div className=\"flex items-center gap-2.5 shrink-0 px-0.5\">\n                {statusIcons[task.status]}\n                {priorityIcons[task.priority]}\n            </div>\n\n            <div className=\"flex-1 min-w-0 flex  gap-3\">\n                <span className=\"text-[13px] tracking-tight font-semibold text-neutral-800 dark:text-neutral-200 truncate block transition-colors group-hover:text-black dark:group-hover:text-white\">\n                    {task.title}\n                </span>\n                {task.subtasks && (\n                    <div className=\"flex items-center gap-1 text-[11px] text-neutral-400 dark:text-neutral-500 font-medium tabular-nums\">\n                        <IconGitBranch className=\"size-3 -rotate-45 \" />\n                        {task.subtasks}\n                    </div>\n                )}\n            </div>\n\n            <div className=\"flex items-center gap-2 shrink-0\">\n                <Badge variant=\"outline\" className=\"text-[9px] h-4.5 uppercase rounded-full border dark:border-neutral-800 text-neutral-500 bg-neutral-50/50 dark:bg-neutral-900 shadow-none max-md:hidden\">\n                    # {task.category}\n                </Badge>\n\n                <span className=\"text-[12px] text-neutral-500 font-medium w-fit min-w-[44px] whitespace-nowrap shrink-0 text-right tabular-nums tracking-tight hidden sm:block\">{task.date}</span>\n\n                <div className={cn(\"size-5 rounded-full bg-linear-to-br shadow-[0_2px_4px_rgba(0,0,0,0.1)] ring-1 ring-white/10\", task.avatarGradient)} />\n            </div>\n        </div>\n    )\n}\n\nexport default function TasksPageView() {\n    const { state, isMobile } = useSidebar()\n    return (\n        <div className=\"flex flex-col h-full bg-neutral-50/50 dark:bg-neutral-950/50 rounded-xl overflow-hidden min-h-0\">\n            {/* Header */}\n            <header className=\"flex h-12 shrink-0 items-center justify-between px-4 border-b bg-background rounded-t-xl\">\n                <div className=\"flex items-center gap-2\">\n                    {(state === \"collapsed\" || isMobile) &&\n                        <>\n                            <SidebarTrigger />\n                            <Separator orientation=\"vertical\" className=\"data-[orientation=vertical]:h-5 mx-1\" />\n                        </>\n                    }\n                    <div className=\"flex items-center gap-2.5\">\n                        <IconClipboardCheck className=\"size-4.5 text-neutral-500\" />\n                        <div className=\"flex items-center gap-1.5 text-[14px]\">\n                            <span className=\"font-medium text-neutral-900 dark:text-neutral-100\">Tasks</span>\n                            <span className=\"text-neutral-400 font-light\">/</span>\n                            <span className=\"text-neutral-500\">Overview</span>\n                        </div>\n                        <DropdownMenu>\n                            <DropdownMenuTrigger asChild>\n                                <button className=\"ml-1 p-1 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded transition-colors group\">\n                                    <IconDots className=\"size-3.5 text-neutral-400 group-hover:text-neutral-600 dark:group-hover:text-neutral-300\" />\n                                </button>\n                            </DropdownMenuTrigger>\n                            <DropdownMenuContent align=\"start\">\n                                <DropdownMenuLabel>Page Settings</DropdownMenuLabel>\n                                <DropdownMenuSeparator />\n                                <DropdownMenuItem>Layout Settings</DropdownMenuItem>\n                                <DropdownMenuItem>Customize View</DropdownMenuItem>\n                                <DropdownMenuItem>Export View</DropdownMenuItem>\n                            </DropdownMenuContent>\n                        </DropdownMenu>\n                        <IconLock className=\"size-3.5 text-neutral-400 hover:text-neutral-600 cursor-pointer transition-colors\" />\n                    </div>\n                </div>\n\n\n                {/* Search Bar */}\n                <div className=\"flex items-center gap-1.5\">\n                    {/* Avatar Stack */}\n                    <div className=\"hidden sm:flex items-center -space-x-2 mr-2\">\n                        {[\n                            \"from-indigo-500 to-purple-500\",\n                            \"from-rose-400 to-orange-400\",\n                            \"from-emerald-400 to-cyan-400\",\n                            \"from-blue-500 to-teal-400\",\n                            \"from-amber-400 to-red-500\",\n                            \"from-fuchsia-500 to-pink-500\",\n                        ].map((gradient, i) => (\n                            <div key={i} className={cn(\"rounded-full ring-2 ring-background overflow-hidden size-5 bg-linear-to-tr shadow-sm\", gradient)} />\n                        ))}\n                    </div>\n                    <div className=\"relative group hidden md:block\">\n                        <IconSearch className=\"absolute left-2.5 top-1/2 -translate-y-1/2 size-3.5 text-neutral-400 group-focus-within:text-neutral-500 transition-colors\" />\n                        <Input\n                            placeholder=\"Search...\"\n                            className=\"h-8 w-8 sm:w-56 pl-8 pr-2 sm:pr-12 bg-neutral-100/50 dark:bg-neutral-900/50 focus-visible:bg-background focus-visible:ring-1 focus-visible:border-neutral-200 transition-all hover:border-neutral-300 dark:hover:border-neutral-700 rounded-md text-xs border-neutral-200 dark:border-neutral-800 shadow-none placeholder:text-neutral-400 font-medium\"\n                        />\n                        <kbd className=\"absolute right-1.5 top-1/2 -translate-y-1/2 hidden md:flex h-5 items-center justify-center gap-1 rounded-[4px] border border-neutral-200 bg-white px-1.5 text-[10px] font-medium text-neutral-500 opacity-100 pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 select-none\">\n                            <span className=\"text-[12px] h-3.5 flex items-center\">⌘</span>\n                            <span className=\"h-3.5 flex items-center\">K</span>\n                        </kbd>\n                    </div>\n                    <Popover>\n                        <PopoverTrigger asChild>\n                            <Button variant=\"outline\" size=\"icon\" className=\"size-8 hidden xs:flex items-center justify-center hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 transition-all active:scale-95\">\n                                <IconBell className=\"size-4\" />\n                            </Button>\n                        </PopoverTrigger>\n                        <PopoverContent align=\"end\" className=\"w-80 p-0\">\n                            <div className=\"flex items-center justify-between border-b px-4 py-3\">\n                                <span className=\"font-semibold text-sm\">Notifications</span>\n                                <span className=\"text-xs text-indigo-600 dark:text-indigo-400 cursor-pointer hover:underline font-medium\">Mark all as read</span>\n                            </div>\n                            <div className=\"flex flex-col items-center justify-center py-8 text-center text-sm text-neutral-500\">\n                                <IconBell className=\"size-8 text-neutral-300 dark:text-neutral-700 mb-2\" strokeWidth={1.5} />\n                                No new notifications\n                            </div>\n                        </PopoverContent>\n                    </Popover>\n                    <DropdownMenu>\n                        <DropdownMenuTrigger asChild>\n                            <Button variant=\"outline\" size=\"icon\" className=\"size-8 hidden sm:flex items-center justify-center hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 transition-all active:scale-95\">\n                                <IconQuestionMark className=\"size-4\" />\n                            </Button>\n                        </DropdownMenuTrigger>\n                        <DropdownMenuContent align=\"end\" className=\"w-48\">\n                            <DropdownMenuItem>Help Center</DropdownMenuItem>\n                            <DropdownMenuItem>Keyboard Shortcuts</DropdownMenuItem>\n                            <DropdownMenuSeparator />\n                            <DropdownMenuItem>Give Feedback</DropdownMenuItem>\n                        </DropdownMenuContent>\n                    </DropdownMenu>\n                    <Dialog>\n                        <DialogTrigger asChild>\n                            <Button variant=\"outline\" className=\"h-8 px-3 gap-1.5 hidden md:flex items-center justify-center hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-md shadow-none font-medium text-xs tracking-tight border-neutral-200 dark:border-neutral-800 transition-all active:scale-95\">\n                                <IconUpload className=\"size-3.5\" />\n                                <span>Share</span>\n                            </Button>\n                        </DialogTrigger>\n                        <DialogContent>\n                            <DialogHeader>\n                                <DialogTitle>Share Dashboard</DialogTitle>\n                                <DialogDescription>Anyone with the link can view this dashboard.</DialogDescription>\n                            </DialogHeader>\n                            <div className=\"flex gap-2 mt-2\">\n                                <Input value=\"https://watermelon.co/d/tasks\" readOnly />\n                                <Button className=\"shrink-0 bg-indigo-600 hover:bg-indigo-700 text-white dark:bg-indigo-500 dark:hover:bg-indigo-600\">Copy Link</Button>\n                            </div>\n                        </DialogContent>\n                    </Dialog>\n                </div>\n            </header>\n\n            {/* Toolbar */}\n            <Tabs defaultValue=\"overview\" className=\"flex-1 flex flex-col min-h-0 gap-0\">\n                <div className=\"flex h-12 shrink-0 items-stretch justify-between px-4 border-b bg-background overflow-x-auto overflow-y-hidden scrollbar-hide\">\n                    <div className=\"flex gap-4 shrink-0\">\n                        <TabsList className=\"bg-transparent gap-3 h-12! p-0\">\n                            {[\n                                { value: \"overview\", label: \"Overview\", icon: IconLayoutGrid },\n                                { value: \"kanban\", label: \"Kanban\", icon: IconLayoutSidebar },\n                                { value: \"list\", label: \"List\", icon: IconList },\n                                { value: \"calendar\", label: \"Calendar\", icon: IconCalendarEvent },\n                                { value: \"table\", label: \"Table\", icon: IconTable },\n                                { value: \"folders\", label: \"Folders\", icon: IconFolder },\n                                { value: \"timeline\", label: \"Timeline\", icon: IconTimeline },\n                            ].map((tab) => (\n                                <TabsTrigger\n                                    key={tab.value}\n                                    value={tab.value}\n                                    disabled={tab.value !== \"overview\"}\n                                    className=\"relative gap-1.5 px-1 py-0 bg-transparent shadow-none! data-[state=active]:bg-transparent dark:data-[state=active]:bg-transparent! data-[state=active]:shadow-none! rounded-none text-neutral-500 data-[state=active]:text-neutral-900 dark:data-[state=active]:text-neutral-100 border-x-0 border-t-0 border-b-0 data-[state=active]:border-b-[1.5px]! data-[state=active]:border-neutral-900 dark:data-[state=active]:border-neutral-100 data-[state=active]:-mb-px data-[state=active]:z-10 font-medium text-[13px] transition-all active:scale-95 group items-center flex tracking-tight shrink-0 whitespace-nowrap\"\n                                >\n                                    <tab.icon className=\"size-4\" />\n                                    {tab.label}\n                                </TabsTrigger>\n                            ))}\n                        </TabsList>\n\n                        <div className=\"flex items-center\">\n                            <DropdownMenu>\n                                <DropdownMenuTrigger asChild>\n                                    <Button variant=\"outline\" className=\"h-8 gap-1 text-neutral-400 hover:text-neutral-600 dark:hover:text-neutral-300 hover:bg-neutral-100/50 dark:hover:bg-neutral-800/50 rounded-md text-[12px] shadow-none font-medium shrink-0 dark:border-neutral-800 transition-all active:scale-95\">\n                                        <IconPlus className=\"size-3\" />\n                                        <span className=\"max-md:hidden\">Add View</span>\n                                    </Button>\n                                </DropdownMenuTrigger>\n                                <DropdownMenuContent align=\"start\">\n                                    <DropdownMenuItem className=\"gap-2\">\n                                        <IconLayoutGrid className=\"size-4\" /> Board\n                                    </DropdownMenuItem>\n                                    <DropdownMenuItem className=\"gap-2\">\n                                        <IconList className=\"size-4\" /> List\n                                    </DropdownMenuItem>\n                                    <DropdownMenuItem className=\"gap-2\">\n                                        <IconTable className=\"size-4\" /> Table\n                                    </DropdownMenuItem>\n                                    <DropdownMenuItem className=\"gap-2\">\n                                        <IconCalendarEvent className=\"size-4\" /> Calendar\n                                    </DropdownMenuItem>\n                                </DropdownMenuContent>\n                            </DropdownMenu>\n                        </div>\n                    </div>\n\n                    <div className=\"flex items-center gap-1.5 ml-4 shrink-0\">\n                        <div className=\"hidden sm:flex items-center gap-1\">\n                            <DropdownMenu>\n                                <DropdownMenuTrigger asChild>\n                                    <Button variant=\"outline\" size=\"icon\" className=\"size-8 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 text-neutral-500 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-all active:scale-95\">\n                                        <IconLayoutGrid className=\"size-4\" />\n                                    </Button>\n                                </DropdownMenuTrigger>\n                                <DropdownMenuContent align=\"end\">\n                                    <DropdownMenuLabel>Group By</DropdownMenuLabel>\n                                    <DropdownMenuSeparator />\n                                    <DropdownMenuItem>Status</DropdownMenuItem>\n                                    <DropdownMenuItem>Assignee</DropdownMenuItem>\n                                    <DropdownMenuItem>Priority</DropdownMenuItem>\n                                </DropdownMenuContent>\n                            </DropdownMenu>\n                            <DropdownMenu>\n                                <DropdownMenuTrigger asChild>\n                                    <Button variant=\"outline\" size=\"icon\" className=\"size-8 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 text-neutral-500 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-all active:scale-95\">\n                                        <IconUserCircle className=\"size-4.5\" />\n                                    </Button>\n                                </DropdownMenuTrigger>\n                                <DropdownMenuContent align=\"end\">\n                                    <DropdownMenuLabel>Quick Assign</DropdownMenuLabel>\n                                    <DropdownMenuSeparator />\n                                    <DropdownMenuItem>Me</DropdownMenuItem>\n                                    <DropdownMenuItem>Team</DropdownMenuItem>\n                                </DropdownMenuContent>\n                            </DropdownMenu>\n                            <DropdownMenu>\n                                <DropdownMenuTrigger asChild>\n                                    <Button variant=\"outline\" size=\"icon\" className=\"size-8 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 text-neutral-500 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 transition-all active:scale-95\">\n                                        <IconCircleCheck className=\"size-4\" />\n                                    </Button>\n                                </DropdownMenuTrigger>\n                                <DropdownMenuContent align=\"end\">\n                                    <DropdownMenuItem>Mark Visible as Done</DropdownMenuItem>\n                                    <DropdownMenuItem>Clear Completed</DropdownMenuItem>\n                                </DropdownMenuContent>\n                            </DropdownMenu>\n                        </div>\n\n                        <div className=\"flex items-center gap-1.5 font-medium\">\n                            <Popover>\n                                <PopoverTrigger asChild>\n                                    <Button variant=\"outline\" className=\"h-8 gap-2 px-3 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 text-xs font-medium transition-all active:scale-95\">\n                                        <IconAdjustmentsHorizontal className=\"size-4\" />\n                                        <span className=\"hidden xs:inline\">Filter (3)</span>\n                                    </Button>\n                                </PopoverTrigger>\n                                <PopoverContent className=\"w-80\" align=\"end\">\n                                    <div className=\"grid gap-4\">\n                                        <div className=\"space-y-2\">\n                                            <h4 className=\"font-medium leading-none\">Filters</h4>\n                                            <p className=\"text-sm text-muted-foreground\">\n                                                Advanced task filtering options.\n                                            </p>\n                                        </div>\n                                        <div className=\"grid gap-2\">\n                                            <div className=\"flex items-center justify-between text-xs\">\n                                                <span className=\"text-neutral-500\">Status</span>\n                                                <span className=\"text-indigo-600 font-medium cursor-pointer\">Clear</span>\n                                            </div>\n                                            <div className=\"flex flex-wrap gap-1.5\">\n                                                <Badge className=\"rounded-full bg-indigo-50 text-indigo-700 hover:bg-indigo-100 border-indigo-200 cursor-pointer\">To Do</Badge>\n                                                <Badge variant=\"outline\" className=\"rounded-full cursor-pointer hover:bg-neutral-50\">In Progress</Badge>\n                                                <Badge variant=\"outline\" className=\"rounded-full cursor-pointer hover:bg-neutral-50\">Done</Badge>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </PopoverContent>\n                            </Popover>\n\n                            <Popover>\n                                <PopoverTrigger asChild>\n                                    <Button variant=\"outline\" className=\"h-8 gap-2 px-3 rounded-md shadow-none border-neutral-200 dark:border-neutral-800 text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 hover:bg-neutral-100 dark:hover:bg-neutral-800 text-xs font-medium transition-all active:scale-95\">\n                                        <IconSortAscending className=\"size-4\" />\n                                        <span className=\"hidden xs:inline\">Sort</span>\n                                    </Button>\n                                </PopoverTrigger>\n                                <PopoverContent className=\"w-56\" align=\"end\">\n                                    <div className=\"space-y-1.5\">\n                                        <DropdownMenuLabel className=\"px-1 text-xs text-neutral-500 uppercase\">Sort By</DropdownMenuLabel>\n                                        <div className=\"flex flex-col gap-0.5\">\n                                            <button className=\"flex items-center gap-2 px-2 py-1.5 text-xs rounded-md hover:bg-neutral-100 dark:hover:bg-neutral-800 w-full text-left transition-colors\">\n                                                <IconCalendarEvent className=\"size-3.5\" /> Due Date\n                                            </button>\n                                            <button className=\"flex items-center gap-2 px-2 py-1.5 text-xs rounded-md hover:bg-neutral-100 dark:hover:bg-neutral-800 w-full text-left transition-colors\">\n                                                <IconAlertTriangleFilled className=\"size-3.5\" /> Priority\n                                            </button>\n                                            <button className=\"flex items-center gap-2 px-2 py-1.5 text-xs rounded-md hover:bg-neutral-100 dark:hover:bg-neutral-800 w-full text-left transition-colors font-medium text-indigo-600 bg-indigo-50 dark:bg-indigo-900/20\">\n                                                <IconSortAscending className=\"size-3.5\" /> Alphabetical\n                                            </button>\n                                        </div>\n                                    </div>\n                                </PopoverContent>\n                            </Popover>\n                            <Dialog>\n                                <DialogTrigger asChild>\n                                    <Button className=\"h-8 gap-2 px-3 rounded-md shadow-xs bg-indigo-600 hover:bg-indigo-700 dark:bg-indigo-500 dark:hover:bg-indigo-600 text-white text-xs font-medium border-none shrink-0 ml-1 transition-all active:scale-95\">\n                                        <IconCirclePlus className=\"size-4\" />\n                                        <span className=\"hidden xs:inline\">Add Task</span>\n                                    </Button>\n                                </DialogTrigger>\n                                <DialogContent className=\"sm:max-w-[425px]\">\n                                    <DialogHeader>\n                                        <DialogTitle>Create New Task</DialogTitle>\n                                        <DialogDescription>\n                                            Add a new task to your project. Click save when you're done.\n                                        </DialogDescription>\n                                    </DialogHeader>\n                                    <div className=\"grid gap-4 py-4\">\n                                        <div className=\"grid gap-2\">\n                                            <Label htmlFor=\"task-name\">Task Name</Label>\n                                            <Input id=\"task-name\" placeholder=\"Enter task name...\" />\n                                        </div>\n                                        <div className=\"grid gap-2\">\n                                            <Label htmlFor=\"task-description\">Description</Label>\n                                            <Textarea id=\"task-description\" placeholder=\"Add more details...\" />\n                                        </div>\n                                        <div className=\"grid grid-cols-2 gap-4\">\n                                            <div className=\"grid gap-2\">\n                                                <Label htmlFor=\"priority\">Priority</Label>\n                                                <select id=\"priority\" className=\"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 dark:bg-neutral-900\">\n                                                    <option>Low</option>\n                                                    <option>Normal</option>\n                                                    <option>High</option>\n                                                    <option>Urgent</option>\n                                                </select>\n                                            </div>\n                                            <div className=\"grid gap-2\">\n                                                <Label htmlFor=\"status\">Status</Label>\n                                                <select id=\"status\" className=\"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 dark:bg-neutral-900\">\n                                                    <option>To Do</option>\n                                                    <option>In Progress</option>\n                                                    <option>Done</option>\n                                                </select>\n                                            </div>\n                                        </div>\n                                    </div>\n                                    <DialogFooter>\n                                        <Button type=\"submit\" className=\"bg-indigo-600 hover:bg-indigo-700 text-white\">Save Task</Button>\n                                    </DialogFooter>\n                                </DialogContent>\n                            </Dialog>\n                        </div>\n                    </div>\n                </div>\n\n                <TabsContent value=\"overview\" className=\"flex-1 overflow-auto scrollbar-hide p-4 m-0 bg-neutral-50/50 dark:bg-neutral-950/50\">\n                    <div className=\"grid grid-cols-1 xl:grid-cols-2 gap-6 max-w-[1600px] mx-auto\">\n                        {/* AMS Project Card */}\n                        <ProjectCard\n                            title=\"AMS Project\"\n                            logo={<div className=\"size-6 rounded bg-linear-to-br from-rose-500 via-orange-400 to-indigo-500 flex items-center justify-center text-white shadow-sm\" />}\n                            count={122}\n                            groups={amsGroups}\n                        />\n\n                        {/* Visualize.co Card */}\n                        <ProjectCard\n                            title=\"Visualize.co™\"\n                            logo={<div className=\"size-6 rounded bg-linear-to-br from-blue-400 to-indigo-600 flex items-center justify-center text-white\"><IconBrandVscode className=\"size-4\" /></div>}\n                            count={97}\n                            isPrivate={true}\n                            groups={visualizeGroups}\n                        />\n                    </div>\n                </TabsContent>\n            </Tabs>\n        </div>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/task-management-dashboard/tasksPageView.tsx"
    }
  ],
  "type": "registry:block"
}
