Repository navigation
fix(ui): smooth the first Details content load - #186048
Merged
Merged
Conversation
Contributor
|
🦞👀 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. |
vyctorbrzezowski
marked this pull request as ready for review
October 27, 2026 15:00
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
Co-authored-by: vyctorbrzezowski <[email protected]>
Retain the desktop scroll shell across the lazy fallback without adding warm-path geometry reads or synchronous fade work. Preserve the first-open gate, keep desktop content styling lazy, and verify normal, throttled, reduced-motion, and settled-scroll behavior. Co-authored-by: vyctorbrzezowski <[email protected]>
Merge the original PR head while retaining the reviewed repair tree byte-for-byte. This preserves the incoming author's commit and permits fast-forward correction publication. Co-authored-by: vyctorbrzezowski <[email protected]>
Use low-contrast, slower Details shimmer without changing other skeletons. Drive the cold handoff from fallback and composition lifecycles, and cancel its temporary height through visible ownership, including parked DOM. Own the presentation derivation before settlement callbacks read it. Co-authored-by: vyctorbrzezowski <[email protected]>
Baseline-Refresh: 664028d798b020a31c16cecfff344748eff3e931 Co-authored-by: vyctorbrzezowski <[email protected]>
Collaborator
Baseline-Refresh: e55bdb8fc65adbc84a3a9e06b711c4e663dde863 Co-authored-by: vyctorbrzezowski <[email protected]>
Keep shared motion timing separate from lazy disclosure behavior. Let WAAPI own temporary height and group equivalent shell selectors without changing warm-path work or budget thresholds. Co-authored-by: vyctorbrzezowski <[email protected]>
Collaborator
|
Merged via squash.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Fixes #186047.
Problem and solution
Desktop Details abruptly shrinks when its first loading placeholder is replaced by session content. Keep one scroll shell across the actual lazy boundary, inside the existing first-open gate. The mounted fallback arms a bounded height handoff; cached content never arms it. Completion, focus, closure, and disposal cancel temporary sizing. Reduced motion skips the transition.
Keep the original asynchronous fade/scrollbar measurement path. Added height reads occur only while a displayed fallback or its handoff is active. Warm and settled scrolling adds no geometry reads, animations, or media subscriptions. Retired scrollbar-width measurement stays removed.
The small shell stylesheet is eager; the 15 KiB content stylesheet remains lazy. Shared motion timing is separated from the lazy disclosure implementation, so importing the timing constant does not pull that implementation into chat boot. WAAPI alone owns temporary height, and equivalent shell selectors are grouped without changing specificity.
Details skeletons are quieter on desktop and mobile: highlight opacity is 25% of the previous effect and duration is 1.8× the theme duration (3.6 s by default). Other skeletons and reduced-motion behavior are unchanged.
Evidence
Final reviewed/published source:
45595c2936bbac737f8579a6bebc01dba0223c74.The owning performance checker first reproduced the failure on the integrated CI source, then passed after the repair against baseline
735ad207. No thresholds or exceptions changed:Chat boot remains at 20 requests. Required GitHub checks must also pass on the published head before landing.
Risk and scope
The height transition is cold-load-only. Warm rendering stays immediate; there is no retained blank space, loading delay, new configuration, or Gateway behavior change.
Visual evidence
Same midpoint of the loading highlight, before and after the quieter treatment:
Inspected before/after loading and settled-panel screenshots, with capture details.