Skip to content

chat sticky scroll: more fluid, less vertical space - #332095

Merged
Justin Chen (justschen) merged 4 commits into
mainfrom
justin/quaxly
Aug 22, 2026
Merged

Justin Chen (justschen) merged 4 commits into
mainfrom
justin/quaxly

Conversation

@justschen

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings August 22, 2026 06:18
@justschen

Copy link
Copy Markdown
Collaborator Author

Copilot resolve the merge conflicts in this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves chat sticky scrolling by using compact request bubbles with smoother activation and push-out behavior.

Changes:

  • Adds custom sticky-source ranges and dynamic sizing to the tree framework.
  • Simplifies sticky chat rows and updates styling, shadows, click handling, and timeline layering.
  • Adds extensive regression coverage for sticky rendering and transitions.
Show a summary per file
File Description
src/vs/base/browser/ui/tree/abstractTree.ts Adds source ranges, visibility state, and refresh APIs.
src/vs/base/browser/ui/tree/asyncDataTree.ts Forwards custom source-range providers.
src/vs/base/browser/ui/tree/objectTree.ts Preserves new state during node compression.
src/vs/base/test/browser/ui/tree/objectTree.test.ts Tests activation, custom ranges, and push-out.
src/vs/platform/list/browser/listService.ts Honors explicit sticky-scroll options.
src/vs/sessions/contrib/chat/browser/chatView.ts Supplies the Sessions sticky-row shadow.
src/vs/workbench/contrib/chat/browser/promptTimeline/media/promptTimeline.css Raises the timeline above transcript chrome.
src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineWidgetContrib.ts Adjusts legacy-header experiment gating.
src/vs/workbench/contrib/chat/browser/widget/chatListRenderer.ts Measures request bubbles and simplifies sticky rows.
src/vs/workbench/contrib/chat/browser/widget/chatListWidget.ts Configures and refreshes custom sticky scrolling.
src/vs/workbench/contrib/chat/browser/widget/chatWidget.ts Hardens sticky-row clicks and propagates shadows.
src/vs/workbench/contrib/chat/browser/widget/media/chat.css Styles compact, merging sticky request bubbles.
src/vs/workbench/contrib/chat/test/browser/promptTimeline/promptTimelineGutterRail.test.ts Tests flyout stacking.
src/vs/workbench/contrib/chat/test/browser/promptTimeline/promptTimelineVisibility.test.ts Tests experiment-resolution gating.
src/vs/workbench/contrib/chat/test/browser/widget/chatListRenderer.test.ts Updates renderer delegate fixtures.
src/vs/workbench/contrib/chat/test/browser/widget/chatListWidget.test.ts Adds sticky-row rendering regressions.
src/vs/workbench/contrib/chat/test/browser/widget/chatWidget.test.ts Tests click handling during synchronous disposal.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 17/17 changed files
  • Comments generated: 1
  • Review effort level: Balanced

# Conflicts:
#	src/vs/workbench/contrib/chat/test/browser/widget/chatWidget.test.ts

Co-authored-by: justschen <[email protected]>

Copilot AI commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Resolved the merge conflicts by merging the latest origin/main. The only conflict was in chatWidget.test.ts — I combined the two import sets and kept both the sticky-request click test and main's new chat-pet unlock tests. Verified the merged sources with npm run typecheck-client (passes). Done in c014858.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Code changes are clean and well-structured.

@justschen
Justin Chen (justschen) marked this pull request as ready for review August 22, 2026 08:31
@justschen
Justin Chen (justschen) enabled auto-merge (squash) August 22, 2026 08:31
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Benjamin Christopher Simmonds (@benibenj)

Matched files:

  • src/vs/base/browser/ui/tree/abstractTree.ts
  • src/vs/base/browser/ui/tree/asyncDataTree.ts
  • src/vs/base/browser/ui/tree/objectTree.ts

@justschen
Justin Chen (justschen) merged commit 34a41e0 into main Aug 22, 2026
27 checks passed
@justschen
Justin Chen (justschen) deleted the justin/quaxly branch August 22, 2026 14:07
@vs-code-engineering vs-code-engineering Bot added this to the 1.135.0 milestone Aug 22, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants