I think it would be great if the command palette would 'natively' support submenus to enable an easy way to build some more feature-rich command palettes.
I implemented submenus by manually replacing the assigned command groups and saving the 'history' of groups assigned to the command palette so I can go back via a manually injected back button.
The following code is a snippet of my code that doesn't work as I put it there because of some missing code, but it outlines what I did well enough to understand my submenu implementation.
Description
Hi,
I think it would be great if the command palette would 'natively' support submenus to enable an easy way to build some more feature-rich command palettes. I implemented submenus by manually replacing the assigned command groups and saving the 'history' of groups assigned to the command palette so I can go back via a manually injected back button.
The following code is a snippet of my code that doesn't work as I put it there because of some missing code, but it outlines what I did well enough to understand my submenu implementation.
Additional context