discourse/app
David Taylor c139767055
DEV: Remove Ember.TEMPLATES and centralize template resolution rules ()
In the past, the result of template compilation would be stored directly in `Ember.TEMPLATES`. Following the move to more modern ember-cli-based compilation, templates are now compiled to es6 modules. To handle forward/backwards compatibility during these changes we had logic in `discourse-boot` which would extract templates from the es6 modules and store them into the legacy-style `Ember.TEMPLATES` object.

This commit removes that shim, and updates our resolver to fetch templates directly from es6 modules. This is closer to how 'vanilla' Ember handles template resolution. We still have a lot of discourse-specific logic, but now it is centralised in one location and should be easier to understand and normalize in future.

This commit should not introduce any behaviour change.
2022-11-29 10:24:35 +00:00
..
assets DEV: Remove Ember.TEMPLATES and centralize template resolution rules () 2022-11-29 10:24:35 +00:00
controllers SECURITY: Hide notifications for inaccessible topics () 2022-11-28 10:41:57 +10:00
helpers Meta topic: https://meta.discourse.org/t/meta-theme-color-is-not-respecting-current-color-scheme/239815 () 2022-11-07 10:06:26 +03:00
jobs FEATURE: Add cooked post to user archive exports () 2022-11-11 11:07:32 +00:00
mailers FEATURE: Custom unsubscribe options () 2022-06-21 15:49:47 -03:00
models FEATURE: Deleting a user with their posts also deletes chat messages. () 2022-11-28 13:32:57 -03:00
serializers FEATURE: Generic hashtag autocomplete lookup and markdown cooking () 2022-11-21 08:37:06 +10:00
services FEATURE: Deleting a user with their posts also deletes chat messages. () 2022-11-28 13:32:57 -03:00
views DEV: Add dark theme support to QUnit () 2022-11-17 18:44:44 +01:00