Repository navigation
Agents: disable response-selection pop-ups on mobile web - #342053
Merged
Ulugbek Abdullaev (ulugbekna) merged 1 commit intoOct 16, 2026
Merged
Ulugbek Abdullaev (ulugbekna) merged 1 commit into
Ulugbek Abdullaev (ulugbekna) merged 1 commit into
Conversation
Preserve native text selection and transcript auto-scroll protection while suppressing selection pop-ups on mobile web. Keep both accessibility-help paths aligned with the available controls. Co-authored-by: Copilot <[email protected]>
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 16, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The narrow platform gate preserves selection lifecycle and desktop behavior, with focused regression coverage and no unresolved findings.
0 open findings
What changed in this PR
Disables Agents-window response-selection pop-ups on mobile web while preserving native selection, streaming scroll protection, and desktop behavior.
Changes:
- Shares a platform predicate across the widget and accessibility help.
- Suppresses both pop-up variants without disabling selection tracking.
- Adds regression coverage for platform gating, selection cleanup, and help content.
No blocking issues identified. Real-device iOS/Android testing remains unperformed.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/test/browser/accessibility/chatAccessibilityHelp.test.ts | Tests mobile-web help suppression. |
| src/vs/workbench/contrib/chat/browser/chat.ts | Adds shared availability predicate. |
| src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts | Gates selection help by availability. |
| src/vs/sessions/contrib/chat/test/browser/sessionsChatAccessibilityHelp.test.ts | Tests help for both pop-up variants. |
| src/vs/sessions/contrib/chat/test/browser/responseSelectionSideChatController.test.ts | Tests gating, native selection, and cleanup. |
| src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts | Hides unsupported selection instructions. |
| src/vs/sessions/contrib/chat/browser/responseSelectionSideChatController.ts | Suppresses pop-ups while retaining scroll protection. |
| src/vs/sessions/contrib/chat/browser/chatView.ts | Passes platform availability to the controller. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Ulugbek Abdullaev (ulugbekna)
deleted the
ulugbekna/agents/disable-interactive-widget-agents
branch
October 16, 2026 14:31
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.
Disable the Agents-window response-selection pop-ups on mobile web so that selecting text uses the browser's native selection and copy controls without opening an additional question input or action menu.
Changes
Validation
All checks passed on the final changes:
Client build:
npm run build-fast -- --client-only- passed.Module and type layers:
npm run valid-layers-check- passed.Changed-file lint:
Result: passed for all eight changed TypeScript files.
Focused regression tests:
./scripts/test.sh --reporter dot --run src/vs/sessions/contrib/chat/test/browser/responseSelectionSideChatController.test.ts --run src/vs/sessions/contrib/chat/test/browser/sessionsChatAccessibilityHelp.test.ts --run src/vs/sessions/contrib/chat/test/browser/chatView.test.ts --run src/vs/workbench/contrib/chat/test/browser/accessibility/chatAccessibilityHelp.test.ts --grep 'ResponseSelectionSideChatController|SessionsChatAccessibilityHelp|switching chats on one view|Chat Accessibility Help'Result: 168 tests passed.
Real-device iOS/Android browser testing was not performed.