When you click on the link icon of a heading in a post, it now copies the linked heading to your clipboard.
Where would I find this link icon thing?
If you go to the faq and hover over a heading. The link icon should appear to the left of the heading.
reply
Example:
shows clickable link (my mouse is unfortunately not visible; i am hovering over the markdown heading)
However, I think I noticed a bug:
When clicking on the link, it shows a thumbsup next to the heading. I guess that is not expected?
reply
That's expected. The thumbs up is to tell you it got copied to your clipboard. Might not be great UX but I thought that was better than copying it without doing anything.
reply
259 sats \ 3 replies \ @ek 4 Oct 2022
Ah ok, makes sense then. A popup notification like "Copied link" would maybe be better.
Just a suggestion. Not sure if popups are used anywhere already so this wouldn't be a completely new feature.
reply
They aren't used anywhere currently.
reply
25 sats \ 1 reply \ @ek 4 Oct 2022
I think I've seen some while developing on errors. But that's a feature during debugging, I guess? So not available in production?
reply
It's something nextjs provides to communicate errors.
reply