Repository navigation
feat(ui): make the control center quick switches - #457
Merged
Merged
Conversation
The control center now holds quick switches only: theme family (Cove or Pixel) and light, dark or follow-system mode as segmented controls, pixel background, motion signals (creation, close and working pixel effects together) and the minimap. Pixel offers no follow-system mode, so switching to it keeps what the system shows. Plugin themes and theme previews stay in Settings → Appearance; an active plugin theme is named here, with the existing unavailable and load-failure notices. The standby banner switch leaves the control center (it is in Settings) and is renamed "Notification banner". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DeadWaveWave
force-pushed
the
feat/ui-control-center
branch
from
October 17, 2026 05:16
fbd2161 to
0cdfe27
Compare
7 of 9 tasks
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.
💡 Change Scope
📝 What Does This PR Do?
Tide Phase 2.5, first step: the control center becomes quick switches, as the Tide Spec describes ("控制中心改为快捷开关,主题详情移到设置页").
uiThemeand family + mode is a pure domain function (settings/domain/uiThemeChoice.ts).en.controlCenter.ts/zh-CN.controlCenter.ts(the main locale files reached the 500-line limit). The unused--cove-theme-preview-pixeltoken and the grid's styles are removed.🏗️ Large Change Spec (Required if "Large Change" is checked)
1. Context & Business Logic
Approved Tide Spec, app shell: "控制中心:只放快捷开关:明暗、主题族、背景、窗口材质、背景闪烁、动态信号、展示模式;主题详情和预览在设置页;「右上角横幅」改名「通知横幅」并移到设置". macOS Control Center and Windows quick settings follow the same split: quick toggles in the panel, details in Settings.
2. State Ownership & Invariants
No new state:
uiTheme,canvasPixelBackgroundEnabledand the three pixel effect flags already live inAgentSettings.3. Verification Plan & Regression Layer
uiThemeChoice.spec.ts(family/mode for every theme, modes per family, resolution including Pixel + Follow System);ControlCenter.spec.tsx(segments, switches, Pixel modes, active plugin theme, unavailable and failed plugin themes, focus and mobile sheet); the Pixel preview identity test now checks the Settings gallery.✅ Delivery & Compliance Checklist
pnpm verify:quick/pnpm pre-commitis green; any additional focused tests are reported above.CLA.md).DEVELOPMENT.mdarchitectural boundaries.Local (macOS arm64):
pnpm verify:quickpassed: related Vitest 187 files / 925 tests, native contracts 6 / 9, representative E2E 44 tests; the five updated E2E specs (16 tests) and the Web canvas theme spec (2 tests) passed separately.After the gate the branch was rebased onto #456; on the rebased tree typecheck, lint, style check, the related unit tests (188 files / 926 tests) and the updated E2E specs plus the terminal transparency spec (14 passed, 3 skipped) passed again. Full CI on the final revision
0cdfe27c(run 39005687399): all 11 checks passed on the first attempt (ci-macos 1-3, ci-ubuntu, e2e-ubuntu 1-3, platform-e2e-windows, web-canvas-continuity-ubuntu, pr-template, license/cla).📸 Screenshots / Visual Evidence
Before and after crops of the control center in Cove dark, Cove light and Pixel, on the review page shown to the owner (who asked for review pages to be shown without waiting for approval).
🤖 Generated with Claude Code