Repository navigation
fix(ui): keep Details section transitions smooth - #184466
Conversation
|
🦞👀 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 maintainer review before merge. What this changesThis PR smooths Details disclosure transitions, including late-arriving content and interrupted Task progress animations. Example: An empty Details section opens, then its content grows from 0 to 80 pixels.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it is a useful, maintainer-authored presentation fix, with passing exact-head CI and no actionable introduced defects found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI’s Details components consume disclosure choices and measured content sizes, then paint expansion and collapse without changing Gateway data or saved preferences. flowchart TD
A[Disclosure input] --> B[Existing disclosure owners]
C[Content size changes] --> D[Layout measurement]
B --> D
D --> E[Shared painted transition]
B --> F[Task progress presentation]
F --> E
E --> G[Details panel]
Technical reviewBest possible solution: Keep the existing disclosure owners and use the shared painted transition with retained empty geometry and Task progress shell compensation. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the empty-opening path, and the added browser regression exercises content growing from 0 to 80 pixels; its reported base failure was not independently rerun under this read-only review. Is this the best way to solve the issue? The change is focused: existing owners retain disclosure state and lifecycle, the shared helper owns only animation frames, and the added regression protects a distinct late-content failure. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6f94c2a27fba. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +69, Tests +27. Total +96 across 5 files. Added test files: 0. View PR surface stats
LabelsLabel 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 Reviewed October 26, 2026, 6:05 AM ET / 10:05 UTC. |
|
Merged via squash.
|
What Problem This Solves
Fixes abrupt or inconsistent expansion in session Details, especially when People first loads its content or a section is toggled again before its transition finishes.
User Impact
People, Environment, Pull requests, Automations, Subagents, Processes, Outputs, and Task progress now expand and collapse with the same 300 ms easing, content fade, and small vertical separation. Reversing a transition starts from its visible position.
Why This Change Was Made
The native disclosures retain their existing state and keyboard behavior while sharing the painted transition. Empty asynchronous bodies stay clipped until their content can be measured, and unchanged resize notifications no longer restart an opening. Task progress also accounts for its changing summary height so neighboring sections do not jump.
Evidence
git diff --checkpass.Before:
After:
Panel opening, close/reopen, and individually labeled section transitions:
details-video-session-demo.mp4
Risk and coverage
The change is limited to Details disclosure presentation. Keyboard activation remains immediate, reduced motion uses a short fade, and mobile Details retains its page navigation. Production build and broader checks remain covered by PR CI.