Closed LibrErli closed 1 year ago
Thanks for the pull request, @fsteeg . Assigning @fsteeg for review and – if everything is fine – deployment.
thank you!
one thing missing is some styling about the ld-json icon. without the <h1>
-tag the icon is very small. in my pull request i don't want to add element based styling, maybe you have a certain class which handles this issue already.
Thank you @LibrErli for the pull request!
one thing missing is some styling about the ld-json icon. without the
<h1>
-tag the icon is very small.
And what's worse in my opinion, the type labels and subtitle become very small. I also like how currently the type labels are next to the name (actually labelling it) and how bootstrap formats the subtitle (size, font color). Therefore I'd prefer to keep both inside the h1
tag.
To address your use case, how about we add direct support for copying to the clipboard when clicking the title (like the functionality on the URI clipboard icon)? I've deployed that to our test system for you to try, see e.g. https://test.lobid.org/gnd/10141738-X.
This is fine for me. @LibrErli would you please take a look at the proposed changes?
To address your use case, how about we add direct support for copying to the clipboard when clicking the title (like the functionality on the URI clipboard icon)? I've deployed that to our test system for you to try, see e.g. https://test.lobid.org/gnd/10141738-X.
Thanks for all your replies. For my use case it is ok, but i am quite unsure if it is a very intuitive and the expected behaviour, to have h1-content copied to the clipboard if you click once at it. maybe a clipboard-icon on the end of the line could cover the functionality and make it much more clearer for all users?
i am quite unsure if it is a very intuitive and the expected behaviour, to have h1-content copied to the clipboard if you click once at it. maybe a clipboard-icon on the end of the line could cover the functionality and make it much more clearer for all users?
I tried it with an icon, but I did not find a good way to combine / align the icon with the header and labels.
But you do get the popup when hovering over the header, right? I think that does make it clear.
i am quite unsure if it is a very intuitive and the expected behaviour, to have h1-content copied to the clipboard if you click once at it. maybe a clipboard-icon on the end of the line could cover the functionality and make it much more clearer for all users?
I tried it with an icon, but I did not find a good way to combine / align the icon with the header and labels.
But you do get the popup when hovering over the header, right? I think that does make it clear.
for my use case your adaption works pretty well. hopefully it won't confuse other users too much. let's give it a try! thank you very much for your effort!
Resolves #286: bringing the entity-type badge and ld-json link icon "one row" higher than the h1-tag, which should contain only the preferred name, it makes it much easier to copy and paste the preferred name with double click from the browser view.