Skip to content

Replace angle icons for chevron in package details

Jose Ivan Vargas requested to merge jivanvl-replace-chevron-package-details into master

What does this MR do and why?

Replaces the angle-* for chevron-* icons inside the package details component

#362803 (closed)

Screenshots or screen recordings

Before After
Screen_Shot_2022-06-07_at_11.01.21 Screen_Shot_2022-06-07_at_11.02.16

How to set up and validate locally

  1. Get the project ID for the project you wish to create a package for, it is available on the project home page

Screen_Shot_2022-06-07_at_11.09.32

  1. Open your rails console from your GDK bundle exec rails c
  2. Add the following snippet to the console and press enter
def fixture_file_upload(*args, **kwargs)
  Rack::Test::UploadedFile.new(*args, **kwargs)
end
  1. Run the following commands to create a package file
project = project.find(<your_project_id>)
FactoryBot.create(:npm_package, :with_build, project: project).tap { |pkg| 10.times.each { |i| FactoryBot.create(:packages_tag, package: pkg, name: "bananas_#{i}") } }
  1. Go to the Packages and Registries -> Package Registry and click on the created package
  2. The file table should display one file with the new icon

MR acceptance checklist

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

Merge request reports