feat: show relative run time on overview run cards - #320
Merged
timdegroot1996 merged 1 commit intoSep 13, 2026
Merged
Conversation
Each run card on the Overview page now shows how long ago the run was executed, e.g. "15 minutes ago", "3 hours 20 minutes ago" or "4 days 2 hours ago", in the bottom right corner of the card. Hovering the text reveals the exact run timestamp, including the stored timezone offset. - add parse_run_start, format_relative_time and format_run_start_exact helpers to common.js - render the relative time on the Latest Runs cards and on the project bar cards; Total Statistics cards aggregate many runs and are left unchanged - position the text absolutely so the existing card layout, and with it the visual test references, stay untouched - hide the relative time in the robot visual tests, since the text changes as time passes and would make screenshot comparisons flaky - add unit tests for the new helpers and document the behaviour Closes MarketSquare#318
Collaborator
|
Looks awesome so I'm merging this. Thanks for the addition and doing the work yourself. Will release this soon! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Each run card on the Overview page now shows how long ago the run was executed, e.g. "15 minutes ago", "3 hours 20 minutes ago" or "4 days 2 hours ago", in the bottom right corner of the card. Hovering the text reveals the exact run timestamp, including the stored timezone offset.
Closes #318