Update submit buttons to use Pajamas component
What does this MR do and why?
Describe in detail what your merge request does and why.
1. Update submit button to use Pajamas component
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Admin > Settings > Preferences > Polling interval multiplier
- Change the value
- Save changes
- Check the changes are saved
- Change the settings back to how they were, unless you want to keep the new values
🤷
2. Update pages settings submit button to use Pajamas component
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Set up the pages feature on a project. The easiest way to do that is:
- Projects > New project > Create from template > Pages/Plain HTML
- Finish setting up the project
- Run the pipeline on master to create you site
- Project > Settings > Pages > Pages
- Change the maximum size value
- Save changes
- Check the changes are saved
- Change the settings back to how they were, unless you want to keep the new values
🤷
3. Update welcome submit button to use Pajamas component
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Register for a new account
- Sign in with new user and see welcome page
- In
app/views/registrations/welcome/show.html.haml
comment L38-40 to make othe r button show. - Check button still submits
4. Update resend confirmation submit button to use Pajamas component
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Register for a new account
- Confirm email address using the link sent to user
http://127.0.0.1:3000/rails/letter_opener
- Try and reconfirm using the same link
- Check button still submits
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 Dan MH