Skip to content

shortcut for parent action doesn't show palette #14

@Enteleform

Description

@Enteleform

Example

defineAction({
  id:       "Pages",
  title:    "Pages",
  shortcut: "$mod+g",
})

for(const {page, url} of pages){
  defineAction({
    parentActionId: "Pages",
    id:             page,
    title:          page,
    run:            (() => {window.location.href = url}),
  })
}

Expected

Pressing ctrl + g will show the command palette, immediately loading the Pages list.

Actual

Pressing ctrl + g does not show the command palette.

The Pages list is loaded, but it is not visible until the command palette is toggled with ctrl + k.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions