File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
apps/webapp/app/components Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,23 @@ import {
1010 SheetTrigger ,
1111} from "./primitives/SheetV3" ;
1212import { ShortcutKey } from "./primitives/ShortcutKey" ;
13+ import { Button } from "./primitives/Buttons" ;
1314
1415export function Shortcuts ( ) {
1516 return (
1617 < Sheet >
17- < SheetTrigger className = "flex h-[1.8rem] items-center gap-x-1.5 rounded-sm bg-transparent px-[0.4rem] text-2sm text-text-bright group-hover/button:bg-charcoal-750 hover:bg-charcoal-750 focus-visible:focus-custom" >
18- < Keyboard className = "size-4 text-indigo-500" />
19- Shortcuts
18+ < SheetTrigger asChild >
19+ < Button
20+ variant = "small-menu-item"
21+ LeadingIcon = { Keyboard }
22+ leadingIconClassName = "text-blue-500"
23+ data-action = "shortcuts"
24+ fullWidth
25+ textAlignLeft
26+ shortcut = { { modifiers : [ "shift" ] , key : "?" } }
27+ >
28+ Shortcuts
29+ </ Button >
2030 </ SheetTrigger >
2131 < SheetContent >
2232 < SheetHeader >
@@ -103,6 +113,12 @@ export function Shortcuts() {
103113 < ShortcutKey shortcut = { { key : "9" } } variant = "medium/bright" />
104114 </ Shortcut >
105115 </ div >
116+ < div className = "space-y-3" >
117+ < Header3 > Schedules page</ Header3 >
118+ < Shortcut name = "New schedule" >
119+ < ShortcutKey shortcut = { { key : "n" } } variant = "medium/bright" />
120+ </ Shortcut >
121+ </ div >
106122 < div className = "space-y-3" >
107123 < Header3 > Alerts page</ Header3 >
108124 < Shortcut name = "New alert" >
You can’t perform that action at this time.
0 commit comments