-
-
Notifications
You must be signed in to change notification settings - Fork 716
Update Remote's dialogs to better match NVDA #17814
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
Conversation
In addition to what is already done here:
Will you take care to fix this in this PR or should new issues be opened? Regarding the removal of radio buttons, I do not understand it. Even rare, they are present in NVDA's interface: profile dialog, new dic entry dialog, |
I also wonder: What do you think? |
@CyrilleB79 thanks for the feedback!
Yep, this is being worked on in this PR
This was a big part of this PR. I think all of the work should be done, so if you want to give it a spin and let me know what you think, feel free.
I'm a little unsure about this myself.
Thanks for those examples. Have a play with the redesigned dialogs and let me know what you think. The change between dropdowns and radio buttons is fairly easy to make. I did experiment with keeping the radio buttons, but I found that having grouped radio buttons contained within another grouping was not verbalised very well. I can do more experimentation if we think that it's worthwhile.
I'll have a chat with the rest of the team about that. Thanks for the suggestion. |
I just had a look at the new dialogs (Connect and settings). With the little that I am able to see, the layout seems ok. I still have questions and remarks:
|
Also: |
Yes, I agree with this.
My bad, it looks like I marked this as ready to review but hadn't pushed my changes! There is now a progress dialog while attempting to get the external IP.
I don't quite follow, but I think this should have been fixed by adding the progress dialog.
If using a remote relay server and port other than 6837, you can append a colon and the port number (ex. example.com:1234). This could definitely be clarified in the UI.
Most users should not need to specify the port to use when using a relay server, but may do so by appending a colon and the port number (ex. example.com:1234) if this is needed. I have noted this in the user guide.
I'm not experiencing that here, but I can have a look at explicitly focusing it if that isn't being done already.
I was personally a little torn about the terminology to use here. I think calling it a "remote relay server" is a bit confusing, as we're using the word "remote" as an adjective, but it is in a context where "remote" could be interpreted as the name of the feature. This is something that I want to discuss with the team when they return from CSUN, and possibly tackle along with your issue #17815 about using a consistent name. |
…d and invalid combination of host key and port
# Conflicts: # source/remoteClient/menu.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reads well
Link to issue number:
Fixes #17786
Fixes #17787
Fixes #17816
Partial fix of #17788
Fixes #17854
Summary of the issue:
Remote's dialogs, in particular the settings panel and connection dialog, do not match the rest of NVDA's dialogs.
Description of user facing changes
Description of development approach
Overall
Added
DisplayStringEnum
s for connection mode and server type, and used them when asking for that information from the user. Additionally updated the config spec to use those types, and reads from/writes to config to use them too.Settings panel
RemoteSettingsPanel
as internalRemoteSettingsPanel
toNVDASettingsDialog._doOnCategoryChange
Connection dialog
BoxSizerHelper
.wx.SimpleBook
and awx.Choice
to switch which panel to show (ClientPanel
orServerPanel
).ClientPanel
,ServerPanel
andDirectConnectDialog
as internal.Testing strategy:
Attempted to save settings with automatic connection enabled and various combinations of controls populated to check that validation still works as expected.
Established connections directly with various combinations of settings to ensure validation still works correctly.
Known issues with pull request:
Errors are logged when asking a relay server to generate a key fails, or getting the external IP fails. These were not introduced by this PR and are out of scope.
Code Review Checklist:
@coderabbitai summary