discourse/app
Roman Rizzi ba139b8c23
REFACTOR: Improve reusability by Decoupling flag modal from flag target. (#18251)
* REFACTOR: Improve reusability by Decoupling flag modal from flag target.

We want chat message's flags to have the same features as topic and posts' flags, but we prefer not having to duplicate core's logic. This PR moves target specific bits to different classes, allowing plugins to flag custom things by
providing their own.

* A couple of fixes for the flag modal:

- Make sure buttons are disabled until a flag type is selected.
- Don't throw an error when checking if the user can undo an action on a deleted topic.
- Disable flagging on deleted topics.
2022-09-29 11:57:36 -03:00
..
assets REFACTOR: Improve reusability by Decoupling flag modal from flag target. (#18251) 2022-09-29 11:57:36 -03:00
controllers DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
helpers DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
jobs DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
serializers DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
services DEV: Use AR enums in reviewables related code 2022-09-22 14:44:27 +02:00
views DEV: Remove support for legacy plugin JS compilation pipeline (#18293) 2022-09-21 12:38:02 +01:00