Skip to content

Conversation

@RRRadicalEdward
Copy link
Collaborator

This PR adds:

  • auto clipboard mode.
    When it's enabled, the clipboard will be automatically monitored for changes, and updates from the server will be automatically saved to the local clipboard (this is the old logic; nothing has changed).
  • manual clipboard mode.
    One calls dedicated functions to interact with the clipboard.

…lipboard modes

This commit adds:
* auto clipboard mode.
When it's enabled, clipboard will be automatically monitored for changes and updates from the server will be automatically saved to the local clipboard (it's the old logic, nothing has changed)
* Manual clipboard mode.
One calls dedicated functions to interact with the clipboard.
@RRRadicalEdward RRRadicalEdward self-assigned this Aug 26, 2025
@RRRadicalEdward
Copy link
Collaborator Author

Hi @CBenoit! Could you review when you get a chance?

@github-actions
Copy link

Coverage Report 🤖 ⚙️

Past:
Total lines: 28698
Covered lines: 17567 (61.21%)

New:
Total lines: 28696
Covered lines: 17568 (61.22%)

Diff: +0.01%

[this comment will be updated automatically]

RRRadicalEdward pushed a commit to Devolutions/devolutions-gateway that referenced this pull request Aug 28, 2025
…modes

This commit refactors the clipboard part of the Devolutions Gateway Standalone to follow the new API(see Devolutions/IronRDP#935) of the _iron-remote-desktop_.
The changes:
 * Introduce _autoclipboard_ mode, which the user can enable/disable using the connection form. However, it's available only for browsers based on _Blink_  engine. For others, _autoclipboard_ mode is always false.
 * Add two new buttons to the toolbar that are available when autoclipboard is false: _Save Clipboard_ and _Send Clipboard_.
 * Add notification for manual clipboard actions. For example, when the user clicks on the _Save Clipboard_ button, the error or success notification will appear informing the user about the operation status.
Copy link
Member

@CBenoit CBenoit left a comment

Choose a reason for hiding this comment

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

LGTM! Nothing blocking, but feel free to open a follow up PR! Thanks!

@CBenoit CBenoit changed the title refactor(web): replace current clipboard logic with auto and manual clipboard modes fix(web)!: replace current clipboard logic with auto and manual clipboard modes Aug 29, 2025
@CBenoit CBenoit merged commit 5b948e2 into master Aug 29, 2025
10 checks passed
@CBenoit CBenoit deleted the web-clipboard-refactoring branch August 29, 2025 02:07
RRRadicalEdward pushed a commit that referenced this pull request Aug 29, 2025
CBenoit pushed a commit that referenced this pull request Aug 29, 2025
RRRadicalEdward pushed a commit to Devolutions/devolutions-gateway that referenced this pull request Sep 1, 2025
…modes

This commit refactors the clipboard part of the Devolutions Gateway Standalone to follow the new API(see Devolutions/IronRDP#935) of the _iron-remote-desktop_.
The changes:
 * Introduce _autoclipboard_ mode, which the user can enable/disable using the connection form. However, it's available only for browsers based on _Blink_  engine. For others, _autoclipboard_ mode is always false.
 * Add two new buttons to the toolbar that are available when autoclipboard is false: _Save Clipboard_ and _Send Clipboard_.
 * Add notification for manual clipboard actions. For example, when the user clicks on the _Save Clipboard_ button, the error or success notification will appear informing the user about the operation status.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants