Skip to content

Conversation

@rhys96
Copy link
Contributor

@rhys96 rhys96 commented Oct 24, 2025

Description

I’ve completed a set of modifications to improve the user experience and session behaviour within Devolutions Gateway:

  • Auto-Complete Fix: Resolved issues with auto-complete functionality.
  • Container Visibility: Implemented logic to hide the app-net-scan container, preventing it from displaying during the initial session load.
  • Default Settings: Enabled Unicode keyboard mode and dynamic window resizing by default to enhance usability.
  • Session Closure Behaviour: Modified the "Close Session" button to fully close the session window, avoiding returns to the session manager.
  • Dynamic Module Path Construction: Refactored the PowerShell module path setup to be dynamically constructed.
  • Input Variables: Added slug and display_name as input variables.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/windows-rdp
New version: v1.3.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

"None"

@DevelopmentCats
Copy link
Contributor

I'll give this a test and a review thanks for the contribution! @rhys96

@DevelopmentCats
Copy link
Contributor

@rhys96

I made a few additions since some of the other variables were incorrect based on the descriptions, but everything looks and works great!

I think we are good here to merge but I will need someone else to approve since I made some commits 😸

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes auto-complete functionality in the Devolutions Gateway integration and enhances the user experience by hiding UI elements during initial session load, enabling better default settings, and improving session closure behavior. The changes update the module to version 1.3.0.

Key changes include:

  • Fixed auto-complete by hiding the app-net-scan container and refactoring form detection logic
  • Enabled Unicode keyboard mode and dynamic window resizing by default
  • Modified the "Close Session" button to close the window instead of returning to the session manager

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
powershell-installation-script.tftpl Added TLS 1.2 support, PSGallery trust configuration, support for "latest" version, and dynamic module path detection
main.tf Added display_name, slug, and icon variables for customization; changed default Devolutions Gateway version to "latest"
main.test.ts Updated test expectations to reflect new "latest" default version and simplified regex pattern for form field matching
devolutions-patch.js Refactored form detection to use polling instead of mutation observers; added logic to hide app-net-scan, enable default checkboxes, and handle window closure
README.md Updated version references from 1.2.3 to 1.3.0

@ericpaulsen ericpaulsen enabled auto-merge (squash) October 28, 2025 09:58
@ericpaulsen ericpaulsen disabled auto-merge October 28, 2025 10:00
@ericpaulsen ericpaulsen merged commit d6d0101 into coder:main Oct 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants