Skip to content

Conversation

DhariniJeeva
Copy link
Collaborator

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

  • I have added before and after screenshots for UI changes
  • I have added JSON response output for API changes
  • I have added steps to reproduce and test for bug fixes in the description
  • I have commented on my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a11y-tests label to run a11y audit tests if needed

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've documented the impact of any changes to security controls.
    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@DhariniJeeva DhariniJeeva requested a review from a team as a code owner October 17, 2025 00:23
Copy link

vercel bot commented Oct 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
boundary-ui Ready Ready Preview Comment Oct 17, 2025 0:23am
boundary-ui-desktop Ready Ready Preview Comment Oct 17, 2025 0:23am

// RDP Client Configuration
const RDP_CLIENTS = [
{
name: 'Microsoft Remote Desktop',
Copy link
Collaborator

@priya-patel04 priya-patel04 Oct 20, 2025

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') {
Copy link
Collaborator

@priya-patel04 priya-patel04 Oct 20, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants