1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-24 20:06:55 +01:00
unleash.unleash/frontend/src
Thomas Heartman 28d7672a58
feat: batch week data if the shown time span is greater than 12 weeks. (#10745)
Implements batching of data points in the archived:created chart: when
there's 12 or more weeks of data, batch data into batches of 4 weeks at
a time. When we batch data, we also switch the labeling to be
month-based and auto-generated (cf the inline comment with more
details).

<img width="798" height="317" alt="image"
src="https://github.com/user-attachments/assets/068ee528-a6d6-4aaf-ac81-c729c2c813d1"
/>


The current implementation batches into groups of 4 weeks, but this can
easily be parameterized to support arbitrary batch sizes.

Because of the batching, we also now need to adjust the tooltip title in
those cases. This is handled by a callback.
2025-10-07 13:51:45 +02:00
..
__mocks__
assets chore: add new strategy icons (#10665) 2025-09-22 11:26:52 +01:00
component feat: batch week data if the shown time span is greater than 12 weeks. (#10745) 2025-10-07 13:51:45 +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 chore: update openapi (#10747) 2025-10-07 10:27:54 +00:00
interfaces feat: add a suggestion banner at the bottom of empty feature-environments (#10725) 2025-10-06 09:02:15 +02:00
openapi chore: update openapi (#10747) 2025-10-07 10:27:54 +00:00
themes Update chart colors to increase contrasts between the A series. (#10579) 2025-09-01 08:22:44 +02:00
types chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
utils refactor: centralize pagination options (#10636) 2025-09-09 14:00:55 +02:00
index.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
setupTests.ts
vite-env.d.ts