Skip to content

feat: add copy to clipboard button#84

Merged
neersighted merged 2 commits intopython-poetry:mainfrom
branchv:copy-to-clipboard
Sep 8, 2022
Merged

feat: add copy to clipboard button#84
neersighted merged 2 commits intopython-poetry:mainfrom
branchv:copy-to-clipboard

Conversation

@branchv
Copy link
Copy Markdown
Member

@branchv branchv commented Sep 8, 2022

Second attempt at #37. My only additions here are 1a336cc:

Closes #77

EDIT: Just noticed rollup still silently throws a parse error on the svg although everything functions. Will come back to this later today fixed

@branchv branchv added the safe label Sep 8, 2022
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 8, 2022

Deploy preview for website ready!

✅ Preview
https://website-k70qvx4jy-python-poetry.vercel.app

Built with commit 1a336cc.
This pull request is being automatically deployed with vercel-action

@branchv branchv marked this pull request as draft September 8, 2022 12:27
@Secrus
Copy link
Copy Markdown
Member

Secrus commented Sep 8, 2022

Those errors you mentioned were the issue that brought down the prod website back when I did the first iteration of this. I gave up back then, but I hope you can make it work.

@branchv branchv marked this pull request as ready for review September 8, 2022 16:52
@branchv
Copy link
Copy Markdown
Member Author

branchv commented Sep 8, 2022

@Secrus I swapped out the rollup plugin and things look good to me now. Would be great if you could also verify

@Secrus
Copy link
Copy Markdown
Member

Secrus commented Sep 8, 2022

LGTM, however, my previous attempt looked good as well 🤣.

@neersighted neersighted merged commit 10a2aff into python-poetry:main Sep 8, 2022
@branchv branchv deleted the copy-to-clipboard branch September 8, 2022 19:07
@johnthagen
Copy link
Copy Markdown
Contributor

Can confirm that the clipboard copying is working on https://python-poetry.org/docs/. Great job!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configure Hugo to allow copying code blocks to clipboard

4 participants