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

Show checkmarks in top level menu to indicate activity of a toggle #14986

Closed
Tekbr opened this issue Nov 4, 2016 · 5 comments · Fixed by #62337 or #60004
Closed

Show checkmarks in top level menu to indicate activity of a toggle #14986

Tekbr opened this issue Nov 4, 2016 · 5 comments · Fixed by #62337 or #60004
Assignees
Labels
feature-request Request for new features or functionality verified Verification succeeded
Milestone

Comments

@Tekbr
Copy link

Tekbr commented Nov 4, 2016

  • VSCode Version: 1.8.0 - insider (dbf3ba7)
  • OS Version: Windows 10

-- Sorry for the English, I used Google Translator --

Place a check in some menu to see if it is active or not. Similar to the Auto Save File> Auto Save

Mainly for options that do not change the text in the menu.

Example: Toggle Word Wrap, Toggle Render WhiteSpace, Toggle Full Screen, Toggle Developer Tools, among others.

1

@isidorn
Copy link
Contributor

isidorn commented Nov 7, 2016

I like this idea since for consistency.
Here is a code pointer
You can see how the 'auto save' option is added. And you should be able to read from the configuration service the current settings of word wrap, full sreen etc...

fyi @bpasero

@isidorn isidorn removed their assignment Nov 7, 2016
@isidorn isidorn added this to the Backlog milestone Nov 7, 2016
@isidorn isidorn added help wanted Issues identified as good community contribution opportunities feature-request Request for new features or functionality labels Nov 7, 2016
@bpasero
Copy link
Member

bpasero commented Nov 7, 2016

The only reason our menu is not more dynamic is because it lives on the main side whereas many of the commands execute on the renderer side and thus would need to send back to the main side that the state changed. Not an easy area for a PR I fear.

@bpasero bpasero changed the title Place a check in some menu to see if it is active or not Show checkmarks in top level menu to indicate activity of a toggle Nov 7, 2016
@bpasero bpasero added workbench and removed help wanted Issues identified as good community contribution opportunities labels Nov 7, 2016
@bpasero bpasero added the menu label May 26, 2017
@bpasero bpasero removed the workbench label Nov 15, 2017
@bpasero bpasero removed this from the Backlog milestone Nov 17, 2017
@isidorn isidorn modified the milestones: September 2018, October 2018 Oct 9, 2018
@sbatten sbatten added the verification-needed Verification of issue is requested label Oct 31, 2018
@miguelsolorio miguelsolorio added the verified Verification succeeded label Oct 31, 2018
@miguelsolorio
Copy link
Contributor

Verified that the checks show up when toggled, also found a bug with toggling word wrap (filed #62307)

@miguelsolorio
Copy link
Contributor

miguelsolorio commented Oct 31, 2018

Actually, I've found inconsistent behavior with all of the toggle items under Appearance, the items do trigger but there is no checkmark when toggled. Re-opening.

@miguelsolorio miguelsolorio reopened this Oct 31, 2018
@miguelsolorio miguelsolorio added verification-found Issue verification failed and removed verified Verification succeeded labels Oct 31, 2018
@sbatten sbatten modified the milestones: October 2018, November 2018 Nov 1, 2018
@sbatten sbatten removed verification-found Issue verification failed verification-needed Verification of issue is requested labels Nov 1, 2018
@bpasero
Copy link
Member

bpasero commented Nov 21, 2018

Some UX feedback (@misolori): I think we should not mix "Toggle..." and showing a checkmark. Either it should read e.g. "Sidebar" or "Word Wrap" having a checkmark or not or we should not show a checkmark and it should be "Show Sidebar"/"Hide Sidebar" or "Enable Word Wrap"/"Disable Word Wrap".

Given my example we can also decide case by case. E.g. I find "Show/Hide Sidebar" easy to understand but for "Word Wrap" I can see us using a checkmark similar to "Auto Save".

@sbatten we should probably make a pass over all our "Toggle..." in the menu and decide case by case, e.g. I see "Toggle Minimap" with a checkmark which is weird too.

@sbatten sbatten modified the milestones: November 2018, December 2018 Dec 3, 2018
@sbatten sbatten modified the milestones: February 2019, March 2019 Feb 21, 2019
@sbatten sbatten modified the milestones: March 2019, On Deck Mar 26, 2019
@bpasero bpasero modified the milestones: On Deck, June 2019 Jun 4, 2019
@alexr00 alexr00 added the verified Verification succeeded label Jun 25, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality verified Verification succeeded
Projects
None yet
6 participants