-
-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make TTP stat show last week calculation (#6766)
Currently the median time to production stat is showing the aggregated median across all dates. This pr changes the calculation to only use the last week summary like the rest of the stat widgets. <img width="1665" alt="Screenshot 2024-04-03 at 11 25 31" src="https://github.com/Unleash/unleash/assets/104830839/c6869b48-99bd-4f5b-a25e-7e0e3a2dc9ef"> --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai>
- Loading branch information
1 parent
fe6aaf7
commit 717e541
Showing
6 changed files
with
33 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
frontend/src/component/insights/hooks/useMedianTimeToProduction.test.ts
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
frontend/src/component/insights/hooks/useMedianTimeToProduction.ts
This file was deleted.
Oops, something went wrong.