vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Banner for workspace trust is not significant enough and themed as info-only

Open timheuer opened this issue 10 months ago • 10 comments

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.98.0-insider (system setup) Commit: 44028decf1ca81a0cbf99a65ab72cca6735449f2 Date: 2025-02-14T05:04:46.748Z Electron: 34.1.0 ElectronBuildId: 10990655 Chromium: 132.0.6834.194 Node.js: 20.18.1 V8: 13.2.152.38-electron.0 OS: Windows_NT x64 10.0.26120

Problem

NEW users to VS Code and our extension are getting challenges with Workspace Trust creating extensions in restricted mode and thus the commands for the extension are not visible to them. Our users are repeatably getting in to a state where the banner about workspace trust is not discernable as something as important that may be blocking their functionality. It is marked as a security banner (the keyhole badge), but it is 'info' themed:

Image

This is very ignorable in the visual of a large screen. Even in our internal team case studies seasoned developers didn't see this as an important banner.

We have root-caused customer reports (https://github.com/microsoft/vscode-dotnettools/issues/1653) to our extension (that have been coming in at a sustaining pace) to this problem. This creates some new-user onboarding problems users exiting our workflow/funnels in getting in to the tool and our platform extension.

Proposal

We believe the banner should be more 'alert' styled and NOT themed with other color areas to remain CONSISTENT with the UX of an alert and not 'just a button' something like this:

Image

Is a much more visible cue to take action/understand the repercussions of any prior choice. It changes no functionality but alerts the user better than what exists today and tests well as a visible alert to pay attention to that may affect their experience.

timheuer avatar Feb 15 '25 00:02 timheuer