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

[Group/Drawer][Feature] Dynamic hiding of drawer modules based on a class #4008

Open
piwonskp opened this issue Mar 27, 2025 · 0 comments · May be fixed by #4014
Open

[Group/Drawer][Feature] Dynamic hiding of drawer modules based on a class #4008

piwonskp opened this issue Mar 27, 2025 · 0 comments · May be fixed by #4014

Comments

@piwonskp
Copy link

The drawer currently picks the first element to keep it visible all the time. It is great for static menus with commands like a shutdown menu.

It'd be useful though to be able to show more than a single module and to choose them dynamically.

Use case

  • Status indicators like inhibitor / idle inhibitor could be kept hidden until they're active.
  • Other indicators like the memory / cpu indicator could be kept hidden until a certain threshold is met. Eg. they would appear only if they reach warning level.

Suggested implementation

Setting a class on the module would reveal it and keep it visible.

Would you be interested in merging the change?

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

Successfully merging a pull request may close this issue.

1 participant