Skip to content

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 with Released {time ago} wording
  • If sorted by Create Date (previous default) then show createdAt date with Created {time ago} wording

Screenshots or screen recordings

Before After Context
release-current-released-desc release-new-released-desc Sorted by Released desc (default)
release-current-created-desc release-new-created-desc Sorted by Created desc

How to set up and validate locally

  1. Navigate to Release Page on a repository
  2. Create one or more release(s) from tags with different release dates (in the past as well as in the future)
  3. 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.

Related to #277471 (closed)

Edited by Thorben Westerhuys

Merge request reports