A platform for community discussion. Free, open, simple.
DEV: Add link to gjs template override error (#23880)
David Taylor38e7960082db
diff --git a/app/assets/javascripts/discourse/app/instance-initializers/component-templates.js b/app/assets/javascripts/discourse/app/instance-initializers/component-templates.jsindex 5e1d9505e84..5ba21ed77d6 100644--- a/app/assets/javascripts/discourse/app/instance-initializers/component-templates.js+++ b/app/assets/javascripts/discourse/app/instance-initializers/component-templates.js@@ -54,7 +54,9 @@ export default {const finalOverrideModuleName = moduleNames[moduleNames.length - 1];if (isStrictMode) {- const message = `[${finalOverrideModuleName}] ${componentName} was authored using gjs and its template cannot be overridden. Ignoring override.`;+ const message =+ `[${finalOverrideModuleName}] ${componentName} was authored using gjs and its template cannot be overridden. ` ++ `Ignoring override. For more information on the future of template overrides, see https://meta.discourse.org/t/247487`;if (THROW_GJS_ERROR) {throw new Error(message);} else {