Closed HagerDakroury closed 3 years ago
Hi @HagerDakroury
Great for tackling the issue, @matuskalas who will be happy to have a less un-intuitive functionality. I have remarks considering the look-and-feel, and also I want to extends this copy ability to all terms. I am adding it to the issue
Converting this to a draft and moving the discussion to the issue at this moment 👍 And love to hear what @matuskalas thinks concerning the design too!
This is how it looks like now after adapting the design you suggested @bryan-brancotte . Would that be good to go with a clearer indication that it's a copy button?
Hi @HagerDakroury Super great, and I was about to say something about the html ID but you also already fixed it ! A feature request : when we click to copy an element, maybe the others copy-buttons who went from
fa-check to
fa-checkshould go back to
fa-copy`.
Yeah, I actually was thinking about how to tackle this.
Do you think it should be a timeout thing? (like Github, the icon is toggled back after ~3 seconds) or whenever a new button is clicked?
I did not though of the timeout things, but it is way better than what I proposed initially.
I did not though of the timeout things, but it is way better than what I proposed initially.
Added. With a timeout of 1 sec (the Copied! tooltip is also removed after the timeout)
Squash and merge whenever you fell ready for it :) :trophy:
Checklist
Issue
closes #40
Details
Further Enhancements