Maintenance Mode: Form UX Improvements
What does this MR do and why?
Fixes Maintenance Mode: Form UX Bugs (#556584 - closed)
When updating Maintenance Mode there are some backend restrictions that are not reflected in UI that can cause some frustrating albeit minor work/time loss.
Backend Restrictions:
- Banner message cannot exceed 255 characters
- Banner messages are not saved if the user doesn't also enable maintenance mode
- Banner messages previously saved are erased if user disables maintenance mode
This MR is focused on better communicating all 3 of the above restrictions in the UI as well as generally a more intuitive experience in when managing this setting.
Screenshots or screen recordings
Before
| Restriction 1 | Restriction 2 | Restriction 3 |
|---|---|---|
| Restriction 1 | Restriction 2 | Restriction 3 |
After - Demo of new experience
Screen_Recording_2025-07-29_at_12.17.37_PM
How to set up and validate locally
- Go to Admin > Settings > General
- Scroll down to the Maintenance Mode settings and expand it
- Ensure you can enable/disable maintenance mode
- When enabled a Banner Message text box should appear
- If you enter over 255 characters in the text box ensure you cannot save and the UI says X characters over limit.
- Ensure if you disable maintenance mode with a banner message in the box a pop up modal warns you the message will be lost.
Edited by Zack Cuddy