mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 18:54:13 +08:00
2a96064e6b
Introduces new plugin api for adding bulk topic actions: Example: ```js api.addBulkActionButton({ label: "super_plugin.bulk.enhance", icon: "magic", class: "btn-default", visible: ({ currentUser, siteSettings }) => siteSettings.super_plugin_enabled && currentUser.staff, async action({ setComponent }) { await doSomething(this.model.topics); setComponent(MyBulkModal); }, }); ``` |
||
---|---|---|
.. | ||
ADMIN-QUICK-START-GUIDE.md | ||
AUTHORS.md | ||
CHANGELOG-JAVASCRIPT-PLUGIN-API.md | ||
code-of-conduct.md | ||
DEVELOPER-ADVANCED.md | ||
DEVELOPMENT-OSX-NATIVE.md | ||
INSTALL-cloud.md | ||
INSTALL-email.md | ||
INSTALL.md | ||
PLUGINS.md | ||
SECURITY.md | ||
TESTING.md | ||
TROUBLESHOOTING.md |