diff --git a/ee/tabby-ui/app/(home)/page.tsx b/ee/tabby-ui/app/(home)/page.tsx index 19ea1c57541e..6aaf0d2d7d65 100644 --- a/ee/tabby-ui/app/(home)/page.tsx +++ b/ee/tabby-ui/app/(home)/page.tsx @@ -1,6 +1,7 @@ 'use client' import { useState } from 'react' +import Link from 'next/link' import { useRouter } from 'next/navigation' import { noop } from 'lodash-es' @@ -17,14 +18,21 @@ import { IconChat, IconCode, IconGear, + IconJetBrains, IconLogout, IconMail, IconRotate, - IconSpinner + IconSpinner, + IconVSCode } from '@/components/ui/icons' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { Separator } from '@/components/ui/separator' +import { + Tooltip, + TooltipContent, + TooltipTrigger +} from '@/components/ui/tooltip' import { CopyButton } from '@/components/copy-button' import SlackDialog from '@/components/slack-dialog' import { ThemeToggle } from '@/components/theme-toggle' @@ -100,10 +108,50 @@ function Configuration({ className }: { className?: string }) { for details + +
+ } + /> + } + /> +
) } +function IDELink({ + href, + name, + icon +}: { + href: string + name: string + icon: React.ReactNode +}) { + return ( + + + + {icon} + + + +

{name}

+
+
+ ) +} + function MainPanel() { const { data: healthInfo } = useHealth() const [{ data }] = useMe() diff --git a/ee/tabby-ui/components/ui/icons.tsx b/ee/tabby-ui/components/ui/icons.tsx index 28dfb7da1336..fe43d205bfe0 100644 --- a/ee/tabby-ui/components/ui/icons.tsx +++ b/ee/tabby-ui/components/ui/icons.tsx @@ -1414,6 +1414,42 @@ const IconGitFork = ({ ) +function IconVSCode({ className, ...props }: React.ComponentProps<'svg'>) { + return ( + + + + ) +} + +function IconJetBrains({ className, ...props }: React.ComponentProps<'svg'>) { + return ( + + + + + + ) +} + export { IconEdit, IconNextChat, @@ -1487,5 +1523,7 @@ export { IconMail, IconChevronsDownUp, IconStar, - IconGitFork + IconGitFork, + IconVSCode, + IconJetBrains }