Skip to content

Update sort items on the organization front page

What does this MR do and why?

Related to #423494 (closed)

The grouptenant scale team is starting to build out an Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/architecture/blueprints/organization/

Originally we were planning on having Frequently visited sort options on the organization front page but to keep things simpler for the MVC we have decided to change to Frequently created and Frequently updated sort options. This MR changes the sort options.

Notes for reviewers

  • I am planning on adding Updated at or Created at timestamps to each project/group depending on what sort option is selected. This change made the code footprint on the larger side so I will take care of this in a follow-up MR. Here is what it will look like:
    Screen_Recording_2024-04-28_at_4.52.14_PM
  • We had some constants in ~/organizations/constants and some in ~/organizations/shared/constants. I moved them all to ~/organizations/shared/constants to be more consistent.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_2024-04-28_at_4.44.04_PM Screenshot_2024-04-29_at_9.46.35_PM

How to set up and validate locally

  • Enable ui_for_organizations feature flag
    • echo "Feature.enable(:ui_for_organizations)" | gdk rails c
  • Navigate to /-/organizations/default
Edited by Peter Hegman

Merge request reports