Skip to content

Conversation

mhydock
Copy link
Contributor

@mhydock mhydock commented Aug 28, 2025

Adds two config options in the dashboard section to enable/disable the media tab and the performance tab. If both are disabled, the tab bar in the dashboard is hidden.

@mhydock
Copy link
Contributor Author

mhydock commented Aug 28, 2025

IMHO the media and performance tabs are largely redundant, but I'm sure there are those that appreciate the additional information, so I made them optional via config, defaulting to "on" to preserve the current user experience.

This is pretty messy, and I'm sure there are smarter/cleaner ways to do what I'm trying to accomplish, but it works, more or less (there's some minor layout jitter on first run).

@mhydock mhydock force-pushed the feature/toggle-dashboard-panels branch 5 times, most recently from a25646a to d823364 Compare September 4, 2025 19:47
@mhydock mhydock force-pushed the feature/toggle-dashboard-panels branch 2 times, most recently from a4b977c to 1fc1df4 Compare September 13, 2025 01:22
added two config options in the dashboard section to enable/disable the
media tab and the performance tab. if both are disabled, the tab bar in
the dashboard is hidden.

still a bit of jerkiness when config values resolve, not sure how to fix
that. also, the way i'm conditionally showing panels is kinda janky, i'm
sure there are better ways to do this...
@mhydock mhydock force-pushed the feature/toggle-dashboard-panels branch from 1fc1df4 to 360c335 Compare September 29, 2025 07:13
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

Successfully merging this pull request may close these issues.

1 participant