Repository navigation
fix(ui): avoid duplicate main landmark on Activity - #127789
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 22, 2026, 2:00 AM ET / 06:00 UTC. ClawSweeper reviewWhat this changesThe PR changes the Activity Sessions feed from a nested Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readinessKeep open. Current main still renders the Activity feed as a nested Priority: P3 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherThe Control UI app shell owns the page-level main landmark and routes page content into it. The Activity page calls the Sessions renderer, which supplies the feed layout and controls. flowchart LR
A[Activity route] --> B[Control UI app shell]
B --> C[Page main landmark]
C --> D[Router outlet]
D --> E[Activity page]
E --> F[Sessions feed renderer]
F --> G[Session feed content]
Decision needed
Why: The source-level fix is narrow and correct, but protected maintainer handling and the current behind/incomplete validation state require a human landing decision. Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +15. Total +15 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the app shell as the sole page-landmark owner and land the renderer-only replacement after the branch and exact-head validation are refreshed. Do we have a high-confidence way to reproduce the issue? Yes—current main visibly composes the Activity renderer’s Is this the best way to solve the issue? Yes—the shell already owns the page landmark, and replacing only the feed wrapper with a neutral container preserves layout while removing the duplicate semantic region. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0933263f76f4. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Land-ready verification for exact PR head
ClawSweeper reported no actionable code findings. Its behind/incomplete-rollup note is superseded by the exact-head green CI and successful prepare above. Per repository policy, this branch was not rebased solely because |
|
Merged via squash.
|
Co-authored-by: Amp <[email protected]>
What Problem This Solves
Fixes an issue where users opening Activity → Sessions would encounter two nested
mainlandmarks: the app shell's page landmark and a second unnamed Activity landmark. Screen-reader landmark navigation therefore exposed an ambiguous duplicate main region on both desktop and mobile.Why This Change Was Made
The app shell remains the single owner of the page
mainlandmark. The Activity feed keeps its existing class, layout, and content in a neutral container, with a focused renderer regression preventing the nested landmark from returning.This is a semantics-only change: no visual styling, routing, or Activity behavior changes.
User Impact
Activity now exposes one unambiguous main content landmark, improving screen-reader navigation without changing the page's appearance or controls.
Evidence
main; post-fix renderer emits zero page-ownedmainelements while the shell retains the route landmark.main(#control-ui-main), one Playwrightmainrole, and one non-ignored accessibility-treemain; it contains the Activity page in both viewports.session-activity-view.test.ts— 6/6 passed.Provenance: the nested landmark was introduced in #125695 (
d9dfc5b3d98cae82542b0d46a28fd5d58ccf0e43, 2026-08-18).Inspected visual proof
The semantic repair is intentionally visually neutral; both captures show the unchanged healthy Activity layout after the landmark fix.