Display createdAt in releases overview page when sorting by release date
What does this MR do and why?
This MR addresses #277471 (closed) to make the footer of releases on the releases page conditional based on the current sorting.
- If sorted by Release Date (default) then show
releasedAt
date withReleased {time ago}
wording - If sorted by Create Date (previous default) then show
createdAt
date withCreated {time ago}
wording
Screenshots or screen recordings
Before | After | Context |
---|---|---|
Sorted by Released desc (default) | ||
Sorted by Created desc |
How to set up and validate locally
- Navigate to Release Page on a repository
- Create one or more release(s) from tags with different release dates (in the past as well as in the future)
- Sort Releases page by Release Date or Create Date
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #277471 (closed)
Edited by Thorben Westerhuys