Merge pull request #34195 from overleaf/mj-command-palette-menu-labels

[web] Add menu labels to commands, and add more commands to command palette

GitOrigin-RevId: 21e17142bb3112b5fdcda85a472122b011979f49
This commit is contained in:
Mathias Jakobsen
2026-06-05 08:07:06 +00:00
committed by Copybot
parent cabe0046c5
commit b7735d402d
8 changed files with 62 additions and 14 deletions
@@ -13,6 +13,8 @@ type CommandInvocationContext = {
export type Command = {
label: string
// Optional label for the command when it appears in a menu. If not provided, `label` will be used.
menuLabel?: string
id: string
handler?: (context: CommandInvocationContext) => void
href?: string