feat(core/managed): switch to abbreviated timestamp format, add version timestamps #8610
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Couple of tightly related updates:
We've been playing around with making time formatting less noisy and easier to scan. Today cards for constraints and deployment states include a lot of text describing times, which are useful if you're very interested in the timing of that specific thing but tough to scan and process at a glance. What we're trying out first is a new relative timestamp which looks a lot like social media platforms (Twitter, Instagram, etc.) — things like
25s
,1hr
,3d
. When it gets beyond a month we switch toJan 28
, and when it moves into a different year we addJan 28, 2019
. The 'full' timestamp that is traditionally used across Spinnaker is available on hover, and in most places you can click on the abbreviated timestamp to copy the full one to your clipboard.We now have a
createdAt
date on artifact versions. This update surfaces that timestamp in the new abbreviated format on the sidebar, along with a longer format in the details pane. Soon we'll also start sorting versions for approval/deployment via this timestamp.Version sidebar
New
createdAt
timestampsOn hover
When more than 1 month in the past
When in a different year from the current one
Version details
New timestamp treatment for environment/constraint cards, new "Created" timestamp
On hover (click to copy for all timestamps)
cc @gcomstock