Web interface: make certain fields click-to-copy #99837

Closed
opened 2022-07-19 12:22:26 +02:00 by Sybren A. Stüvel · 3 comments

Some fields from the job, task, and worker details need to be easily copied to the clipboard. Triple-clicking to select an entire word and pressing {key Ctrl+C} often includes unwanted whitespace around the copied data.

Flamenco 2 used clipboard.js for this, requiring just a single click on the field to copy it to the clipboard.

Fields that should be click-to-copyable are at least:

    • Job ID
    • Task ID
    • Worker ID
    • Worker IP address
Some fields from the job, task, and worker details need to be easily copied to the clipboard. Triple-clicking to select an entire word and pressing {key Ctrl+C} often includes unwanted whitespace around the copied data. Flamenco 2 used [clipboard.js](https://clipboardjs.com/) for this, requiring just a single click on the field to copy it to the clipboard. Fields that should be click-to-copyable are at least: - - [x] Job ID - - [x] Task ID - - [x] Worker ID - - [x] Worker IP address
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Sybren A. Stüvel self-assigned this 2022-10-03 11:29:10 +02:00
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#99837
No description provided.