Feature #16659
closed
Add a "Copy to Clipboard" Button for the token
Added by Daniel Kutyła over 4 years ago.
Updated about 4 years ago.
Estimated time:
(Total: 0.00 h)
Release relationship:
Auto
Description
Users setting up their shell for accessing the Arvados API always need to copy their tokens from the dialog. A little simplification could be to provide a button to copy the token snippet into clipboard.
- Target version set to 2020-08-12 Sprint
- Status changed from New to In Progress
- Assigned To set to Daniel Kutyła
Reviewing arvados-workbench2|27f1790
- The env vars text box now show some lines indented instead of all being aligned to the left.
- The ticket’s description mentions easing the users’ worflow when they try to access a shell node, but the button only copies the token and not the entire set of environment variables that the users need to paste on their shell session.
- The test checks for a snackbar to appear instead of the main desired effect (data on clipboard). I’ve checked and it seems that a Clipboard API is in the works and already has some browser support, maybe it can be used to write a test that checks the correct data is being copied to the clipboard: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
- If the entire text box is what is needed to be copied, the button's label could say "COPY TO CLIPBOARD" instead of "COPY API TOKEN"
- Target version changed from 2020-08-12 Sprint to 2020-08-26 Sprint
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF