feat(webapp): integrate the RDP and VNC WASM packages#1329
Conversation
|
Benoît Cortier (@CBenoit) Please review when you get a chance |
Benoît Cortier (CBenoit)
left a comment
There was a problem hiding this comment.
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. |
| 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.
praise: I think it’s more readable that way, especially for the booleans 👍 (named parameters)
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 |
Benoît Cortier (CBenoit)
left a comment
There was a problem hiding this comment.
LGTM! Excellent work!
79b09a6
into
Devolutions:master
|
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