Move completed maintenance into the timeline#334
Open
jbrooksuk wants to merge 3 commits into
Open
Conversation
5e76790 to
025ff22
Compare
Previously, the status page only showed incomplete schedules, which meant users couldn't access updates for completed maintenance events. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The maintenance block now only shows incomplete (upcoming/in-progress) schedules, while completed maintenance is surfaced in the incident timeline grouped by its completion date. This keeps the planned maintenance section focused on what's still relevant while preserving access to past maintenance and its updates. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
025ff22 to
bc80d8f
Compare
Type ScheduleBuilder against the Schedule model and convert grouped incident/maintenance results to base collections so the return types match their declarations. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Completed maintenance now appears in the incident timeline rather than the planned-maintenance block.
only_disrupted_daysfiltering now account for both incidents and schedules.Why
Previously the maintenance block listed every schedule including completed ones, cluttering the section meant for what's still relevant. Moving completed maintenance to the timeline keeps the planned-maintenance section focused while still exposing the history.
Tests
Added
StatusPageTestcoverage asserting upcoming/in-progress stay in the maintenance block while completed maintenance is excluded from it and rendered in the timeline.🤖 Generated with Claude Code