forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PP-3302: Add more units to duration formatting in the UI
Summary: We want to use the duration type to visualize things like pod age, and data retention period. However, the current units for a human readable duration only go up to seconds. This makes it very difficult when reading a duration in days. In this diff, (as well as D10997 for the CLI), days, minutes, and hours are added as an option. The common case of latency of 60 seconds or less will remain the same. Test Plan: ran the UI , unit tests, tried existing Reviewers: nlanam, michelle, jamesbartlett, zasgar Reviewed By: nlanam JIRA Issues: PP-3302 Signed-off-by: Natalie Serrino <nserrino@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11006 GitOrigin-RevId: ed955a9
- Loading branch information
1 parent
ed77a68
commit 55931b4
Showing
4 changed files
with
131 additions
and
39 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