permissions picker warnings and improved hover#299331
Merged
Conversation
Collaborator
justschen
commented
Mar 5, 2026
- warning the first time you switch to auto approve or auto pilot
- if global auto approve is on, you don't reset your permission per session
- better permission picker.
Contributor
There was a problem hiding this comment.
Pull request overview
Improves the chat permission picker UX by adding first-time warnings for elevated permission modes, refining option presentation, and aligning session permission reset behavior with the global auto-approve setting.
Changes:
- Add warning prompts when switching to Bypass Approvals or Autopilot for the first time per window session.
- Preserve per-session permission level across new sessions when global auto-approve is enabled.
- Add an ActionList option to render item descriptions below the title and apply it to the permission picker.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.ts | Adds first-time warnings + richer option descriptions and layout options for the permission picker. |
| src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.ts | Changes when the permission level resets on new sessions based on global auto-approve. |
| src/vs/platform/actionWidget/browser/actionWidget.css | Adds styling for “description below” list rendering. |
| src/vs/platform/actionWidget/browser/actionList.ts | Introduces descriptionBelow list option and adjusts row height/classing accordingly. |
You can also share your feedback on Copilot code review. Take the survey.
src/vs/workbench/contrib/chat/browser/widget/input/permissionPickerActionItem.ts
Outdated
Show resolved
Hide resolved
TylerLeonhardt
approved these changes
Mar 5, 2026
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.