Skip to content

Sessions - fix title menu context when switching between views#308781

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/exact-fox
Apr 9, 2026
Merged

Sessions - fix title menu context when switching between views#308781
lszomoru merged 1 commit intomainfrom
lszomoru/exact-fox

Conversation

@lszomoru
Copy link
Copy Markdown
Member

@lszomoru lszomoru commented Apr 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 9, 2026 13:45
@lszomoru lszomoru enabled auto-merge (squash) April 9, 2026 13:45
@lszomoru lszomoru self-assigned this Apr 9, 2026
@lszomoru lszomoru added this to the 1.116.0 milestone Apr 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Screenshot Changes

Base: 9f03a14a Current: 84e4730b

Changed (1)

editor/inlineChatAffordance/InlineChatOverlay/Light
Before After
before after

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts how the Sessions “Changes” view updates its view-title toolbar/menu context so that the correct actions/context are shown after switching between views in the sessions window.

Changes:

  • Moves the reactive updateActions() trigger from the constructor to the view’s visibility-driven render lifecycle (onVisible()).
  • Scopes the title-action autorun to renderDisposables so it is cleared when the body is hidden.
Show a summary per file
File Description
src/vs/sessions/contrib/changes/browser/changesView.ts Changes when/how the view-title toolbar context/actions are refreshed based on active session resource changes.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread src/vs/sessions/contrib/changes/browser/changesView.ts
@lszomoru lszomoru merged commit a9d50bd into main Apr 9, 2026
27 checks passed
@lszomoru lszomoru deleted the lszomoru/exact-fox branch April 9, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants