mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
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. |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| assets | ||
| component | ||
| constants | ||
| contexts | ||
| hooks | ||
| interfaces | ||
| openapi | ||
| themes | ||
| types | ||
| utils | ||
| index.tsx | ||
| setupTests.ts | ||
| vite-env.d.ts | ||