discourse/app
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
..
assets FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
controllers FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
helpers FIX: Include HTML content for authenticated users with crawler UA (#26757) 2024-04-25 22:41:57 +01:00
jobs FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
mailers FIX: Correctly re-attach allowed images in activity summary e-mail (#26642) 2024-04-18 10:27:46 +08:00
models FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
serializers FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
services FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
views FEATURE: Add experimental tracking of 'real browser' pageviews (#26647) 2024-04-25 11:00:01 +01:00