Repository navigation
fix(ui): align configured trigger status with Advanced heading - #126784
clawsweeper merged 1 commit into
Conversation
Vertically center the configured trigger label with the Advanced heading and cover the rendered geometry in Chromium. Co-authored-by: Tak Hoffman <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 20, 2026, 3:54 PM ET / 19:54 UTC. ClawSweeper reviewWhat this changesThe PR vertically centers the configured automation-trigger status beside the Advanced heading and adds a Chromium layout regression test. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open for normal maintainer merge judgment. The focused CSS correction matches the actual Advanced-summary render path, has a credible Chromium layout regression, and introduces no blocking correctness finding. Priority: P3 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — execution before step 1 Assertions:
How this fits togetherThe Control UI renders automation settings from cron job state. Its Advanced summary shows a configured condition trigger before the user opens the trigger editor. flowchart LR
A[Automation job state] --> B[Control UI cron page]
B --> C[Advanced summary]
C --> D[Configured trigger status]
C --> E[Trigger editor]
Decision needed
Why: The patch is technically sound, but the maintainer label and member-authored-item guard reserve the final merge decision for a human. Before merge
Agent review detailsSecurityNone. PR surfaceSource +1, Tests +64. Total +65 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the single Do we have a high-confidence way to reproduce the issue? Yes — source inspection identifies the configured-trigger span and its missing baseline rule, while the branch supplies a Chromium test that measures the resulting centerline drift. Is this the best way to solve the issue? Yes — applying vertical alignment to the inline-flex status at its CSS owner is narrower and more maintainable than altering the Advanced disclosure or its surrounding layout. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ba4ff7a1e9d4. LabelsLabel changes:
Label 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.
|
Vertically center the configured trigger label with the Advanced heading and cover the rendered geometry in Chromium. Co-authored-by: RoboClaw <[email protected]> Co-authored-by: Tak Hoffman <[email protected]>
Related: #126534
What Problem This Solves
Fixes an issue where users opening an automation with a configured condition trigger would see the “Trigger configured” status sit above the “Advanced” heading’s visual centerline.
Why This Change Was Made
The configured-trigger status is an inline-flex element whose default baseline follows its SVG content. Vertically centering that existing inline status repairs the owning CSS geometry without changing the disclosure layout or adding new UI chrome. A real-Chromium layout regression now protects the rendered centerline.
Provenance: the configured-trigger summary was added in #126534. The blamed code was authored by @roboclaw-bot; the PR was authored and squash-merged by @clawsweeper on August 20, 2026. @Takhoffman was a co-author. No separate automerge trigger was present in the PR timeline.
Production LOC: +1/-0 (net +1) | Tests: +64/-0
User Impact
The configured-trigger indicator now aligns cleanly with the Advanced heading. Automation behavior, trigger execution, and editor interaction are unchanged.
Evidence
Before
After
pnpm --dir ui test --project browser src/pages/cron/view.browser.test.ts— 1 test passed after the fix (1.086 px drift, within the 1.25 px subpixel tolerance).node scripts/check-changed.mjs -- ui/src/styles/cron.css ui/src/pages/cron/view.browser.test.ts— passed all selected guards, core-test/UI typechecks, formatting, and lint lanes..agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main— clean; no accepted/actionable findings.d0ff7b311a8f8a1ab46f09720c8483e382d3f08b.AI assistance