File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
tools/server/webui/src/lib/components/app Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1010 let { keys, variant = ' default' , class : className = ' ' }: Props = $props ();
1111
1212 let baseClasses =
13- ' px-1 pointer-events-none inline-flex select-none items-center gap-0.5 font-mono text-md font-medium opacity-0 transition-opacity' ;
13+ ' px-1 pointer-events-none inline-flex select-none items-center gap-0.5 font-sans text-md font-medium opacity-0 transition-opacity -my-1 ' ;
1414 let variantClasses = variant === ' destructive' ? ' text-destructive' : ' text-muted-foreground' ;
1515 </script >
1616
1717<kbd class =" {baseClasses } {variantClasses } {className }" >
1818 {#each keys as key , index }
1919 {#if key === ' shift' }
20- <ArrowBigUp class ="h-2 w-2 {variant === ' destructive' ? ' text-destructive' : ' ' } -mr-1" />
20+ <ArrowBigUp class ="h-1 w-1 {variant === ' destructive' ? ' text-destructive' : ' ' } -mr-1" />
2121 {:else if key === ' cmd' }
22- <span class ="text-lg {variant === ' destructive' ? ' text-destructive' : ' ' }" >⌘</span >
22+ <span class =" {variant === ' destructive' ? ' text-destructive' : ' ' }" >⌘</span >
2323 {:else }
2424 {key .toUpperCase ()}
2525 {/if }
Original file line number Diff line number Diff line change 22 import { Button } from ' $lib/components/ui/button' ;
33 import { Input } from ' $lib/components/ui/input' ;
44 import { Search , SquarePen , X } from ' @lucide/svelte' ;
5- import KeyboardShortcutInfo from ' $lib/components/ui/KeyboardShortcutInfo.svelte ' ;
5+ import { KeyboardShortcutInfo } from ' $lib/components/app ' ;
66
77 interface Props {
88 handleMobileSidebarItemClick: () => void ;
Original file line number Diff line number Diff line change 33 import * as DropdownMenu from ' $lib/components/ui/dropdown-menu' ;
44 import Input from ' $lib/components/ui/input/input.svelte' ;
55 import { Trash2 , Pencil , MoreHorizontal } from ' @lucide/svelte' ;
6- import KeyboardShortcutInfo from ' $lib/components/ui/KeyboardShortcutInfo.svelte ' ;
6+ import { KeyboardShortcutInfo } from ' $lib/components/app ' ;
77
88 interface Props {
99 isActive? : boolean ;
122122 <Pencil class =" h-4 w-4" />
123123 Edit
124124 </div >
125+
125126 <KeyboardShortcutInfo keys ={[' shift' , ' cmd' , ' e' ]} />
126127 </DropdownMenu .Item >
127128
139140 <Trash2 class =" h-4 w-4 text-destructive" />
140141 Delete
141142 </div >
143+
142144 <KeyboardShortcutInfo keys ={[' shift' , ' cmd' , ' d' ]} variant =" destructive" />
143145 </DropdownMenu .Item >
144146 </DropdownMenu .Content >
Original file line number Diff line number Diff line change @@ -23,13 +23,16 @@ export { default as ChatSettingsDialog } from './chat/ChatSettings/ChatSettingsD
2323export { default as ChatSettingsSection } from './chat/ChatSettings/ChatSettingsSection.svelte' ;
2424export { default as ChatSettingsFooter } from './chat/ChatSettings/ChatSettingsFooter.svelte' ;
2525
26- export { default as ChatSidebarConversationItem } from './chat/ChatSidebar/ChatSidebarConversationItem.svelte' ;
2726export { default as ChatSidebar } from './chat/ChatSidebar/ChatSidebar.svelte' ;
28- export { default as MaximumContextAlertDialog } from './MaximumContextAlertDialog .svelte' ;
27+ export { default as ChatSidebarConversationItem } from './chat/ChatSidebar/ChatSidebarConversationItem .svelte' ;
2928export { default as ChatSidebarSearch } from './chat/ChatSidebar/ChatSidebarSearch.svelte' ;
3029
30+ export { default as KeyboardShortcutInfo } from './KeyboardShortcutInfo.svelte' ;
31+
3132export { default as MarkdownContent } from './MarkdownContent.svelte' ;
3233
34+ export { default as MaximumContextAlertDialog } from './MaximumContextAlertDialog.svelte' ;
35+
3336export { default as ServerStatus } from './ServerStatus.svelte' ;
3437export { default as ServerErrorSplash } from './ServerErrorSplash.svelte' ;
3538export { default as ServerLoadingSplash } from './ServerLoadingSplash.svelte' ;
You can’t perform that action at this time.
0 commit comments