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
David Taylor e7a84948b9
FIX: Avoid duplicate topic-list requests (#18073)
When preloading topic_list data we were giving it a 'preload key' which was loosely based on the parameters of the list. However, it did not include all parameters, and mismatches between client/server-side logic would cause the preloaded data to be ignored.

This commit simplifies things by using a single key for all topic_list preloading. This works on the assumption that "The first topic_list the JS app will load is the one which was preloaded". That assumption also existed to some extent in the old design, so we don't expect any regressions here.
2022-08-24 11:54:01 +01:00
..
app FIX: Avoid duplicate topic-list requests (#18073) 2022-08-24 11:54:01 +01:00
config DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
lib DEV: Enable ember-cli plugin assets by default (#18058) 2022-08-24 10:20:38 +01:00
public/assets/scripts DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
scripts COPY: Change "old" to "unsupported" browser (#17555) 2022-07-18 19:32:04 +03:00
tests FIX: hide sidebar toggle button when no sidebar (#18068) 2022-08-24 12:09:40 +08: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: Enable ember-cli plugin assets by default (#18058) 2022-08-24 10:20:38 +01:00
jsconfig.json DEV: Add jsconfig (#17800) 2022-08-04 22:50:47 +01:00
package.json DEV: Introduce flag for compiling Plugin JS with Ember CLI (#17965) 2022-08-22 09:56:39 +01:00
testem.js DEV: Introduce flag for compiling Plugin JS with Ember CLI (#17965) 2022-08-22 09:56:39 +01:00