-
Notifications
You must be signed in to change notification settings - Fork 31
chore: 🤖 add ipc handlers for rdp #3031
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: rdp_service
Are you sure you want to change the base?
chore: 🤖 add ipc handlers for rdp #3031
Conversation
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876 chore: 🤖 undo ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876 fix: 🐛 logs ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876 fix: 🐛 logs ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876 fix: 🐛 logs ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876 chore: 🤖 move up ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876 chore: 🤖 comment ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17876
The latest updates on your projects. Learn more about Vercel for GitHub.
|
// RDP Client Configuration | ||
const RDP_CLIENTS = [ | ||
{ | ||
name: 'Microsoft Remote Desktop', |
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.
Do we need the name
property here ? May be we can move the name to the translations and consumers can use the value
property as key and get the corresponding translation.
if (!preferredClient) { | ||
// Auto-detect and set the best available client | ||
preferredClient = await this.getBestDefaultRdpClient(); | ||
if (preferredClient !== 'none') { |
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.
Wondering if we need this check i.e preferredClient !== 'none' ? Asking because if a user selects "none" option as their preferred client, then in the below setPreferredRdpClient
method the store will end up setting preferredRdpClient value as "none".
Oh unless we plan to treat "none" option as null/undefined, then that would make sense.
Description
This PR adds handlers to support rdp client launch and select preferred clients
jira- https://hashicorp.atlassian.net/browse/ICU-17876
Screenshots (if appropriate)
How to Test
Checklist
a11y-tests
label 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.