discourse/app/assets/javascripts
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
..
admin DEV: Do not auto-generate plugin routes for admin experimental sidebar (#24211) 2023-11-02 12:13:20 +10:00
bootstrap-json DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
confirm-new-email
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder UX: Wait for render before invoking A11YDialog (#24100) 2023-10-26 08:24:47 -04:00
discourse DEV: Refactor discovery routes to remove use of 'named outlets' (#22622) 2023-11-06 10:39:31 +00:00
discourse-common DEV: Improve plugin/theme deprecation prefixes (#24155) 2023-10-31 10:56:11 +00:00
discourse-hbr Build(deps-dev): Bump webpack in /app/assets/javascripts (#23939) 2023-10-16 11:23:00 +02:00
discourse-i18n DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
discourse-plugins DEV: Simplify sprockets configuration (#24111) 2023-10-26 17:29:53 +01:00
discourse-widget-hbs DEV: Consolidate and update jsconfig, and add types packages (#23824) 2023-10-18 12:13:20 +01:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Clean up package.json files (#22349) 2023-06-30 13:01:45 +02:00
float-kit FIX: improves reliability of post-text-selection bar (#24093) 2023-10-25 14:34:53 +02:00
locales DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
patches DEV: remove @ember/jquery in favor of just jquery (#24034) 2023-10-25 10:14:50 +01:00
pretty-text Build(deps-dev): Bump the types group (#24068) 2023-10-23 23:29:40 +02:00
select-kit UX: adjust various button classes (#24121) 2023-10-27 10:26:59 -04:00
theme-transpiler Build(deps): Bump babel-plugin-ember-template-compilation (#24204) 2023-11-02 19:21:37 +01:00
truth-helpers Build(deps-dev): Bump the types group (#23994) 2023-10-19 00:22:30 +02:00
wizard Build(deps-dev): Bump the types group (#24068) 2023-10-23 23:29:40 +02:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02:00
.npmrc
handlebars-shim.js
package.json DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
polyfills.js
run-patch-package DEV: Automatically retry patch-package on failure (#23583) 2023-09-14 12:25:06 +01:00
service-worker.js.erb FIX: Ensure service-worker cache is cleaned correctly (#23204) 2023-08-23 13:58:32 +01:00
yarn.lock Build(deps-dev): Bump sinon in /app/assets/javascripts (#24206) 2023-11-02 19:22:26 +01:00