David Taylor
82d6d691ee
DEV: Refactor discovery routes to remove use of 'named outlets' ( #22622 )
...
The motivation of this PR is to remove our dependence on Ember's 'named outlets', which are removed in Ember 4+.
At a high-level, the changes can be summarized as:
- The top-level `discovery` route is totally emptied of all logic. The HTML structure of the template is moved into the `<Discovery::Layout />` component for use by child routes.
- `AbstractTopicRoute` and `AbstractCategoryRoute` routes now both lean on the `DiscoverySortableController` and associated template. This controller is where most of the logic from the old top-level `discovery` controller has ended up.
- All navigation controllers/templates have been replaced with components. `navigation/categories`, `navigation/category` and `navigation/default` were very similar, and so they've all been combined into `<Navigation::Default>`. `navigation/filter` gets its own component.
- The `discovery/topics` controller/template have been moved into a new `<Discovery::Topics>` component.
Various other parts of the app have been tweaked to support these changes, but I've tried to keep that to a minimum.
Anything from `<TopicList>` down is untouched, which should hopefully mean that a large proportion of topic-list-customizing themes are unaffected.
For more information, see https://meta.discourse.org/t/282816
2023-11-06 10:39:31 +00:00
..
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2023-06-06 15:47:40 +10:00
2022-04-28 11:51:03 +02:00
2023-01-20 12:52:49 -06:00
2023-07-28 12:53:44 +01:00
2023-01-09 12:10:19 +00:00
2023-09-06 02:14:57 +02:00
2023-10-11 14:36:54 -04:00
2023-10-17 14:08:21 +10:00
2023-02-16 10:47:01 +00:00
2023-02-20 06:20:47 +03:00
2023-09-06 02:14:57 +02:00
2023-08-23 11:18:33 +10:00
2023-07-25 15:01:02 +08:00
2023-10-27 14:52:23 +08:00
2021-08-20 11:29:06 +02:00
2023-10-16 10:34:32 -04:00
2023-01-31 16:53:24 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-05-19 10:59:04 +01:00
2023-10-26 10:54:30 +01:00
2023-04-20 11:28:08 -05:00
2023-10-09 09:32:09 +02:00
2023-10-26 16:34:23 +03:00
2023-10-18 11:07:09 +01:00
2023-01-09 12:10:19 +00:00
2023-09-06 10:57:30 +08:00
2023-11-01 14:02:53 -05:00
2023-04-03 11:09:36 -03:00
2023-09-28 12:53:28 +01:00
2023-08-01 13:53:23 +02:00
2023-01-09 12:10:19 +00:00
2023-10-31 10:09:51 -04:00
2023-10-20 12:48:06 +00:00
2023-08-11 15:08:49 -03:00
2023-11-02 08:10:15 +03:00
2023-10-09 12:03:02 +01:00
2023-06-27 14:49:34 +10:00
2023-07-05 11:47:35 +08:00
2023-11-01 16:41:10 +02:00
2023-09-26 10:34:38 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-07-24 09:37:18 +08:00
2023-05-25 14:53:59 +02:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-11-01 16:46:13 +00:00
2020-04-30 16:48:53 +10:00
2023-01-27 12:28:47 +08:00
2021-05-21 11:43:47 +10:00
2023-01-05 08:43:58 +10:00
2023-07-28 12:53:46 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-02-01 09:55:21 +00:00
2023-01-09 12:10:19 +00:00
2023-08-28 12:58:47 +08:00
2023-07-25 15:12:22 +08:00
2023-06-07 21:31:20 +03:00
2023-02-21 10:30:48 +01:00
2023-07-28 12:53:44 +01:00
2023-10-18 23:48:01 +00:00
2023-03-16 15:27:09 -06:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-10 22:38:52 +02:00
2023-01-09 12:10:19 +00:00
2023-09-28 12:53:28 +01:00
2023-09-28 12:53:28 +01:00
2021-06-14 20:34:44 +05:30
2023-01-20 12:52:49 -06:00
2023-08-02 18:44:19 -03:00
2023-04-19 15:30:12 +02:00
2023-01-09 12:10:19 +00:00
2023-10-05 02:06:58 +02:00
2023-01-09 12:10:19 +00:00
2023-10-16 10:34:35 -04:00
2023-06-16 12:44:35 +10:00
2023-01-09 12:10:19 +00:00
2023-10-10 17:30:24 +00:00
2023-01-09 12:10:19 +00:00
2023-10-03 14:59:28 -04:00
2023-09-12 15:31:31 -03:00
2023-01-09 12:10:19 +00:00
2023-08-31 14:12:03 -05:00
2022-04-05 19:29:58 +02:00
2023-03-01 08:58:32 +11:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-10-27 13:35:33 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-07-28 11:47:22 -06:00
2023-08-23 11:18:33 +10:00
2023-01-09 12:10:19 +00:00
2022-01-21 17:54:18 +02:00
2023-08-23 11:18:33 +10:00
2023-01-09 12:10:19 +00:00
2023-08-23 11:18:33 +10:00
2021-11-11 12:21:25 -06:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-08-02 10:46:37 +08:00
2023-06-26 10:09:57 +05:30
2023-01-25 18:55:01 +02:00
2023-01-20 12:52:49 -06:00
2023-11-06 08:57:02 +08:00
2023-05-31 19:32:06 +05:30
2023-09-08 12:03:22 +03:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-07-28 12:53:51 +01:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-03-22 10:19:59 +10:00
2023-10-12 14:44:01 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-08-02 10:46:37 +08:00
2023-01-09 12:10:19 +00:00
2023-01-25 18:55:33 +02:00
2023-11-01 16:41:10 +02:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-06-30 11:30:03 +01:00
2023-01-09 12:10:19 +00:00
2023-04-11 10:16:28 +01:00
2023-04-05 17:00:05 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2023-06-26 15:11:35 -03:00
2023-01-09 12:10:19 +00:00
2023-10-30 10:24:35 +10:00
2023-08-09 13:55:00 -04:00
2023-01-09 12:10:19 +00:00
2023-10-18 23:48:01 +00:00
2023-10-09 03:35:31 +00:00
2023-02-21 10:30:48 +01:00
2023-01-09 12:10:19 +00:00
2023-10-18 23:48:01 +00:00
2023-08-01 09:34:57 +01:00
2023-11-01 16:41:10 +02:00
2023-03-30 13:52:10 +10:00
2023-08-10 02:03:38 +02:00
2023-06-26 11:01:59 +08:00
2023-01-09 12:10:19 +00:00
2023-06-16 12:44:35 +10:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2023-05-12 15:32:02 +08:00
2023-01-09 12:10:19 +00:00
2023-01-20 12:52:49 -06:00
2023-01-09 12:10:19 +00:00
2023-09-04 16:09:52 +10:00
2023-08-23 11:18:33 +10:00
2023-01-20 12:52:49 -06:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-09-12 16:21:01 +10:00
2019-12-03 10:05:53 +01:00
2023-01-20 12:52:49 -06:00
2023-01-09 12:10:19 +00:00
2023-07-17 10:14:17 +10:00
2023-11-06 16:36:20 +10:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-10-19 17:30:27 -05:00
2023-06-07 22:51:24 +03:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-10-02 12:36:06 +02:00
2023-01-09 12:10:19 +00:00
2023-11-02 08:10:15 +03:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-10-16 10:34:35 -04:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-05-12 17:09:40 +03:00
2023-11-06 10:39:31 +00:00
2023-03-02 13:05:45 -03:00
2023-01-09 12:10:19 +00:00
2023-09-06 09:39:09 +10:00
2023-07-28 16:16:23 +00:00
2023-07-13 18:05:56 +08:00
2023-06-28 06:21:56 +08:00
2023-10-16 10:34:38 -04:00
2023-03-01 15:35:21 +11:00
2023-05-12 11:13:52 +02:00
2023-07-03 19:53:12 -03:00
2020-07-21 15:55:03 +08:00
2023-01-09 12:10:19 +00:00
2023-06-16 11:26:26 +08:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-06-06 15:47:40 +10:00
2023-09-06 09:39:09 +10:00
2023-10-19 10:37:14 +08:00
2023-07-03 10:18:37 +10:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-10-16 11:20:22 -04:00
2023-10-24 13:22:55 -04:00
2023-07-28 12:53:51 +01:00
2023-10-19 14:37:37 -03:00