FEATURE: Added trigger for topic tags changed (#28176)

* FEATURE: Added trigger for topic tags changed

* DEV: register new file in plugin.rb

* DEV: update to use already existing `:topic_tags_changed` event

* DEV: Add tests to topic_tags_changed trigger

remove `watching_user` field

* DEV: add more tests to topic_tags_changed_spec.rb

* DEV: update tests and implementation for topic tags changed automation trigger

* DEV: update checking for tags changed automation

* DEV: Update argument application for `handle_topic_tags_changed`
This commit is contained in:
Gabriel Grubba
2024-08-02 09:58:51 -03:00
committed by GitHub
parent 7977ae61f7
commit ec46487870
7 changed files with 193 additions and 0 deletions

View File

@ -6,6 +6,7 @@ module DiscourseAutomation
API_CALL = "api_call"
CATEGORY_CREATED_EDITED = "category_created_edited"
PM_CREATED = "pm_created"
TOPIC_TAGS_CHANGED = "topic_tags_changed"
POINT_IN_TIME = "point_in_time"
POST_CREATED_EDITED = "post_created_edited"
RECURRING = "recurring"