discourse/app/assets/javascripts
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
..
admin Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
custom-proxy DEV: Rename 'bootstrap-json' addon to 'custom-proxy' (#26561) 2024-04-08 19:53:02 +01:00
deprecation-silencer DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
dialog-holder Build(deps-dev): Bump webpack from 5.90.3 to 5.91.0 (#26273) 2024-03-21 07:03:20 +08:00
discourse FIX: Better tracking of topic visibility changes (#26709) 2024-04-29 10:34:46 +10:00
discourse-common Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
discourse-hbr DEV: Convert discourse-hbr to a regular package (#26562) 2024-04-08 20:00:34 +01:00
discourse-i18n DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
discourse-markdown-it UX: add title attribute to composer preview image controls (#26301) 2024-03-22 09:49:10 -04:00
discourse-plugins Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
discourse-widget-hbs Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Drop unused shims for Ember 3 deprecations (#26563) 2024-04-09 09:22:37 +01:00
float-kit Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
locales
pretty-text Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
select-kit Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00
theme-transpiler Build(deps): Bump terser from 5.30.3 to 5.30.4 (#26703) 2024-04-23 08:55:51 +10:00
truth-helpers DEV: Convert truth-helpers to a v2 addon and simplify imports (#26029) 2024-03-05 15:24:47 +00:00
.npmrc
handlebars-shim.js
polyfills.js
run-patch-package
service-worker.js.erb DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00