Clarify Time Stamp on Deployments on the Environment List Page
Problem
Currently deployments on the environment list page (-/environments) show a date, but it's not clear if this date is the created on
date, or deployed at
date.
Solution
We should clarify in the tooltip which one it is.
- If it's the created on date, we should adjust the tooltip and UI content to be:
- Created {date}
- If it's the deployed at date, we should adjust the tooltip and UI content to be:
- Deployed {date}
Implementation Guide
- Update
app/assets/javascripts/environments/components/deployment.vue
to display thefinishedAt
timestamp if one is available. - Update the text of the timestamp to switch between the text as shown
- Regenerate the translations by running
bundle exec rake gettext:regenerate
- Update tests in
spec/frontend/environments/deployment_spec.js
to test the change
Edited by Andrew Fontaine