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

View menu consistency and length #158458

Closed
bpasero opened this issue Aug 18, 2022 · 13 comments · Fixed by #163315 or #164493
Closed

View menu consistency and length #158458

bpasero opened this issue Aug 18, 2022 · 13 comments · Fixed by #163315 or #164493
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders menus Menu items and widget issues ux User experience issues
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Aug 18, 2022

We are filling the "View" menu more and more with text editor specific things:

image

Bringing this up as a UX issue to think about if this is scaling going forward. Especially in the context of VSCode supporting custom editors and notebooks, I think this may not be the right solution, at the minimum maybe have a sub menu?

//cc @hediet

@bpasero bpasero added ux User experience issues menus Menu items and widget issues labels Aug 18, 2022
@miguelsolorio
Copy link
Contributor

Would a menu item like Editor Features > make sense either in the first group or at the end?

@gjsjohnmurray
Copy link
Contributor

Would a menu item like Editor Features > make sense either in the first group or at the end?

Putting it near the top would give its submenu more vertical space to grow into.

@daviddossett
Copy link
Contributor

Would a menu item like Editor Features > make sense either in the first group or at the end?

To clarify, would that capture just these items? 👍 if so. Seems like it would fit nicely under Editor Layout >.

CleanShot 2022-08-18 at 11 08 21@2x

@miguelsolorio
Copy link
Contributor

Here's to clarify what I meant: if we look at the "categories" it makes sense to be placed in the first group:

CleanShot 2022-08-18 at 11 48 12

but, it also seems like it would fit inside of the other submenu groups even though they are different categories:

CleanShot 2022-08-18 at 11 48 46

@daviddossett
Copy link
Contributor

The second option is what I had in mind since it feels more closely aligned to how the editor is configured. The first section roughly seems like a place to do something once vs. toggling elements on/off.

@miguelsolorio
Copy link
Contributor

The argument against that is those two items (Appearance and Editor Layout) are layout specific, whereas these would be feature toggles, so a little different.

@bpasero
Copy link
Member Author

bpasero commented Aug 19, 2022

Yes, +1 for grouping into a category. I think somewhere close to "Editor Layout" is OK since that applies to editors.

One thing to consider is that afaik these toggles only apply to text editors, not all editors.

@miguelsolorio miguelsolorio added this to the September 2022 milestone Aug 29, 2022
@miguelsolorio miguelsolorio removed their assignment Sep 2, 2022
sbatten added a commit that referenced this issue Oct 10, 2022
@vscodenpa vscodenpa added the unreleased Patch has not yet been released in VS Code Insiders label Oct 11, 2022
@sbatten sbatten self-assigned this Oct 11, 2022
@vscodenpa vscodenpa added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Oct 12, 2022
@sbatten
Copy link
Member

sbatten commented Oct 20, 2022

As @jrieken pointed out, this has a high chance of causing anger for a minor beautification. Based on his experience, he would not move forward with this for the most popular commands in the menu. This looks to be Word Wrap.

Should we keep word wrap where it is and add a submenu entry below that named: "Additional Editor Options"

@sbatten sbatten reopened this Oct 20, 2022
@vscodenpa vscodenpa removed the insiders-released Patch has been released in VS Code Insiders label Oct 20, 2022
@daviddossett
Copy link
Contributor

As a gut reaction it feels strange to split these out into a single option + all others folded into a submenu. Would these still be in this section?

CleanShot 2022-10-20 at 08 45 18@2x

Or would everything be put back at the bottom like it was before? If so I might argue for us to simply revert to what was there before vs. some in-between solution.

CleanShot 2022-10-20 at 08 46 14@2x

@sbatten
Copy link
Member

sbatten commented Oct 20, 2022

I would guess it makes sense to keep it on the bottom. It seems the original problem is that we keep adding to this list so we cannot scale it. So having the top/high-use ones in the main entry and overflowing has some merit, but I agree that in between feels strange.

@sbatten
Copy link
Member

sbatten commented Oct 20, 2022

@jrieken was your experience in the top level menu or for a context menu entry? if it was a context menu, I would imagine the usage was significantly higher, but I'd like to verify that through data. Could you share the command id?

@jrieken
Copy link
Member

jrieken commented Oct 21, 2022

Yeah, those was the editor context menu. It's already one or two years ago but I remember folks missed some but not all peek actions. Like peek references/definition are popular but peek implementation isn't etc. We decided all go-to commands are more popular than any peek command. That looks nice/stable but wasn't a good choice. That's why I am in favour of a hybrid approach

sbatten added a commit that referenced this issue Oct 24, 2022
@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Oct 24, 2022
formigoni pushed a commit to formigoni/vscode that referenced this issue Oct 27, 2022
@bpasero
Copy link
Member Author

bpasero commented Nov 7, 2022

Works for me, thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders menus Menu items and widget issues ux User experience issues
Projects
None yet
7 participants