Skip to content
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

Link protection UI inconsistency #79900

Closed
stevencl opened this issue Aug 27, 2019 · 8 comments · Fixed by #80951
Closed

Link protection UI inconsistency #79900

stevencl opened this issue Aug 27, 2019 · 8 comments · Fixed by #80951
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded workbench-link Link protection in workbench

Comments

@stevencl
Copy link
Member

Issue Type: Bug
Testing: #79465
See the following:
image

I click the Open all links without prompt option, but can also unselect some of the links. Now I don't know what state I am in. Will all links open without a prompt, including the ones I unselected? Or will all links except for the ones I unselected open?

What I expected was that the open all links option would toggle the checked state of all links in the list.

VS Code version: Code - Insiders 1.38.0-insider (8cd00a7, 2019-08-27T06:13:54.903Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.93GB (2.77GB free)
Process Argv
Screen Reader yes
VM 0%
Extensions (12)
Extension Author (truncated) Version
tslint eg2 1.0.44
vscode-github-releases-updater joa 0.17.0
vscode-docker ms- 0.7.0
python ms- 2019.8.30787
remote-containers ms- 0.69.0
remote-ssh ms- 0.45.6
remote-ssh-edit ms- 0.45.6
remote-ssh-explorer ms- 0.45.6
remote-wsl ms- 0.39.4
vscode-remote-extensionpack ms- 0.16.0
azure-account ms- 0.8.4
test-search-rg rob 0.0.3
@octref octref added the info-needed Issue requires more information from poster label Aug 27, 2019
@octref
Copy link
Contributor

octref commented Aug 27, 2019

What I expected was that the open all links option would toggle the checked state of all links in the list.

On the other hand, if you have 10 domains checked and 10 unchecked, and clicks "Open all links without prompt", there's no way to restore the old state other than manually checking the 10 domains out of the 20. Making the first pick item behave different than other ones also doesn't feel nice — the checkbox right above it would toggle all on/off.

I feel "Open all links without prompt" is a pretty clear message. So marking this as-designed.

@octref octref closed this as completed Aug 27, 2019
@octref octref added *as-designed Described behavior is as designed and removed info-needed Issue requires more information from poster labels Aug 27, 2019
@stevencl
Copy link
Member Author

I don't agree. In the mockup above, if I click on a link to marketplace.visualstudio.com it is ambiguous if I will be prompted or not. The entry is not checked suggesting that I will be prompted, but open all links without prompt is selected, suggesting that I won't be prompted. Which one takes precedence? How do I know that?

@stevencl stevencl reopened this Aug 29, 2019
@stevencl
Copy link
Member Author

@misolorio - what do you think?

@octref
Copy link
Contributor

octref commented Aug 29, 2019

/cc @misolori

@miguelsolorio
Copy link
Contributor

I would treat the "Open All Links" as the same as a "Select All" and select every item in the list. It is very ambiguous if you have some unselected and then "Open all links" is selected. Another option would be to disable the rest of the items when "Open all links" is checked, because that is what will trump all other selections and you want to be clear to the user what this will do especially when others are unselected.

@octref
Copy link
Contributor

octref commented Aug 29, 2019

OK, I can try to make the quick input hide all items below the separator.

@octref octref added bug Issue identified by VS Code Team member as probable bug and removed *as-designed Described behavior is as designed labels Aug 29, 2019
@octref octref added this to the September 2019 milestone Aug 29, 2019
@octref
Copy link
Contributor

octref commented Aug 29, 2019

This would involve a lot of change as we should use a completely different API to achieve this, so pushing out to next milestone.

@octref
Copy link
Contributor

octref commented Sep 15, 2019

See #80595 (comment)

@aeschli aeschli added the verified Verification succeeded label Oct 2, 2019
@octref octref added the workbench-link Link protection in workbench label Oct 29, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded workbench-link Link protection in workbench
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants