discourse/app
Martin Brennan 72648dd576
FIX: Base topic details message on current category and tag tracking state (#12937)
The user may have changed their category or tag tracking settings since a topic was tracked/watched based on those settings in the past. In that case we need to alter the reason message we show them otherwise it is very confusing for the end user to be told they are tracking a topic because of a category, when they are no longer tracking that category.

For example: "You will see a count of new replies because you are tracking this category." becomes: "You will see a count of new replies because you were tracking this category in the past."

To do this, it was necessary to add tag and category tracking info to current user serializer. I improved the serializer code so it only does 3 SQL queries instead of 9 to get the tracking information for tags and categories for the current user.
2021-05-06 09:14:07 +10:00
..
assets FIX: Base topic details message on current category and tag tracking state (#12937) 2021-05-06 09:14:07 +10:00
controllers DEV: Don't force Ember CLI for proxied requests made by Ember CLI (#12909) 2021-04-30 13:27:35 +03:00
helpers FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
jobs FEATURE: add support for like webhooks (#12917) 2021-04-30 17:08:38 -07:00
mailers FEATURE: Auto-activate users invited by email (#12675) 2021-04-14 12:15:56 +03:00
models FIX: Base topic details message on current category and tag tracking state (#12937) 2021-05-06 09:14:07 +10:00
serializers FIX: Base topic details message on current category and tag tracking state (#12937) 2021-05-06 09:14:07 +10:00
services FIX: Link notification to first unread post (#12868) 2021-05-04 13:03:00 +10:00
views DEV: Arrange theme QUnit dependencies in the right order (#12907) 2021-04-30 13:28:33 +03:00