Move Catalog about panel to the header
requested to merge 424962-frontend-put-the-current-right-side-column-in-the-catalog-header into master
What does this MR do and why?
IMPORTANT This MR requires production to be running gitlab-ui 66.13.0 to have access to the new CSS based skeleton loader. It seems that !131146 (merged) is blocking future updates so I have added it as a dependency.
We are moving the "About this project" sidebar to instead be under the project description horizontally:
#415657[Details-inputs-table-v2.png]
Screenshots or screen recordings
When loading the whole page
Before | After |
---|---|
When loading only the details page
Before | After |
---|---|
When loaded
Before | After |
---|---|
How to set up and validate locally
- Make sure you have an premium license for your GDK
- Login as an admin user
- Create a few projects that you will be able to convert to Ci resources. Create them under the admin namespace for ease of testing.
- Once you have done so, get the ID of the first new project you wanted to convert. Then in Rails console, run:
projects = Project.where("id > ?", your_first_project_id)
projects.each do |project|
project.update!(description: 'description')
::Ci::Catalog::Resource.new(project_id: project.id).save
end
- Navigate to
/$namespace/$project/-/ci/catalog/resources/
. Any project under the same namespace will do (in this case, anything under the admin namespace) - Click on a resource
- Notice the new layout!
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.
Related to #424962 (closed)
Edited by Frédéric Caplette