openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Add "Copy URL" Option to Share Modal

Open mekarpeles opened this issue 1 year ago • 4 comments

Especially on mobile, there is no way to copy the url of the page you're on in order to share it. Our current share modal has an "embed" option, which is similar, but we want to add an option for copy url:

Screenshot 2024-02-07 at 10 23 36 AM Screenshot 2024-02-07 at 10 23 22 AM

We can use this icon:

https://www.flaticon.com/free-icon/link_341077

image

Evidence / Screenshot (if possible)

Relevant url?

Steps to Reproduce

  1. Go to ...
  2. Do ...
  • Actual:
  • Expected:

Details

  • Logged in (Y/N)?
  • Browser type/version?
  • Operating system?
  • Environment (prod/dev/local)? prod

Proposal & Constraints

Related files

Stakeholders

mekarpeles avatar Feb 07 '24 18:02 mekarpeles

i will like work on this issue.

rishabhkr-r111 avatar Feb 07 '24 18:02 rishabhkr-r111

Hey, I think I can do this, can I work on this issue?

Ayush1404 avatar Feb 08 '24 12:02 Ayush1404

Hey can you check if these are the changes that you expected or if something can perhaps be improved

Ayush1404 avatar Feb 08 '24 15:02 Ayush1404

@Ayush1404 thank you for the contribution! We'll take a look :)

mekarpeles avatar Feb 12 '24 16:02 mekarpeles