discourse/app/jobs
Martin Brennan edec941a87
FIX: Better tracking of topic visibility changes (#26709)
This commit introduces a few changes as a result of
customer issues with finding why a topic was relisted.
In one case, if a user edited the OP of a topic that was
unlisted and hidden because of too many flags, the topic
would get relisted by directly changing topic.visible,
instead of going via TopicStatusUpdater.

To improve tracking we:

* Introduce a visibility_reason_id to topic which functions
  in a similar way to hidden_reason_id on post, this column is
  set from the various places we change topic visibility
* Fix Post#unhide! which was directly modifying topic.visible,
  instead we use TopicStatusUpdater which sets visibility_reason_id
  and also makes a small action post
* Show the reason topic visibility changed when hovering the
  unlisted icon in topic status on topic titles
2024-04-29 10:34:46 +10:00
..
concerns DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
onceoff DEV: Drop deprecated Badge#image column (#25536) 2024-02-02 14:09:55 +08:00
regular FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
scheduled UX: make first admin a moderator to review user approvals. (#26588) 2024-04-10 20:59:03 +05:30
base.rb DEV: Async category search for sidebar modal (#25686) 2024-02-20 11:24:30 -06:00