Skip to content

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

Open
@piwonskp

Description

@piwonskp

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions