mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 09:54:17 +08:00
c6cb319671
post action feedback is the mechanism in which we provide visual feedback to the user when a post action is clicked, in cases where the action is a background (hidden to user) for example: copying text to the clipboard Core uses this to share post links, but other plugins (for example: AI) use this to share post transcripts via the clipboard. This adds a proper plugin API to consume this functionality `addPostMenuButton` can provide a builder that specified a function as the action. This function will be called with an object that has both the current post and a method for showing feedback. |
||
---|---|---|
.. | ||
common | ||
desktop | ||
mobile | ||
vendor | ||
admin_rtl.scss | ||
admin.scss | ||
color_definitions.scss | ||
common.scss | ||
desktop_rtl.scss | ||
desktop.scss | ||
embed.scss | ||
ember_cli.scss | ||
mobile_rtl.scss | ||
mobile.scss | ||
publish.scss | ||
qunit-custom.scss | ||
qunit.scss | ||
wcag.scss | ||
wizard_rtl.scss | ||
wizard.scss |