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/app/adapters
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
..
email-template.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
group.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
notification.js DEV: Add the missing app subdirectory (#9499) 2020-04-23 10:07:54 -03:00
pending-post.js FEATURE: Display pending posts on user’s page 2021-11-29 10:26:33 +01:00
post-reply-history.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
post-reply.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
post.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
published-page.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
rest.js DEV: Modernise rest adapter query parameter construction (#17925) 2022-08-15 14:44:07 +01:00
reviewable-explanation.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
reviewable-settings.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
reviewable-topic.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
reviewable.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-info.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-notification.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag.js FIX: Renaming and deleting tags (#11169) 2020-11-10 10:57:25 +00:00
topic-list.js FIX: Avoid duplicate topic-list requests (#18073) 2022-08-24 11:54:01 +01:00
topic.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00