discourse/app/assets/javascripts/discourse-common/addon
Martin Brennan d5fe9b4f8c
FEATURE: Add copy link post menu button (#24709)
This commit ports the feature by @chapoi that was
previously a theme component in core.

A new post_menu button, copyLink, is added and used
as the default instead of share.

copyLink, on desktop, will copy the link of the post
to the user's clipboard and show a nice 'lil animation.
On mobile the native share menu will be shown.

If site owners want the old behaviour back, they just
need to change the post_menu site setting to use
the share button instead of copyLink.
2023-12-08 11:45:49 +10:00
..
config Revert "FIX: delay custom section reorder (#20781)" (#20786) 2023-03-23 11:27:12 +01:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib FEATURE: Add copy link post menu button (#24709) 2023-12-08 11:45:49 +10:00
utils DEV: Remove category-macro (#24395) 2023-11-16 00:16:19 +01:00
.gitkeep
resolver.js DEV: Sort imports 2023-10-10 21:46:54 +01:00