Repository navigation
fix(ui): keep session Details clear of transcript content - #168494
Conversation
Move the existing Details control into the pane header so messages and message actions remain unobstructed without restoring the desktop gap. Keep one component mount through resize and retain dialog clearance for Undo notices. Add mobile, compact, and desktop nonintersection checks.
|
🦞👀 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 changes before merge. What this changesThis PR moves Details into the conversation header and constrains notices and narrow header controls. Example: Open a conversation at a 390px viewport width.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the layout repair is useful, but the previously reported Details trigger bug remains unfixed. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI combines session metadata and sidebar presentation into the pane header, transcript, composer, and Details dialog. flowchart TD
A[Session metadata] --> B[Chat pane]
C[Sidebar layout] --> B
B --> D[Pane header]
B --> E[Conversation and composer]
D --> F[Details dialog]
Technical reviewBest possible solution: Keep the header placement and component lifetime while making the Details trigger follow conversation visibility. Do we have a high-confidence way to reproduce the issue? The mobile before image demonstrates the overlap, and source deterministically exposes the remaining no-op trigger when Dashboard is main and its conversation pane is hidden. Is this the best way to solve the issue? Moving the existing component into the header fixes geometry at its owner, but trigger visibility must follow the same presentation binding as the conversation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ea4693e04a70. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +38, Tests +67. Total +105 across 11 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (4 earlier review cycles)
Reviewed October 10, 2026, 6:24 PM ET / 22:24 UTC (Revision 5). |
Keep long diagnostics in a shrinkable grid track and keep Details stable when a split pane activates. Wrap narrow header controls within their pane. Update the subagent fixture to traverse the pane owner while retaining its geometry assertions. Proof: full bundled UI E2E (659 files, 3095 tests), full UI config (1640 files, 22519 tests), all UI types, lint, styles, formatting, architecture and clean P2. Single-file subagent E2E at one worker: 21.36s. check-changed remains blocked by the inherited 456/455 environment inventory.
|
Landing with the inherited-red admin exception. The only failing check is checks-fast-baseline-ratchets (plus the ci-gate rollup). It trips the mock-isolation guard on src/model-picker/apply-session-model-selection-placement.test.ts, which this PR does not touch. #168480 reshaped that mock factory, so every pull request failed this job until main fixed it in 00e0953 ("test(model-picker): annotate the placement runtime mock isolation"). The fix landed after this branch's last main merge. All checks for this change pass: the full bundled UI e2e (659 files / 3,095 tests), the full UI unit config (22,519 tests), types, lint, architecture and P2. The before/after screenshots in the PR body were inspected. |
…68494) Move Details into the existing pane header so it never covers transcript content on narrow layouts, and fix the follow-on cloud diagnostic overflow, split-pane Details placement, and narrow native header overlap. Landed with the inherited-red exception (checks-fast-baseline-ratchets, fixed on main by 45671d6).
What Problem This Solves
The Details reservation left an unnecessary 50px gap on wide layouts, while simply removing it let Details overlap the first mobile message and its actions. Moving Details into the existing pane header keeps desktop geometry compact and mobile transcript controls clear. This PR also repairs the follow-on long-diagnostic overflow, split-pane Details click movement, and narrow native-header control overlap, while retaining subagent task progress and its footer constraints.
Evidence
The complete bundled E2E project passed: 659 files / 3,095 tests. The full UI config passed 22,519 tests (six existing skips), and the ten focused files passed 90 tests. P2 review is clean. Types, typed and boundary lint, styles, formatting, and architecture passed. Existing geometry assertions prove that Details intersects neither the first bubble nor its action row: on mobile, Details ends at y=41.59375 and the bubble starts at y=81.3125, leaving 39.71875px clear. All 16 inspected synthetic before/after images remain embedded below.
The coordinator has since armed auto-merge; the earlier unarmed-status sentence below describes the previous handoff. The inherited startup-recovery failure is addressed by integrating main's fixes
ceea87b16be4and9cf7fc279c26.Post-integration validation on merge commit
61a319bbb595:new-session-page.cloud-startup.runtime-load.e2e.test.tspassed all 3 cases locally through its currentui-e2e-serial-standaloneowner with--maxWorkers=1, in 43.97 seconds. This includes “recovers a saved startup through toast recovery.” The merge was conflict-free, brought in main throughc8278d736d8e, and made no additional authored code changes.Problem and fix
Keep session Details clear of transcript content without restoring the extra desktop gap. Details now lives in the existing pane header; gutter notices retain their own bounded layout. Mobile message bubbles and their actions stay outside the Details button.
The CI follow-up fixes two consequences of that move. The subagent progress test now looks up the owning pane rather than the former conversation-frame ancestor; progress, scrolling, parent navigation, and composer assertions stay intact. A long cloud failure diagnostic had stretched an implicit grid track to 12,394px and placed the diagnostic's right edge at 6,705px in a 1,440px viewport. Restoring
minmax(0, 1fr)keeps the complete, escaped, scrollable diagnostic within the pane.Running the full bundled project also caught two header interaction regressions: revealing an inactive pane's actions moved Details under the pointer, and a narrow native header's controls covered the side-pane Close button. Keep Details at the trailing edge and allow the existing header controls to wrap within narrow panes. All controls and existing assertions remain; no extra bar or timeout changes.
Validation
On Linux through the repository harness:
ui-e2e-bundledproject, no shard or file filter: 659 files / 3,095 tests passed, 868.01s.--maxWorkers=1: 2 tests passed, 21.36s. The final edit only applies formatter wrapping and its trailing comma to a screenshot call.check-changed --base 240fa4ae59b3reaches the inherited environment inventory failure: 456 variables versus budget 455. That scanner excludes the changed UI paths. All relevant remaining gates ran separately; no inventory or budget was changed.The unchanged extra header tests pass on the pre-PR production implementation and fail on the initial PR implementation; both pass after this repair. P2 review is clean. Auto-merge remains disabled for coordinator image review.
Inspected synthetic screenshots
These captures contain only repository fixtures. Before images show current main for the original mobile clearance change, and the initial PR for its CI follow-ups. The after images show the final candidate.