1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/frontend/src
Thomas Heartman 778eaa9873
chore: Add a cover for when we don't have enough data to show the chart (#10599)
Adds a cover to the archived vs created flag chart if we don't have
enough data or if the data is loading. Follows the pattern established
in the other analytics charts.

Because the values for a placeholder bar chart are different than for a
placeholder line chart, I've added in actual placeholder values. This
also makes the gives the chart in question two bars per category, even
in the placeholder data, which matches nicely with the actual graph.

Before:
<img width="2272" height="974" alt="image"
src="https://github.com/user-attachments/assets/3336717f-acc8-4d23-a208-138259d6d3c7"
/>


After: 
<img width="1131" height="487" alt="image"
src="https://github.com/user-attachments/assets/5189e323-c636-4089-b4eb-30b231b09b8b"
/>

In context with the other charts: 
<img width="1392" height="1744" alt="image"
src="https://github.com/user-attachments/assets/7809669c-dae8-496b-b89b-0913fab85c17"
/>
2025-09-03 09:02:10 +02:00
..
__mocks__
assets feat: GitHub auth (#10406) 2025-07-24 15:25:25 +01:00
component chore: Add a cover for when we don't have enough data to show the chart (#10599) 2025-09-03 09:02:10 +02:00
constants fix: date localizations for chart (#10581) 2025-09-01 09:29:45 +00:00
contexts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
hooks feat: read feature impact metrics (#10597) 2025-09-02 13:16:57 +02:00
interfaces chore(AI): reportUnknownFlags flag cleanup (#10596) 2025-09-02 14:18:35 +01:00
openapi feat: read feature impact metrics (#10597) 2025-09-02 13:16:57 +02:00
themes Update chart colors to increase contrasts between the A series. (#10579) 2025-09-01 08:22:44 +02:00
types
utils feat: Display example date for date formatting reasons (#10444) 2025-07-31 11:07:32 +02:00
index.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
setupTests.ts
vite-env.d.ts