-
Notifications
You must be signed in to change notification settings - Fork 24
feat(webapp): integrate the RDP and VNC WASM packages #1329
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
feat(webapp): integrate the RDP and VNC WASM packages #1329
Conversation
webapp/src/client/app/modules/web-client/ssh/web-client-ssh.component.ts
Outdated
Show resolved
Hide resolved
webapp/src/client/app/modules/web-client/ard/web-client-ard.component.ts
Show resolved
Hide resolved
|
@CBenoit Please review when you get a chance |
CBenoit
left a comment
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.
This the PR is quite big, would you be okay with adding "Copilot" as a reviewer and let it perform a first pass? I think I’m not able to add it myself, could you try on your side?
https://docs.github.com/en/copilot/using-github-copilot/code-review/using-copilot-code-review
Yes. Sure
I'm afraid I can't do it either. I can't set a reviewer because of a lack of rights |
Great job!
It’s now possible to configure all the codecs, excellent! A few questions and suggestions:
IIRC, we do not support Unicode input for RDP yet? This is planned, but until it’s actually implemented, could you hide the checkbox (comment it out with a comment explaining this should be enabled back later). (Also, this should not be checked by default for RDP in my opinion.)
As mentioned above, Unicode input should maybe be hardcoded to "true", with no checkbox. |
Maybe because you are not part of the organization. Since I can’t assign it on my side either, it’s likely not possible to request a review at all in this case. |
...client/form/form-controls/resolution-quality-control/resolution-quality-control.component.ts
Outdated
Show resolved
Hide resolved
webapp/src/client/app/modules/web-client/rdp/web-client-rdp.component.ts
Outdated
Show resolved
Hide resolved
webapp/src/client/app/modules/web-client/rdp/web-client-rdp.component.ts
Show resolved
Hide resolved
webapp/src/client/app/modules/web-client/rdp/web-client-rdp.component.ts
Outdated
Show resolved
Hide resolved
webapp/src/client/app/modules/web-client/telnet/web-client-telnet.component.ts
Show resolved
Hide resolved
| this.formService.addControlToForm( | ||
| this.form, | ||
| 'authMode', | ||
| this.formService.addControlToForm({ | ||
| formGroup: this.form, | ||
| controlName: 'authMode', | ||
| inputFormData, | ||
| true, | ||
| false, | ||
| SshAuthMode.Username_and_Password, | ||
| ); | ||
| isRequired: true, | ||
| defaultValue: SshAuthMode.Username_and_Password, | ||
| }); |
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.
praise: I think it’s more readable that way, especially for the booleans 👍 (named parameters)
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.
I’ve gone through the PR! Many improvements, good job! To be picky: I think it’s better to open smaller PRs for the small refactorings unrelated to the main change, and it’s easier to review all the things separately.
It disables the
Done. |
Yeah. I removed it for VNC and ARD |
I commented it out |
Done |
Done |
I'm sorry, you were right: we support it already. My only suggestion is to uncheck it by default (this is the default behavior in the official client too I believe). |
Got you! I think that if the server supports it, we may receive cursor images that we handle ourselves, right? And I understand that in this case the performance is not badly impacted. What about modifying this way?
|
Done |
CBenoit
left a comment
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.
LGTM! Excellent work!
|
Can you address this comment #1329 (comment) in a follow up PR? Thanks! |
Done in #1335 |
This PR changes the Devolutions Gateway's webapp to integrate the new modular VNC and RDP packages.
Key changes:
iron-remote-desktopEnabled Encodings,Disable Cursor, etc.Resolutions QualityandQuality Modesettings.Toggle Cursor Stylebutton andUnicode Keyboard Modecheckbox.Also, I've tested integration, and all 3 protocols are working as expected.
Here are some demos:
VNC.mp4
RDP.mp4
ARD.mp4