Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add visual indicator for newly created pods (Issue #5587) #8006

Merged
merged 1 commit into from Dec 22, 2021

Conversation

reginapizza
Copy link
Contributor

Fixes #5587

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

This PR will add a visual indicator for when pods are under 30 minutes old. It will also add additional information about the pod creation time in the tooltip for each pod.

Under 30 minutes old will have a small star:
AgeStatusBadge-1

Over 30 minutes old will appear as normal:
ageStatusBadge-2

Tooltip with createdAt information:
ageStatusBadge-3

Signed-off-by: Regina Scott <rescott@redhat.com>
@codecov
Copy link

codecov bot commented Dec 22, 2021

Codecov Report

Merging #8006 (3d1a514) into master (18f7b41) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8006   +/-   ##
=======================================
  Coverage   41.49%   41.49%           
=======================================
  Files         173      173           
  Lines       22591    22591           
=======================================
  Hits         9375     9375           
  Misses      11885    11885           
  Partials     1331     1331           
Impacted Files Coverage Δ
util/settings/settings.go 46.85% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18f7b41...3d1a514. Read the comment docs.

Copy link
Contributor

@ciiay ciiay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@alexmt alexmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@alexmt alexmt merged commit d1d82c6 into argoproj:master Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Badge recent pods in pod view
3 participants