discourse/app/assets
David Taylor c2cad3f269
DEV: Log error to console when attempting to override gjs template (#23513)
When using ember-template-tag (.gjs), templates are much more interlinked with the JS file they're defined in. Therefore, attempting to override their template with a 'non-strict-mode' template doesn't make sense, and will likely lead to problems.

This commit skips any such overrides, and introduces a clear console warning. In theme/plugin tests, an error will be thrown during app boot.

Going forward, we aim to provide alternative APIs to achieve the customizations people currently implement with template overrides. (e.g. https://github.com/discourse/discourse/pull/23110)
2023-09-11 19:21:44 +01:00
..
images
javascripts DEV: Log error to console when attempting to override gjs template (#23513) 2023-09-11 19:21:44 +01:00
stylesheets DEV: common CSS property for content backgrounds (#23467) 2023-09-08 12:07:04 -04:00