-
Notifications
You must be signed in to change notification settings - Fork 33
Llb/rdp client launch #3058
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
base: main
Are you sure you want to change the base?
Llb/rdp client launch #3058
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
92be47c to
c5ba116
Compare
priya-patel04
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.
Everything looks good! Excited to get this in 🎉
I missed updating few magic strings - I have small PR covering it
* feat: 🎸 added a new RDP service * fix: 🐛 rdp test * refactor: 💡 update error handling for fetching rdp clients * refactor: 💡 addressed comments * fix: 🐛 revert private field * refactor: 💡 addressed comments * refactor: 💡 updated rdp clients to array of strings
* feat: 🎸 preferred clients section on settings page * chore: 🤖 update mock ipc with new handlers * refactor: 💡 moved windows rdp protocol to const * refactor: 💡 moved rdp calls to app route * test: 💍 fixed failings tests * refactor: 💡 addressed comments * fix: 🐛 fixed failing tests * refactor: 💡 add mock rdp service calls to tests * refactor: 💡 addressed comments * test: 💍 add additional tests * refactor: 💡 fixed test failure
* feat: 🎸 preferred clients section on settings page * refactor: 💡 moved rdp calls to app route * test: 💍 fixed failings tests * refactor: 💡 addressed comments * fix: 🐛 fixed failing tests * refactor: 💡 add mock rdp service calls to tests * feat: 🎸 adds open button to session details page * fix: 🐛 translation string * refactor: 💡 address feedback * refactor: 💡 address comment * fix: 🐛 test failure
* test: 💍 e2e test for rdp client launch * test: 💍 added rdp test helper * refactor: 💡 misc * refactor: 💡 addressed comments * refactor: 💡 removed similar test
* refactor: 💡 updated logic to store preferred rdp client * refactor: 💡 simplified preferred client logic
a6699ed to
3c763ed
Compare
lisbet-alvarez
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.
Looks good! Also tested in mac + windows! 🎉
| app.on('quit', () => { | ||
| cacheDaemonManager.stop(); | ||
| // we should stop any active RDP client processes | ||
| rdpClientManager.stopAll(); |
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.
It looks like we don't stop the processes when we logout but still kill the sessions, should we have killed the RDP processes as well on logout?
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.
good point, I think we should do the same for logout as well. I will raise a pr to address this
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.
addressed here
Description
This PR contains all the commits for RDP client launch work.
Screenshots (if appropriate)
How to Test
DM me or @priya-patel04 for cluster url
To test setting page functionality:
Navigate to Settings page and verify a new Preferred Clients section is rendered
Test updating your preferred client to None. Reopen the app and verify None selection persists.
To test Target and details page
Openfor one of the RDP targets, it should launch Windows App for Mac and Mstc if you are testing this on Windows osTo test Session details page
Checklist
a11y-testslabel to run a11y audit tests if neededPCI review checklist
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.