Converting Buttons to use Pajamas components
What does this MR do and why?
This MR converts buttons to Pajamas components. I'm adding multiple issues to this MR due to the small code changes.
This MR makes changes for issues: #384438 (closed) and #384416 (closed)
Screenshots or screen recordings
/app/views/profiles/accounts/show.html.haml for issue: #384438 (closed)
Changes on pageBefore | After |
---|---|
![]() |
![]() |
![]() |
![]() |
/app/views/admin/users/_form.html.haml for issue: #384416 (closed)
Changes on pageBefore | After |
---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
#384438 (closed)
For issue:URL: http://127.0.0.1:3000/-/profile/account
File: /app/views/profiles/accounts/show.html.haml
#384416 (closed)
For issue:URL: http://127.0.0.1:3000/admin/users
File: /app/views/admin/users/_form.html.haml
When on users page, add a new user and edit an existing to check both cancel buttons.
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.
Edited by Ross Byrne