Add actions to organization projects list
What does this MR do and why?
Related to #409030 (closed)
Designs: https://gitlab.com/gitlab-org/gitlab/uploads/06f873210db081ff194a6d6445cfced2/Actions.png
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 edit and delete actions to the project view.
What is implemented in this MR
- Add actions dropdown with edit and delete actions
- Show confirmation modal when clicking delete action
What will be implemented in future MRs
- Use real data when GraphQL API is completed - GraphQL changes for organization level group da... (#409311 - closed)
- Call API to delete project after confirming in modal
- Groups view - Organization level group dashboard page (#409029 - closed)
- Empty state
- Pagination
Screenshots or screen recordings
Desktop
Closed | Open | Delete confirmation modal |
---|---|---|
Mobile
Closed | Open | Delete confirmation modal |
---|---|---|
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?display=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