Feature #5953

Copy RSS/REST API keys to clipboard with javascript

Added by Akiko Takano about 9 years ago. Updated 2 months ago.

Status:NewStart date:2010-07-24
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:Candidate for next major release
Resolution:

Description

I hope that we can copy (and paste) RSS/REST API keys to clipboard with javascript since key value is pretty long.

add_link_to_copy.png (181 KB) Yuichi HARADA, 2019-07-17 10:43

fixed-5953.patch Magnifier (2.61 KB) Yuichi HARADA, 2019-07-17 10:47


Related issues

Related to Redmine - Feature #29214: Button to copy PRE block content to clipboard New

History

#1 Updated by Felix Schäfer about 9 years ago

  • Assignee set to Felix Schäfer

You can already copy the key by selecting the text, we might be able to make it a little easier though by copying some of the features of Holger's Checkout Plugin.

#2 Updated by Akiko Takano about 9 years ago

Thaks for your reply!

Felix Schäfer wrote:

You can already copy the key by selecting the text, we might be able to make it a little easier though by copying some of the features of Holger's Checkout Plugin.

I've added above Redmine Checkout plugin. This is so nice and this looks like GitHub's copy URL function :)
It seems the function to copy the URL for checkout is using some swf(Flash) object.

I think it's nice if this javascript library was included not only plugin but also rdmine itself.

#3 Updated by Felix Schäfer almost 9 years ago

  • Assignee deleted (Felix Schäfer)

#4 Updated by RedminePro Yang over 7 years ago

+1

#5 Updated by Go MAEDA over 1 year ago

  • Related to Feature #29214: Button to copy PRE block content to clipboard added

#6 Updated by Yuichi HARADA 3 months ago

When the API access key is displayed, the copy link is displayed. Click this link to copy the API access key to the clipboard.

I attached a patch.

#7 Updated by Go MAEDA 3 months ago

  • Target version set to Candidate for next major release

#8 Updated by Go MAEDA 2 months ago

Thank you for posting the patch. I tried out it and noticed the following points:

  • There is no feedback when you click the Copy link. Users may confused and click the link again and again
  • In Redmine, copy.png and the label "Copy" means creating an object by cloning the existing one. I think it is better to use another icon or label

Also available in: Atom PDF