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

As a Dataverse user, I'd like to be able to select and copy just the DOI from the citation block #4994

Closed
pameyer opened this issue Aug 22, 2018 · 5 comments

Comments

@pameyer
Copy link
Contributor

pameyer commented Aug 22, 2018

Attempting to copy just the DOI (presumably other PIDs as well) from the citation block results in the entire citation block being highlighted and selected for copy to clipboard. This appears to be due to a onclick handler for the citation-select div (which suggests it's intentional).

@pdurbin
Copy link
Member

pdurbin commented Oct 18, 2018

@pameyer I brought up this issue to @mheppler yesterday and he demonstrated how he was easily able to right-click the DOI link and copy it with "copy link location". Is this still an issue? At some point we switched the citation from showing a DOI to showing a DOI in its link form but I don't remember when and can't find the pull request.

@pameyer
Copy link
Contributor Author

pameyer commented Feb 13, 2019

@pdurbin "copy link location" will get the http url for the DOI, which isn't accepted by the various dataverse APIs.

@pdurbin
Copy link
Member

pdurbin commented Mar 6, 2019

@pameyer is copying from "Dataset Persistent ID" under the "Metadata" tab an acceptable workaround? It's not the citation but it is the citation metadata block. 😄 Here's a screenshot. It's just the DOI, not the DOI as a URL.

screen shot 2019-03-06 at 12 44 53 pm

@pameyer
Copy link
Contributor Author

pameyer commented Mar 6, 2019

@pdurbin It's the workaround I've been using.

But the usability of "to copy this text in front of you; click another tab and scroll down" (and be experience enough with the app to know you can do this), combined with breaking the normal behavior of a browser; seems to me like it's worth fixing.

The more significant (and unknown) piece of information is how many users ran into this, didn't report it and/or couldn't figure it out.

@mheppler
Copy link
Contributor

mheppler commented Mar 6, 2019

This "click citation content to select" functionality was something that was specifically requested during our last 4.0 redesign efforts. I suppose we could test a "click to select..." btn, to allow this request to highlight and copy specific parts of the citation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants