Add maintenance windows feature to show scheduled outages on status page#82
Add maintenance windows feature to show scheduled outages on status page#82
Conversation
Co-authored-by: ben-z <5977478+ben-z@users.noreply.github.com>
|
I'm deploying a preview of b1cdcaa14a974edefa549319a8d5a8b41e89c870...b705f7101f6f8cf2f71385c666a06a0621a36759. |
|
@alexboden this is pretty cool eh? Completely automated too. Though the UI is kinda janky, with alignment all over the place. I ran out of premium requests for the month lol. If you want, please feel free to ask it to fix up the UI the way you like. |
|
I'm deploying a preview of b1cdcaa14a974edefa549319a8d5a8b41e89c870...fe06d9efb6d9d1f86fda41cbacdc8776930c0693. |
|
I'm deploying a preview of b1cdcaa14a974edefa549319a8d5a8b41e89c870...6f8d67adbce084f7b06aff0f5faf40e6b22ac42d. |
|
hmm i'm just using copilot in codespace rn. i think i actually made it worse. |
You can do |
|
I'm deploying a preview of b1cdcaa14a974edefa549319a8d5a8b41e89c870...9979215be2ec3f8523111c00b86a32cf95acb83c. |
|
@copilot
|
…ct Quick Links/Options sections Co-authored-by: alexboden <43760105+alexboden@users.noreply.github.com>
I've made the requested changes:
The changes are in commit fd7c621. |
|
I'm deploying a preview of b1cdcaa14a974edefa549319a8d5a8b41e89c870...fd7c621a37acb2432644b4cf82adb0671b214591. |
|
oh man... |
Overview
This PR adds a maintenance windows feature to the WATcloud status page, resolving WATonomous/infra-config#4385. Users can now see planned maintenance and outages directly on the status page instead of searching through emails.
Features Added
🔧 Maintenance Windows Display
🎨 Design & UX
🛠️ Technical Implementation
MaintenanceStatusenum andMaintenanceWindowinterfaceMaintenanceWindowsReact component with TypeScripttimeUntil()utility function for future date calculationsMAINTENANCE_WINDOWS.mdScreenshots
Light Mode
Dark Mode
Mobile View
Final Implementation
Data Structure
Benefits
Future Enhancements
The implementation is designed to be easily enhanced with:
Files Changed
src/App.tsx- Integration of maintenance windows sectionsrc/constants.ts- Added maintenance types and symbolssrc/utils.ts- AddedtimeUntil()utility functionsrc/maintenance.tsx- New maintenance windows componentMAINTENANCE_WINDOWS.md- Comprehensive documentationTesting
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.