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

accessibility.signalOptions.delays not user friendly #213618

Closed
isidorn opened this issue May 28, 2024 · 14 comments · Fixed by #214163
Closed

accessibility.signalOptions.delays not user friendly #213618

isidorn opened this issue May 28, 2024 · 14 comments · Fixed by #214163
Assignees
Labels
accessibility-signal Issues pertaining to accessibility signals bug Issue identified by VS Code Team member as probable bug feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders under-discussion Issue is under discussion for relevance, priority, approach verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented May 28, 2024

Testing #213344

Right now the structure of accessibility.signalOptions.delays settings is sort of leaking your implementation. It has a complex structure, and because of that is not shown in the settings editor, but only in the settings.json.

Can we simplify the structure of this setting so the settings UI editor supports showing it?

@meganrogge
Copy link
Contributor

what would you suggest? I don't think adding 9 settings would be a good idea

@meganrogge meganrogge added the info-needed Issue requires more information from poster label May 29, 2024
@isidorn
Copy link
Contributor Author

isidorn commented May 29, 2024

Any simplification as long as it shows up in the settings UI.
One example:

Get rid of signalOptions. Get rid of volume. Then have:

accessibility.signals.debouncePositionChanges
accessibility.signals.delays

@meganrogge
Copy link
Contributor

That's what we had originally and @hediet suggested we introduce signal options.

@meganrogge meganrogge assigned hediet and unassigned meganrogge May 29, 2024
@meganrogge meganrogge removed the info-needed Issue requires more information from poster label May 29, 2024
@hediet
Copy link
Member

hediet commented May 30, 2024

The reason why I suggested signalOptions was that it stands out from all the other signals.
If you have

  • accessibility.signals.progress (signal)
  • accessibility.signals.delays (setting for all signals)
  • accessibility.signals.save (signal)
  • ..., see Code_-_Insiders_TTU4YHIvUr

... it is very confusing which is a signal and which is a signal setting. It's like hiding the needle in the haystack.

@hediet hediet added under-discussion Issue is under discussion for relevance, priority, approach accessibility-signal Issues pertaining to accessibility signals labels May 30, 2024
@isidorn
Copy link
Contributor Author

isidorn commented May 30, 2024

Good point. So with your suggestion we are optimizing for settings.json users, and we are failing those that use the settings UI. Since the settings UI is the default experience my suggestion is to optimize for that.

Though I have no strong feeling either way.

@hediet
Copy link
Member

hediet commented May 30, 2024

I think the settings UI sorts alphabetically as well. So if we'd mix the settings with the signals, it would be confusing there as well.

Imagine if there are 3 interesting settings somewhere in this list of 29 audio cues:

Code_-_Insiders_0wYFG0W0bL


We should just make sure Signal Options is editable in the settings editor:

Code_-_Insiders_q2gSUET4Cr

@meganrogge
Copy link
Contributor

@rzhao271 is there a way we can do that?

'accessibility.signalOptions': {
type: 'object',
additionalProperties: false,
properties: {
'volume': {
'description': localize('accessibility.signalOptions.volume', "The volume of the sounds in percent (0-100)."),
'type': 'number',
'minimum': 0,
'maximum': 100,
'default': 70,
},
'debouncePositionChanges': {
'description': localize('accessibility.signalOptions.debouncePositionChanges', "Whether or not position changes should be debounced"),
'type': 'boolean',
'default': false,

@rzhao271
Copy link
Contributor

There's currently no support in the Settings editor for objects where the values could also be objects, even if the total object is just two levels deep.

@meganrogge
Copy link
Contributor

meganrogge commented May 30, 2024

We should either close this as designed or go back to the many settings vs this object. Which do you think @hediet ?

@isidorn
Copy link
Contributor Author

isidorn commented May 30, 2024

Both options work for me.

@meganrogge
Copy link
Contributor

meganrogge commented May 30, 2024

Another argument for destructuring is when I search for debounce, debouncePositionChanges doesn't even show up 🐛

Screenshot 2024-05-30 at 11 53 47 AM

@hediet
Copy link
Member

hediet commented Jun 3, 2024

Yes, we should destructure the object! But keep the namespace "signalOptions", e.g. "accessibility.signalOptions.delays", ....

@meganrogge meganrogge self-assigned this Jun 3, 2024
@meganrogge meganrogge added feature-request Request for new features or functionality bug Issue identified by VS Code Team member as probable bug labels Jun 3, 2024
@meganrogge meganrogge added this to the June 2024 milestone Jun 3, 2024
meganrogge added a commit that referenced this issue Jun 3, 2024
@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jun 3, 2024
@vscodenpa vscodenpa added the insiders-released Patch has been released in VS Code Insiders label Jun 5, 2024
@meganrogge meganrogge added the verification-needed Verification of issue is requested label Jun 19, 2024
@meganrogge
Copy link
Contributor

verify that all of the accessibility.signalOptions.* settings work and are user friendly. Also verify that if you have settings of the old structure and reload the window, they get migrated correctly.

@isidorn isidorn added the verified Verification succeeded label Jun 20, 2024
@isidorn
Copy link
Contributor Author

isidorn commented Jun 20, 2024

This works better now, thank you! Adding verified label.

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accessibility-signal Issues pertaining to accessibility signals bug Issue identified by VS Code Team member as probable bug feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders under-discussion Issue is under discussion for relevance, priority, approach verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants