Repository navigation
fix: follow system appearance in the Tauri Gateway manager - #148668
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 9:21 PM ET / September 15, 2026, 01:21 UTC (Revision 2). ClawSweeper reviewWhat this changesThe Tauri desktop Gateway manager follows system light and dark appearance, with documentation and browser coverage for preserving unsaved fields during appearance changes. Merge readiness✅ Ready for maintainer review This remains useful: current main still forces dark appearance. The focused patch has no actionable correctness or security findings, and the inspected screenshots support the visual improvement. Priority: P3 Review scores
Verification
How this fits togetherThe desktop Gateway manager is a locally bundled page for editing saved Gateway connections, including when a Gateway is unavailable. Its stylesheet controls presentation while the existing native bridge handles connection operations. flowchart LR
A[System appearance] --> B[Browser color preference]
B --> C[Gateway manager palette]
C --> D[Connection form and dialogs]
E[Saved connections] --> D
D --> F[Existing native connection bridge]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +18, Docs +6, Other +26. Total +50 across 5 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep appearance adaptation in the existing CSS tokens so system changes repaint the manager without rebuilding its editor or introducing a stored preference. Do we have a high-confidence way to reproduce the issue? Yes, from source: opening the current-main manager with a light browser preference still uses its unconditional dark palette. No current-main runtime reproduction was executed during this read-only review. Is this the best way to solve the issue? Yes. CSS media queries repair the presentation at its existing owner without adding JavaScript state, a competing setting, or changes to connection handling. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ed01ccfd17a3. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
What Problem This Solves
The redesigned Tauri Gateway manager stayed dark even when the operating system used light appearance. Follow-up to #148526.
User Impact
Manage Gateways now follows the system's light or dark appearance, including changes while the window is open. Unsaved fields and masked credentials remain intact.
Why This Change Was Made
Use the web login flow's warm light palette alongside the existing dark palette. CSS handles appearance changes and themes the fields, window controls, focus rings, errors, and removal dialog without adding settings or changing connection storage.
Evidence
Before (system set to light), followed by the new light and dark appearances: