PrimalHQ / primal-web-app

Primal's web app for Nostr, as experienced on primal.net.
https://primal.net
MIT License
200 stars 39 forks source link

Copy user link doesn't work #32

Open themuzzman opened 12 months ago

themuzzman commented 12 months ago

Describe the bug

When viewing your profile https://primal.net/profile and you click the ... menu to copy your user profile, the user profile link is not copied, and what is copied is "https://primal.net/profile". Also, when you are viewing another profile other than yours, and you click to copy the user link, it does copy correctly with the npub, etc. It seems the issue is that it is copying the URL from the browser address bar.

Steps to reproduce

Go to your profile and attempt to copy user profile link.

Expected behavior

A "sharable" link with an NPUB is copied.

Environment

Chrome Browser Mac OS

OrigiSize commented 11 months ago

Also seen this behavior but it might have been with a note rather than a user.

moysa commented 6 months ago

Thank you for reporting this. It should be fixed now.