-
Notifications
You must be signed in to change notification settings - Fork 86
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 copy button for link generator #349
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Yay, thank you for your PR, @jrdnbradford :) I think this is useful functionality! I've asked @batpad to review this PR, to increase the amount of review capacity in the Jupyter ecosystem. He's taking a look and should respond soon. |
Hey @jrdnbradford thanks much for the contribution! It overall looks really good and seems super useful! Couple minor things:
To do something like:
This should also select the whole text without needing to hard-code this Getting copying to work consistently across browsers has always been a bit of a pain, but it seems to me this @jrdnbradford would you be able to look at the couple of minor things above? Once those are fixed, I'd be 👍 on merging. |
Awesome, thanks for this feedback, @batpad. Here's what I did:
Let me know if you'd like to see any more changes. 🎉 |
@jrdnbradford thanks for the quick fixes! Seems like we might be going down a bit of a CSS rabbit-hole where you bloop one thing and another thing blops: Now the This CSS stuff can be a bit harrowing - let me know if you're able to look / fix, else I can look at spending some time on it / pull in someone who's a bit more experienced with CSS. |
I should have caught that before, sorry for that. I removed the |
This looks good to me! @yuvipanda how do you feel about merging this? (@jrdnbradford apologies for the delay here - I had a few days of travel this week :) ) |
Just thinking about this a bit more -- @jrdnbradford how do you feel about moving back to the This is really not a hard opinion at all, but if that resonates with you @jrdnbradford, I'd welcome that change. If not, I think the current state is fine as well! |
Agreed 💯 , and done! |
yay, thank you very much for your review, @batpad! |
And thank you so much for your contributions, @jrdnbradford!!! |
I added a copy button for the generated link field to make it easier for users. I don't consider myself much of a web developer, but maybe it's not totally wrong. 😃