discourse/app/assets/javascripts/select-kit/addon/components
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
..
category-drop DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
color-palettes DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
combo-box DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
dropdown-select-box DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
future-date-input-selector DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
mini-tag-chooser DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
multi-select UX: allows to copy/paste a list of | separated values in sk (#11642) 2021-01-06 12:57:13 +01:00
notifications-button DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
notifications-filter DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
period-chooser DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
select-kit UX: Prevent some composer buttons from receiving focus (#12719) 2021-04-16 11:10:02 -04:00
tag-drop UX: shows a hint when there are more tags than displayed (#12649) 2021-04-08 15:51:31 +02:00
user-chooser DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
categories-admin-dropdown.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-chooser.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-drop.js FIX: Fix subcategory, tag drops and none values (#11934) 2021-02-16 17:54:24 +02:00
category-notifications-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-row.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-selector.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
color-palettes.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
combo-box.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
composer-actions.js FEATURE: Show the slow mode indicator in composer (#12720) 2021-04-17 23:40:09 +04:00
create-color-row.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
dropdown-select-box.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
email-group-user-chooser-filter.js DEV: Use @action decorator (#11955) 2021-02-04 14:41:53 +11:00
email-group-user-chooser-header.js DEV: {{user-selector}} replacement (#11726) 2021-02-01 13:07:11 +03:00
email-group-user-chooser-row.js DEV: {{user-selector}} replacement (#11726) 2021-02-01 13:07:11 +03:00
email-group-user-chooser.js DEV: Deprecate {{user-selector}} and replace it with {{email-group-user-chooser}} (#12042) 2021-02-12 13:51:36 +03:00
future-date-input-selector.js FIX: hide "Next Week" in future-date-input on Sundays (#12918) 2021-05-03 09:22:05 +02:00
group-chooser.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
group-dropdown.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-notifications-button.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
icon-picker.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
list-setting.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
mini-tag-chooser.js FIX: Enforce tag group count validation before sending to review queue (#12728) 2021-04-19 09:43:50 +10:00
multi-select.js A11Y: deselect focused choice when using enter in multi-select (#12165) 2021-02-22 14:34:31 +01:00
none-category-row.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
notifications-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
notifications-filter.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
period-chooser.js FIX: Ember has deprecated isVisible in newer versions 2020-09-11 14:53:44 -04:00
pinned-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
pinned-options.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
search-advanced-category-chooser.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
select-kit.js UX: Prevent some composer buttons from receiving focus (#12719) 2021-04-16 11:10:02 -04:00
selected-color.js UX: Remove 2px border from some select-kit buttons (#12016) 2021-02-09 16:35:10 +11:00
selected-name.js DEV: adds support for lang attribute in select-kit (#11741) 2021-01-18 15:34:18 +01:00
single-select.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-chooser-row.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-chooser.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
tag-drop.js FIX: TagDrop uses currentCategory now (#12786) 2021-04-21 21:46:52 +02:00
tag-group-chooser.js FEATURE: Make the tag_groups#search endpoint public. (#12643) 2021-04-08 14:23:13 -03:00
tag-notifications-button.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-row.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tags-intersection-chooser.js UX: implements a new tags-intersection-chooser (#12139) 2021-02-19 13:46:02 +01:00
timezone-input.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
toolbar-popup-menu-options.js UX: Prevent some composer buttons from receiving focus (#12719) 2021-04-16 11:10:02 -04:00
topic-footer-mobile-dropdown.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
topic-notifications-button.js FIX: Base topic details message on current category and tag tracking state (#12937) 2021-05-06 09:14:07 +10:00
topic-notifications-options.js DEV: Remove duplicate (and deprecated) SK option (#11435) 2020-12-08 13:21:02 -05:00
user-chooser.js UX: trim @ char from start of the username string in search. (#12060) 2021-02-12 19:38:13 +05:30
user-notifications-dropdown.js UX: Show caret icon on user notification dropdown (#11991) 2021-02-05 10:30:36 -05:00