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
Osama Sayegh 3d7829c01f
FIX: Unsubscribe from the /reviewable_counts channel when leaving the review-index route (#17778)
Follow-up to ce9eec8606.

When the review-index route is entered, we listen to the `/reviewable_counts` (or `/reviewable_counts/<user_id>` when the new user menu is enabled) channel so we can listen for changes to reviewables and update the UI accordingly. However, we currently don't unsubscribe when leaving the route which means each time the route is entered, we setup a new listener causing the browser to do unnecessary work and potentially state leakage.
2022-08-03 17:16:02 +03:00
..
app FIX: Unsubscribe from the /reviewable_counts channel when leaving the review-index route (#17778) 2022-08-03 17:16:02 +03:00
config DEV: Install ember-modifier and @ember/render-modifiers (#17595) 2022-07-21 18:12:29 +01:00
lib DEV: Remove rfc176-shims 2022-07-19 10:00:59 +01:00
public/assets/scripts DEV: Make sure testing-container fits in the viewport (#17446) 2022-07-12 15:32:43 +02:00
scripts COPY: Change "old" to "unsupported" browser (#17555) 2022-07-18 19:32:04 +03:00
tests DEV: Replace site:main with service:site (#17766) 2022-08-03 14:38:35 +01:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Silence 3.x deprecations 2022-07-19 10:00:59 +01:00
package.json DEV: Install ember-modifier and @ember/render-modifiers (#17595) 2022-07-21 18:12:29 +01:00
testem.js DEV: Ensure ember-cli rake theme:qunit works with CSP enabled (#16541) 2022-04-22 16:59:45 +01:00