mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
e562bb1f43
This removes the custom_modal implementation for the reviewable items and uses the new modal patterns defined at https://meta.discourse.org/t/converting-modals-from-legacy-controllers-to-new-dmodal-component-api/268057 Only one plugin (discourse category experts) was using this API, that has been fixed up here https://github.com/discourse/discourse-category-experts/pull/117 Also adds `registerReviewableActionModal` to allow for plugins and core to map a reviewable action ID to an actual JS class for the modal and improves docs for plugin API functions used by reviewable-item.