gbclient/app/prompt.txt
Rodrigo Rodriguez (Pragmatismo) a3c37e31ac
Some checks failed
GBCI / build (push) Failing after 8m35s
feat: Add mobile chat interface and command input to footer component
2025-06-29 21:33:12 -03:00

68 lines
1.3 KiB
Text

Should work on mobile also
Use themes variables
--------------------
background
foreground
card
card
popover
popover
primary
primary
secondary
secondary
muted
muted
accent
accent
destructive
destructive
border
input
ring
radius
chart
chart
chart
chart
chart
Use resizable where is possible
--------------------------------
import {
ResizableHandle,
ResizablePanel,
ResizablePanelGroup,
} from "@/components/ui/resizable"
Use shortcuts on footer
-----------------------
const shortcuts = [
[
{ key: 'Q', label: 'Rename', action: () => console.log('Rename') },
{ key: 'W', label: 'View', action: () => console.log('View') },
{ key: 'E', label: 'Edit', action: () => console.log('Edit') },
{ key: 'I', label: 'Cut', action: () => console.log('Cut') },
{ key: 'O', label: 'Paste', action: () => console.log('Paste') },
{ key: 'P', label: 'Duplicate', action: () => console.log('Duplicate') },
],
[
{ key: 'K', label: 'Star', action: () => console.log('Star') },
{ key: 'L', label: 'Download', action: () => console.log('Download') },
{ key: 'Z', label: 'Upload', action: () => console.log('Upload') },
{ key: 'X', label: 'Refresh', action: () => console.log('Refresh') },
]
];
<Footer shortcuts={shortcuts} />