Project

General

Profile

Actions

Task #6735

closed

Story #6724: Recreate the DataONE portal in MetacatUI

Generate a new API token on the user profile

Added by Lauren Walker over 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
04/14/2015
Due date:
% Done:

0%

Estimated time:
Actions #1

Updated by Lauren Walker over 9 years ago

From Matt:

Let's put the token in an uneditable text box so it is easily selectable to copy, and also provide a copy button that makes it really easy to copy via a js call (see example on github's clone URLs for repositories, or various link shorteners).

Actions #2

Updated by Lauren Walker over 9 years ago

  • Status changed from New to In Progress

Everything is done except for the copy to clipboard part. There is a widely-used code library called ZeroClipboard that uses an Adobe Flash movie in order to copy to the system clipboard. I'm holding out on adding this in until last since it's of the least importance and it's Flash...

Actions #3

Updated by Lauren Walker about 9 years ago

  • Status changed from In Progress to Resolved
  • translation missing: en.field_remaining_hours set to 0.0

The user profile now has a "copy" button that copies the token to the user's clipboard, using the <a href="https://github.com/zeroclipboard/zeroclipboard">ZeroClipboard</a> JS library.
The token is displayed in a textarea element so that users in IE<9 can still copy/paste manually

Actions

Also available in: Atom PDF