ba139b8c23
* 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. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |