mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 00:04:07 +08:00
d5fe9b4f8c
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. |
||
---|---|---|
.. | ||
admin | ||
components | ||
_index.scss | ||
admin_customize.scss | ||
alert.scss | ||
category-list.scss | ||
compose.scss | ||
discourse.scss | ||
edit-category.scss | ||
group.scss | ||
header.scss | ||
invite-signup.scss | ||
latest-topic-list.scss | ||
menu-panel.scss | ||
modal.scss | ||
post-action-menu.scss | ||
topic-list.scss | ||
topic-post.scss | ||
topic.scss | ||
upload.scss | ||
user.scss |