Add Server Restart settings tab to admin panel#58
Merged
AdaInTheLab merged 1 commit intomainfrom May 9, 2026
Merged
Conversation
UI surface for the GracefulRestartFeature backend that landed in #57. What's in the tab: - Master Enable Daily Restart toggle - Schedule: time of day (HH:mm) + IANA timezone, side-by-side - Inline ladder editor: add/remove steps, edit minutes-before, message, and BBGGRR color hex per row. Default ladder rendered descending so the top row is what fires first - Restart Now panel on the right: lead-time input + danger button with a confirm() prompt before kicking off Layout mirrors the Vote Rewards tab (2-col, schedule + ladder left, trigger right). Collapses to single col under 768px. i18n: canonical strings in en.ts; ja/ko/zh-CN/zh-TW carry English placeholders with a "translations TBD" comment, same pattern as the Vote Rewards roll-out (vue-i18n's structural typecheck requires same shape across all locales, so faking shape > skipping locales). Co-Authored-By: Claude Opus 4.7 (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.
Summary
UI surface for the `GracefulRestartFeature` backend that landed in #57. Now admins can configure scheduled restarts and trigger one-off restarts from the panel without touching the REST API or console.
What's in the tab
Layout mirrors the Vote Rewards tab — 2-col with schedule/ladder left, trigger right. Collapses to single col under 768px.
Files
Test plan
🤖 Generated with Claude Code