discourse/app/assets/javascripts
Alan Guo Xiang Tan 30bd1dcefd
DEV: More efficiently trigger topic tracking state on state change (#16952)
* When loading topics in bulk, only trigger state change callbacks after
all the topics have been loaded and we determine that state has actually
changed.

* State change callbacks are also only triggered when state has changed.

The use of JSON.stringify might raise some performance concerns here as this is a
performance sensitive codepath. However, I measured the time for each
`_setState` function call locally, by wrapping the function call with
`performance.now()`, and did not see any significant overhead.
2022-05-31 10:20:55 +08:00
..
admin DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
confirm-new-email
discourse DEV: More efficiently trigger topic tracking state on state change (#16952) 2022-05-31 10:20:55 +08:00
discourse-common DEV: Remove 'decamelize' string prototype extensions (#16747) 2022-05-13 11:32:19 -05:00
discourse-hbr DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
discourse-widget-hbs DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
docs
ember-addons
locales DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
pretty-text FIX: Apply 'allowed_href_schemes' to all src/srcset attributes (#16860) 2022-05-19 11:18:30 +01:00
select-kit DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
truth-helpers DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
wizard DEV: Reenable wizard test after fixing auto start for wizard qunit tests 2022-05-25 15:12:27 +08:00
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc
activate-account.js
admin-plugins.js.erb FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
admin.js FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
app-boot.js DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
application.js
auto-redirect.js
browser-detect.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
browser-update.js UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
discourse-loader.js FIX: Ember test imports, again (#16203) 2022-03-16 17:12:15 +01:00
discourse-shims.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
embed-application.js
ember_include.js.erb
ember_jquery.js
env.js
google-tag-manager.js
google-universal-analytics-v3.js
google-universal-analytics-v4.js
handlebars-shim.js
main_include_admin.js
markdown-it-bundle.js
onpopstate-handler.js
package.json
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
pretty-text-bundle.js DEV: Remove deprecated pretty-text functions/file (#16397) 2022-04-06 22:48:50 +02:00
print-page.js
service-worker.js.erb
set-prototype-polyfill.js
start-discourse.js
template_include.js
test-shims.js FIX: Ember test imports, again (#16203) 2022-03-16 17:12:15 +01:00
vendor-common.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
vendor-theme-tests.js
vendor.js
widget-runtime.js
wizard-application.js
wizard-shims.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
wizard-start.js
wizard-vendor.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
yarn.lock DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00