discourse/app
Alan Guo Xiang Tan 98b47636aa
DEV: Fix circular import dependency on user topic list route (#25234)
Why this change?

This is a follow up to cc917a1d7f. It has
been identified that there is a circular dependency issue in our Ember
app with the user topic list route and it looks something like this:

1. `controllers/user-topics-list` imports `routes/build-private-messages-route`
2. `routes/build-private-messages-route` imports
   `routes/user-topic-list`
3. `routes/user-topic-list` imports `controllers/user-topics-list`

This caused some weird problems in production where stuff would just not
load.

What does this change do?

1. Move `QUERY_PARAMS` from `controllers/user-topics-list` to
   `routes/user-topic-list` which is the more apprioriate place for the
   query params to be declared since they are route query params
   after all.

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2024-01-12 10:00:57 +08:00
..
assets DEV: Fix circular import dependency on user topic list route (#25234) 2024-01-12 10:00:57 +08:00
controllers FEATURE: Allow sorting group members by custom field via API (#25061) 2024-01-11 13:39:17 -03:00
helpers DEV: Simplify ember-cli proxy strategy (#24242) 2023-11-10 11:16:06 +00:00
jobs FIX: refactor calling of timed backup deletion 2024-01-08 15:41:00 -05:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models FIX: respect creation date when paginating group activity posts (#24993) 2024-01-11 13:37:27 -03:00
serializers DEV: Add skip_migrations param when importing remote theme (#25218) 2024-01-11 14:04:02 +08:00
services FEATURE: Prefer topic_embed's cached content when summarizing (#25190) 2024-01-09 14:00:01 -03:00
views FEATURE: include username link in the microdata schema (#25112) 2024-01-03 20:11:41 +05:30