Skip to content

Added ability to sort issues by closed date on frontend

What does this MR do and why?

This MR is a follow up of !89606 (merged) and introduces the frontend changes needed to sort issues by the date they were closed at.

Screenshots or screen recordings

Issue page on dashboard Issue page on project/group
Filter label Schermata_2022-06-19_alle_11.47.54 Schermata_2022-06-19_alle_11.47.04
Sorted desc Schermata_2022-06-19_alle_11.45.25 Schermata_2022-06-19_alle_11.47.21
Sorted asc Schermata_2022-06-19_alle_11.45.37 Schermata_2022-06-19_alle_11.47.30

How to set up and validate locally

  1. Start GDK
  2. Navigate to the local GitLab instance
  3. Go to the dashboard issue page using the button on the topbar
  4. Sort issues by closed date. Beware that
    • The issues seeded into the local GDK instance may have the closed_at value set to a date in the future
    • Closed issues will only be visible on the Closed and All tabs
    • On the All tab, when filtering by closed date, the open issues will be last
  5. Go to any project or group with issues
  6. Sort issues by closed date. Beware that
    • The issues seeded into the local GDK instance may have the closed_at value set to a date in the future
    • Closed issues will only be visible on the Closed and All tabs
    • On the All tab, when filtering by closed date, the open issues will be last

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Marco Zille

Merge request reports