mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove reviewable action custom_modal and use new action-based modal API (#23258)
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.
This commit is contained in:
@@ -7,6 +7,13 @@ in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.10.0] - 2023-08-25
|
||||
|
||||
### Added
|
||||
|
||||
- Adds `registerReviewableActionModal` which allows core and plugins to register a modal component class
|
||||
which is used to show a modal for certain reviewable actions.
|
||||
|
||||
## [1.9.0] - 2023-08-09
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user