Skip to content

Remove fork count from Catalog list page

What does this MR do and why?

We are removing the forks count from the CI/CD catalog list page because we want to start the MVC with as little information as required and see if there is a demand for it. The fork count was deemed uncertain, so we are removing it for now. you can read more about this here: #428064 (closed)

Screenshots or screen recordings

Before After
Screenshot_2023-10-20_at_1.20.55_PM Screenshot_2023-10-20_at_11.47.32_AM

How to set up and validate locally

  1. Make sure you have an premium license for your GDK
  2. Login as an admin user
  3. Create a few projects that you will be able to convert to Ci resources. Create them under the admin namespace for ease of testing.
  4. 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  
  1. Navigate to /$namespace/$project/-/ci/catalog/resources/. Any project under the same namespace will do (in this case, anything under the admin namespace)
  2. Notice the Fork count has been removed

MR acceptance checklist

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

Related to #428064 (closed)

Edited by Frédéric Caplette

Merge request reports