feat(private-web): grey + collapse server backups when the group is unconfigured#281
Merged
Conversation
…nconfigured On server-detail, when the server's group has no active (ready) backup config, the Backups section shows an explanatory message and the per-type capability rows are greyed and collapsed behind a 'show backup types' expander. The toggles stay selectable (they record intent for when backups are set up) but it's clear they're dormant. Ungrouped servers query the nil group (always unconfigured). Co-Authored-By: Claude Opus 4.8 <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.
🤖 On the server-detail page, when the server's group has no active (ready) backup config, the Backups section now makes it obvious the toggles are dormant.
Behaviour
When the group has a ready config, the section renders exactly as before.
Implementation
The section now also reads backups.get for the group. Ungrouped servers query the nil group id, which returns no config cleanly (rather than erroring on a missing group). While the config is loading the section renders normally to avoid a grey→normal flash.
Tests
Playwright: new test that an unconfigured group greys/collapses the toggles behind the message and they're reachable on expand. The existing capability tests (latest snapshot, no-snapshot, backing-up, toggle) now seed a ready config so the rows render active.