When the input has content, the widget now stays visible and clamps to viewport edges (respecting sticky scroll height) instead of hiding when the anchor line scrolls out of view.
Fixes https://github.com/microsoft/vscode/issues/291075
* Fix issue with runSubagent result text
It was collecting text between tool calls when it should only collect the text after the final tool calls.
And edits in subagents left behind an empty codeblock in the result text.
* Delete comment
* chat: use ConnectionObserverElement to track template mount state
Replaces the hacky 'renderedPartsMounted' boolean with a custom element
that leverages the native connectedCallback and disconnectedCallback
lifecycle hooks to track whether parts are mounted in the DOM.
- Adds ConnectionObserverElement custom element (connection-observer) that
fires onDidConnect and onDidDisconnect callbacks
- Updates IChatListItemTemplate to use connectionObserver element instead
of renderedPartsMounted boolean
- Removes manual mount state management in disposeElement since the
element's disconnectedCallback handles it automatically
- Uses native element.isConnected property to check mount state
Fixes https://github.com/microsoft/vscode/issues/290903
(Commit message generated by Copilot)
* pr comments
Users disliked that the inline chat affordance (sparkle icon) would
only show once per selection and require changing the selection to
see it again. This change removes the suppressAffordance mechanism
so the affordance remains visible as long as there is a valid text
selection.
Fixes#291036
Guard old sessions from Insiders that may have Pending or NeedsInput states,
converting them to Complete state for consistency. This ensures proper handling
of sessions migrated from pre-PR #288161 versions.
- Added check to convert Pending/NeedsInput states to Complete state
- Preserves backward compatibility with old session data
- Prevents state display issues in migrated sessions
(Commit message generated by Copilot)
* layout - reduce scope of `workbench.secondarySideBar.forceMaximized` to only apply when editors are closed
We later need to revisit how a better layout would be for focus on sessions, but the current implementation has too many bugs.
* Update src/vs/workbench/browser/workbench.contribution.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Chat - add metadata to `ChatSessionItem`
* Pull request feedback
* Update src/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com>
* Switch to a deep equal check
---------
Co-authored-by: Matt Bierner <12821956+mjbvz@users.noreply.github.com>
* fix: update disk badge icons for dmg
* chore: try with code icons as badge
* fix: patch badge icon outside of dmgbuild
Refs https://github.com/dmgbuild/dmgbuild/issues/278
which doesn't work well on macOS 26. We avoid forking
the project in this manner.