feat(dashboard): declutter Settings page by removing static notice and raw dump - #340
Merged
Conversation
…k, and version rollback - Backend: implement POST /admin/restart with config pre-validation, graceful drain, and deferred process exit for container/systemd supervisors. - Updatecheck: add Invalidate() method and honor ?force=true on GET /admin/api/version for on-demand update checks. - Manifest & Parity: register /admin/restart across admin_manifest.json, server.go, and paths.js with 100% parity test coverage. - Frontend: CommandCenterCard in Settings with process status, restart gateway action with confirm dialog, update check with copyable Docker upgrade commands, and version rollback instructions. - Tests: admin_restart_test.go unit tests and ux.spec.ts e2e coverage.
…d raw dump - Remove static Container Bootstrap Notice alert that added visual clutter without interactive action. - Remove read-only Current Values table (40+ internal environment variables) that duplicated structured settings cards above it. - Keep Advanced Raw .env Editor cleanly collapsed under <details> at the bottom for advanced diagnostics and manual overrides. - HTTP_READ_TIMEOUT row cleanly placed in Gateway Settings card. - Rebuild embedded dist bundle and pass all settings e2e tests.
- Model locking and allowlists are already fully managed interactively per account on the Tokens page (MODEL_LOCKS). - Remove redundant ModelRoutingSettings card from Settings page. - Keep Advanced Raw .env Editor collapsed at the bottom for manual overrides.
…s page - Incorporate Command Center (Restart Gateway & Check Updates). - Keep ModelRoutingSettings, Container Bootstrap Notice, and Current Values removed. - Maintain HTTP_READ_TIMEOUT row and collapsed Raw .env editor.
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
Redesigns and streamlines the Dashboard Settings page:
SAFE_MODE).LOG_LEVEL).HTTP_READ_TIMEOUT) withDEFAULT(60s) andRESTARTbadges.BRIDGE_ENABLED).RATE_LIMIT_PER_IP).Container Bootstrap Noticeremoved.Current Values40-row raw variable dump removed.ModelRoutingSettingsremoved (per-model locking is already fully managed per account interactively on the Tokens page).<details>at the bottom of the page for advanced configuration and emergency overrides.interactions.spec.ts&ux.spec.ts).