Direct copying of post url

The share button on the post actions has been outfitted with new functionality: it will now copy the url of a post directly unto your clipboard, skipping the original share modal.

The regular share modal can still be used by clicking on the post timestamp:


Theme component is in active development; feel free to leave feedback here: Discourse post direct copy link

8 Likes

One reason for the link dialogue was to be able to edit out the referring username if you preferred?

Does this new flavour default referrer username included?

2 Likes

Yes it does atm, but could be easy to solve. What’s the concern that it’s included?

2 Likes

I have no concern whatsoever, but it came up … let me see if I can link

EDIT:

Personally I prefer this mild “tracking”.

4 Likes

I have no strong objections either for or against, but based on that other topic, I would say the decision of having it as a per-user setting or anything else relating to it, probably exceeds this small component. Meaning, I’d prefer this component to do what is expected based on the site settings and possibly on the future user setting.

5 Likes

Agree. Personally just needed clarification. I’m glad the feature is bundled.

3 Likes

I suspect @Moin will be delighted by this component :smile:

5 Likes

2 posts were split to a new topic: How to enable CopyLink?

This is now a core feature. :partying_face: