Add filter and sort to organization project view
What does this MR do and why?
Related to #409030 (closed)
Designs: #406613 (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/user/organization/
This MR continues to build the Groups and projects
page by adding filter and sorting to the page.
A few notes:
- The projects view is currently using a mock GraphQL resolver with mock data.
- The groups view will be built in #409029 (closed)
- The search and sort do not currently change how the GraphQL query is called. This will be implemented in a future MR.
Screenshots or screen recordings
Desktop
Groups
Projects
Mobile
Groups
Projects
How to set up and validate locally
- Open Rails console
bin/rails console
- Enable the feature flag
Feature.enable(:ui_for_organizations)
- Create an organization
FactoryBot.create(:organization, name: 'GitLab', path: 'gitlab')
- Navigate to
/-/organizations/gitlab/groups_and_projects
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.
Edited by Peter Hegman