improve(ui): restyle connection-lost pill as neutral status surface - #101844
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 7, 2026, 2:14 PM ET / 18:14 UTC. Summary PR surface: Source +2. Total +2 across 2 files. Reproducibility: not applicable. as a bug reproduction: this is a visual polish PR. The submitted artifact screenshots provide a high-confidence way to inspect the intended dark, light, and mobile rendering. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: If maintainers accept the quieter visual treatment, land this small restyle after required checks; inherited safe-area or localization edge cases can remain separate follow-up work if still desired. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: this is a visual polish PR. The submitted artifact screenshots provide a high-confidence way to inspect the intended dark, light, and mobile rendering. Is this the best way to solve the issue? Yes, for the stated polish goal: the change stays inside the existing banner component and CSS while preserving i18n, live-region, tooltip, and retry wiring. It is not intended to be the broader fix for inherited safe-area or long-locale layout edge cases from the earlier floating-pill change. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 525f58e9c386. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +2. Total +2 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Merged via squash.
|
Related: #101812
What Problem This Solves
The floating connection-lost pill landed in #101812 still read as a generic warning callout: an amber-tinted container with an amber border, a second bordered capsule for the Retry button nested inside it, and a spinning eight-spoke loader — three competing treatments in one small surface, and a muddy brown wash in dark mode.
Why This Change Was Made
Restyles the pill as a quiet system-status surface in line with the dashboard chrome: neutral elevated background with a hairline border and real shadow, a single amber accent (a small pulsing status dot reusing the existing
pulse-subtlekeyframes), medium-weight title with muted "Reconnecting…" state, and Retry as an accent-colored text action behind a hairline divider instead of a capsule-inside-a-capsule. Markup and behavior are otherwise unchanged: same i18n keys,role="status"live region, screen-reader hint, tooltip with redacted error detail, and retry wiring; the unused loader-icon import is dropped.User Impact
The reconnect pill now looks native to the dashboard instead of like a warning blob: calm neutral surface, one amber status dot, and a clear Retry action. No behavior change.
Evidence
Close-ups: dark · light · mobile 375px
Artifact manifest: https://artifacts.openclaw.ai/pr-connection-pill-v2-20260707/artifact-manifest.json