feat(app): ui improvements (#32438)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
This commit is contained in:
parent
4c0af7cf2d
commit
1bcb9d7cb9
29 changed files with 415 additions and 131 deletions
11
packages/app/src/components/command-tooltip-keybind.ts
Normal file
11
packages/app/src/components/command-tooltip-keybind.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
type CommandKeybind = {
|
||||
keybindParts: (id: string) => string[]
|
||||
}
|
||||
|
||||
export function reviewTooltipKeybind(command: CommandKeybind, _translate?: (key: string) => string) {
|
||||
return command.keybindParts("review.toggle")
|
||||
}
|
||||
|
||||
export function newTabTooltipKeybind(command: CommandKeybind, _translate?: (key: string) => string) {
|
||||
return command.keybindParts("tab.new")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue