mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 00:04:11 +08:00
8dd883d4e5
* DEV: Refactor topic admin menu to use `<DMenu>` This PR also introduces a new plugin API to add buttons to the topic admin menu ```javascript api.addTopicAdminMenuButton((topic) => { return { action: () => { alert('Sunrise!'); }, icon: 'sun', className: 'sunrise-button', label: 'actions.rise', }; }); ``` The plugins that needed to be updated are: - [discourse-zoom](https://github.com/discourse/discourse-zoom/pull/73) - [discourse-salesforce](https://github.com/discourse/discourse-salesforce/pull/74) - [discourse-topic-noindex](https://github.com/discourse/discourse-topic-noindex/pull/11) |
||
---|---|---|
.. | ||
components | ||
float-kit | ||
select-kit | ||
_index.scss | ||
admin_badges.scss | ||
admin_customize.scss | ||
admin_report_counters.scss | ||
admin_report_table.scss | ||
admin_report.scss | ||
admin_reports.scss | ||
alert.scss | ||
compose.scss | ||
dashboard.scss | ||
dialog.scss | ||
directory.scss | ||
discourse.scss | ||
edit-category.scss | ||
emoji.scss | ||
header.scss | ||
invite-signup.scss | ||
lightbox.scss | ||
login-modal.scss | ||
menu-panel.scss | ||
modal-overrides.scss | ||
modal.scss | ||
new-user.scss | ||
personal-message.scss | ||
post-action-feedback.scss | ||
push-notifications-mobile.scss | ||
reviewables.scss | ||
sidebar.scss | ||
topic-list.scss | ||
topic-post.scss | ||
topic.scss | ||
user.scss |