nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
198 stars 69 forks source link

Hide disabled extensions in the UI #1654

Open lawik opened 1 day ago

lawik commented 1 day ago

We shouldn't give up UI space for functionality that has been disabled.

There also needs to be a way to realize that a specific device has overridden the product-wide settings and won't get health/geo information.

This PR addresses that. Happy to take any notes. Keeping it separate from extensions PR because this is just UI bits.

Extensions disabled at the product level, UI hidden: Screenshot_20241121_094541

Extensions enabled at the product level and either not set or enabled on device level: Screenshot_20241121_094520

Extensions disabled at device-level overriding the product-wide setting: Screenshot_20241121_094459

Fixes #1646 and #1647