Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide menu plugins #24

Open
danyill opened this issue Jan 30, 2025 · 0 comments
Open

Ability to hide menu plugins #24

danyill opened this issue Jan 30, 2025 · 0 comments

Comments

@danyill
Copy link

danyill commented Jan 30, 2025

Menu plugins often do background work and the user doesn't really need to know about or see them in the hamburger menu.

The current best example of this is "Wizarding". Users think of New Zealand and Lord of the Rings and Gandalf and magic staffs when they think of wizards. So our development terminology is unnecessarily "leaking" into the user experience.

Would an option be to add to our API a flag to hide a menu plugin (presumably it would do nothing for editor plugins):

type Plugin = {
  name: string;
  translations?: Record<string, string>;
  src: string;
  icon: string; // Material icon name or image URL
  requireDoc?: boolean; // disable plugin if no doc is opened
+ hidden: boolean
}

For discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant