1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-21 13:47:39 +02:00
unleash.unleash/frontend/src/component/feature/FeatureView
Thomas Heartman 23b0401381
feat: make panels collapsible (#8395)
This PR makes the projects and flags panels collapsible. The panels are
expanded by default and can be collapsed by clicking on the panel
header. The state of the panels is saved in localstorage.

As part of this, it also:
- moves the flag exposure metrics next to the metric selectors
- fixes the alignment of the "no exposure" line


![image](https://github.com/user-attachments/assets/b41ca808-f5f0-4e17-8bb1-b1388256354d)

Line alignment:
before:

![image](https://github.com/user-attachments/assets/119320d6-d39d-4c34-815a-8a25c6856ad6)

after:

![image](https://github.com/user-attachments/assets/f5b0fe51-1cda-49f9-8b22-e03988429799)
2024-10-09 14:25:58 +02:00
..
FeatureEnvironmentSeen feat: make panels collapsible (#8395) 2024-10-09 14:25:58 +02:00
FeatureLog
FeatureMetrics a11y: add labels to env/period selectors (#8329) 2024-10-02 12:57:01 +02:00
FeatureNotFound
FeatureOverview feat: make panels collapsible (#8395) 2024-10-09 14:25:58 +02:00
FeatureSettings
FeatureVariants
Collaborators.test.tsx
Collaborators.tsx
FeatureView.tsx
FeatureViewLazyExport.tsx
LazyFeatureView.tsx