-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Add extension details button to Manage Trusted Extensions dialog #251510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
this._commandService.executeCommand('_manageAccountPreferencesForExtension', e.item.extension.id, providerId) | ||
)); | ||
disposableStore.add(quickPick.onDidTriggerItemButton(e => { | ||
const buttonIndex = e.button && e.item.buttons ? e.item.buttons.indexOf(e.button) : -1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this check, save the button references as properties on the class and use those in the comparison
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! I've refactored the code to use class properties _viewDetailsButton
and _managePreferencesButton
and now use direct object comparison instead of indexOf
. This is more efficient and cleaner. 98e4943
…omparison Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR adds a new button to each extension item in the "Manage Trusted Extensions" dialog that allows users to quickly view extension details.
Problem
When managing trusted extensions for authentication accounts, users had no easy way to view extension details to help them make informed decisions about which extensions should have access to their accounts.
Solution
Added an eye icon button next to each extension in the dialog that executes
workbench.extensions.search
with an@id:extensionId
query to open the Extensions view filtered to show the specific extension's details.Changes
Codicon.eye
) button with tooltip "View extension details"workbench.extensions.search @id:extensionId
as requestedUser Experience
Users now see two buttons per extension:
Clicking the eye button opens the Extensions view with the specific extension displayed, helping users make informed decisions about extension permissions.
Fixes #204876.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
electronjs.org
node-gyp
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.