This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/integration/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
..
select-kit FIX: Base topic details message on current category and tag tracking state (#12937) 2021-05-06 09:14:07 +10:00
ace-editor-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
activation-controls-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
admin-report-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
badge-title-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
bookmark-test.js FIX: Isolate modal and global key-binds (#12477) 2021-03-29 13:58:03 +02:00
cook-text-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
d-button-test.js FIX: Tests were broken in Firefox (#12456) 2021-03-22 11:35:51 +11:00
d-editor-test.js DEV: Support Node 15 with Ember CLI (#12679) 2021-04-14 10:16:39 -04:00
d-icon-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
date-input-test.js UX: uses native date picker when possible (eg: not safari) (#12668) 2021-04-22 10:34:23 +02:00
date-time-input-range-test.js UX: uses native date picker when possible (eg: not safari) (#12668) 2021-04-22 10:34:23 +02:00
date-time-input-test.js UX: uses native date picker when possible (eg: not safari) (#12668) 2021-04-22 10:34:23 +02:00
group-list-setting-test.js FIX: Tests in admin/tests were not running (#12391) 2021-03-17 13:02:12 -04:00
group-membership-button-test.js DEV: Support Node 15 with Ember CLI (#12679) 2021-04-14 10:16:39 -04:00
hidden-details-test.js UX: hide the list of file extensions on the upload dialog (#12836) 2021-05-04 15:16:00 +04:00
highlighted-code-test.js Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
html-safe-helper-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
iframed-html-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
image-uploader-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
invite-panel-test.js DEV: Add tests for invite system (#12524) 2021-03-25 18:26:22 +02:00
load-more-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
relative-time-picker-test.js FEATURE: Add year to relative time picker (#12268) 2021-03-03 11:41:07 +10:00
secret-value-list-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
simple-list-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
site-header-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
slow-mode-info-test.js FIX: Anons should see the Topic slow mode notice. (#12460) 2021-03-22 13:55:45 -03:00
text-field-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
themes-list-item-test.js FIX: Tests in admin/tests were not running (#12391) 2021-03-17 13:02:12 -04:00
themes-list-test.js FIX: Tests in admin/tests were not running (#12391) 2021-03-17 13:02:12 -04:00
time-input-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
topic-list-item-test.js FEATURE: Add newly loaded topics to bulk-select automatically if Select All is on (#12026) 2021-03-05 17:16:03 +03:00
topic-list-test.js FIX: Flaky JS tests (#12331) 2021-03-10 08:27:42 -05:00
user-avatar-flair-test.js FEATURE: Allow setting avatar flair for automatic groups (#12586) 2021-04-06 11:13:06 -04:00
user-selector-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00
value-list-test.js DEV: Migrate more tests to our Ember CLI format. (#11899) 2021-02-01 09:01:47 -05:00