kayvanbree / contexr

Stop redundantly defining your shortcuts in your shortcut library and your context menu. Start using Contexr!
MIT License
4 stars 0 forks source link

Global or local options and submenus #82

Open kayvanbree opened 2 months ago

kayvanbree commented 2 months ago

Is your feature request related to a problem? Please describe. Right now (with the Angular 18 update) all menu items are global. When a component with a menu is loaded in, it will always show up in the context menu.

Some components could have some context menu items that the parent should not have. Some components have menu items that should show up everywhere.

There should be a way to limit options from showing up in the context menu wherever you click.

Describe the solution you'd like

Describe alternatives you've considered

Additional context The alternative seems to be a bit more work, but I'm not sure which would be the best solution.

I'm also not sure how to handle hotkeys in one of these solutions. Probably pause any inactive menu items' hotkeys.