Repository navigation
fix(ui): hide empty Environment and steady Details startup - #179560
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. |
Current combined-tree capturesThese full-window images were captured by the latest passing bundled-UI run on the reviewed combined tree The first frame keeps unknown optional progress absent during a slow read. The second shows Environment settled after its first row arrives. Both normal and reduced-motion scenarios passed, including focus, draft, cached reopening and menu checks. The before/after comparisons in the PR body are historical captures from the original proof, not screenshots of this current main baseline. |
Environment stays absent until its first dataCurrent branch commit: Before: The paired built-UI capture uses the same synthetic session and viewport. Normal and reduced-motion scenarios pass, including intermediate geometry, no late jump at settlement, preserved composer focus/draft, cached reopening and menu actions. Final validation: 21 focused tests, UI types, lint/styles/format, and independent Codex review without actionable P0–P2 findings. The Processes empty state visible here belongs to the separate #179558 change; these captures intentionally do not include or duplicate that patch. No live provider or WebKit proof is claimed. The comparison image contains only crops of the three full-window frames attached below, in order: before empty, after empty, first data. |
|
Merged via squash.
|
…179560) * fix(ui): keep session Details steady during initial loading * fix(ui): reveal Environment only when content arrives * test(ui): supply real data in Details fixtures






What Problem This Solves
Desktop Details showed an empty Environment heading and divider before any useful data arrived. Unknown Outputs and Progress also made the panel grow and shrink during startup, while Context appeared abruptly.
User Impact
Environment is completely absent until its first real machine, branch, worktree or diff content arrives, then the whole block enters smoothly. Cached content remains immediate. Unknown or empty optional Outputs and Progress stay absent. Newly arriving Context keeps its two-second grace period and smooth entrance.
Supersedes #179068. The original remains open with its retained merge history intact until this successor is verified and landed.
Why This Change Was Made
Environment visibility follows the rows it can actually render. Its data subscription remains outside the visibility boundary and continues while empty, even if the saved disclosure choice is collapsed. Environment and Context share the existing 200 ms entrance and focus cleanup; reduced motion uses a 100 ms opacity fade. The disclosure owner still handles later content resizing.
Evidence
Current paired full-window captures and validation compare the previous signed head
1496482with the new Environment behavior. The Processes empty state visible in these frames belongs to the separate #179558 change and is not included here.Risk and coverage
Desktop presentation only; Gateway reads and stored data retain their owners. Mobile loading states are unchanged. Environment's existing machine/menu, branch, worktree and valid diff rows all count as content. The separate Joined publication owner is coordinated to include its rendered publication and fallback-action rows when that change integrates. Chromium on macOS with a synthetic Gateway is covered; live-provider and WebKit behavior were not exercised.
Additional local replay observation
The pre-fix full-file browser replay also missed the expected diff-summary count in one existing case; that case did not fail in CI. No separate product repair is claimed for that observation. After the two scoped fixture corrections, the full browser file passed all 13 cases in its original order.