Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to keys view to copy the key to clipboard #257

Merged
merged 2 commits into from
Jan 30, 2019

Conversation

karenhanson
Copy link
Contributor

@karenhanson karenhanson commented Dec 5, 2018

This change adds an additional option to the /keys/ display to copy the key to the clipboard. Previously, the Key table displayed "edit | download" as options, now you can edit by clicking the label or key id and the buttons offered are copy key and download key.

This change also enhances the instructional text on the keys management page and the keys form.

To test:

  1. Get a copy of this branch
  2. Follow instructions for running RMap locally
  3. Login to the admin area using http://localhost:{port#}/app/admin/login with user name rmapAdmin/rmapAdmin
  4. Go to User management page, add a user and add a key for that user.
  5. Visit the keys page for the new user and use the button to copy the key to clipboard
  6. Paste the key to make sure it is in the clipboard

Note you can also test this by going to https://test.rmap-hub.org, creating and account using Google or Twitter, creating a key and testing the button that way.

@markpatton markpatton merged commit a155851 into rmap-project:master Jan 30, 2019
@karenhanson karenhanson deleted the clipboard-button branch April 2, 2019 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants