Repository navigation
fix(ui): align child error notices with the composer - #166312
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
Codex review: needs maintainer review before merge. Reviewed October 6, 2026, 5:43 PM ET / 21:43 UTC. ClawSweeper reviewWhat this changesThe PR makes wrapped child diagnostic notices match the chat composer's width and corners and extends browser coverage to desktop and mobile. Merge readiness✅ Ready for maintainer review Keep open: current main still has the alignment defect, and the inspected desktop/mobile proof supports this focused repair. No actionable introduced bugs were found. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI displays child-session diagnostics above the parent chat's message composer. Shared footer styles determine how those notices align with the writing surface. flowchart TD
A[Child session status] --> B[Parent chat notices]
B --> C[Wrapped diagnostic card]
C --> D[Shared composer styles]
D --> E[Aligned diagnostic and composer]
C --> F[Open session action]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +2, Tests +14. Total +16 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep notice geometry owned by the shared composer styles, including cards inside display-contents hosts. Do we have a high-confidence way to reproduce the issue? Yes: the wrapped light-DOM card and current-main direct-child selectors establish the missed styling path. The supplied browser evidence shows the inset at both viewport sizes; this review did not execute the scenario. Is this the best way to solve the issue? Yes: extending the existing shared selectors repairs the DOM-boundary mismatch without duplicating notice styles or changing their specificity. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bd04f4c33ca2. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Related: #166224
What Problem This Solves
Fixes child diagnostic notices appearing narrower than the “Message OpenClaw” box, with an extra 18 px inset on each side.
User Impact
Diagnostic notices now line up with the composer and use its corner shape on desktop and mobile. No configuration or migration is required.
Why This Change Was Made
The notice's display-contents component remains a DOM ancestor, so direct-child CSS selectors skipped it. The shared composer rules now cover wrapped notices while preserving their existing specificity.
Evidence
Desktop
Mobile