Skip to content

Update several buttons to use Pajamas::ButtonComponent

Ahmed Hemdan requested to merge ahemdan/pajamas-migration-day-buttons-1 into master

What does this MR do and why?

This merge request updates the buttons in the following files to use Pajamas::ButtonComponent.

File Issue
app/views/layouts/header/_current_user_dropdown.html.haml #417821 (closed)
app/views/projects/merge_requests/_code_dropdown.html.haml #417835
app/views/projects/diffs/viewers/_collapsed.html.haml #417831 (closed)
app/views/projects/cleanup/_show.html.haml #417828 (closed)
app/views/shared/notes/_hints.html.haml #417855 (closed)

I used the instructions provided in this issue, but feedback is always welcome!

Please note: two of the buttons were removed from this merge request because they are not trivial and require further testing and styling considerations, please see this comment for more information.

Screenshots

Before After
Screenshot_2023-07-14_at_5.11.24_PM Screenshot_2023-07-14_at_3.21.01_PM
Screenshot_2023-07-14_at_3.27.03_PM Screenshot_2023-07-14_at_3.39.26_PM
Screenshot_2023-07-14_at_5.06.02_PM Screenshot_2023-07-14_at_5.07.17_PM
Screenshot_2023-07-14_at_5.12.08_PM Screenshot_2023-07-14_at_3.22.51_PM
Screenshot_2023-07-14_at_5.30.35_PM Screenshot_2023-07-14_at_5.38.19_PM

MR acceptance checklist

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

Edited by Ahmed Hemdan

Merge request reports

Loading