Use Pajamas::ButtonComponent for clipboard SHA group

What does this MR do and why?

Use Pajamas::ButtonComponent for clipboard SHA group

  • Add label prop to Pajamas::ButtonComponent
  • Remove old styles

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
commit-label-file-light-before gdk.test_3443_flightjs_Flight_-blob_master_README.md_ref_type_heads__1
commit-label-file-dark-before gdk.test_3443_flightjs_Flight_-_blob_master_README.md_ref_type_heads
commit-label-commit-light-before gdk.test_3443_flightjs_Flight_-commits_master_ref_type_heads__1
commit-label-commit-dark-before gdk.test_3443_flightjs_Flight_-_commits_master_ref_type_heads

How to set up and validate locally

  1. View file page e.g. https://gdk.test:3443/flightjs/Flight/-/blob/master/README.md?ref_type=heads
  2. View commits page e.g. https://gdk.test:3443/flightjs/Flight/-/commits/master?ref_type=heads
  3. Validate commit SHA clipboard button group in light and dark mode

Related to #510467 (closed)

Edited by Scott de Jonge

Merge request reports

Loading