discourse/app/assets/javascripts/discourse-common/addon/deprecation-workflow.js
David Taylor 6330e6ceae
DEV: Set glimmer-topic-list to 'auto' by default (#30582)
This will cause the glimmer topic-list to be enabled for sites with compatible customizations. Incompatible customizations will print a deprecation message to the console, along with a link to more information.

Also cleans up a handful of specs/behaviour which were revealed by switching the default.

More details at https://meta.discourse.org/t/343404
2025-01-08 12:00:56 +00:00

12 lines
422 B
JavaScript

const DEPRECATION_WORKFLOW = [
{ handler: "silence", matchId: "template-action" }, // will be removed in Ember 6.0
{ handler: "silence", matchId: "deprecate-array-prototype-extensions" }, // will be removed in Ember 6.0
{ handler: "silence", matchId: "discourse.select-kit" },
{
handler: "silence",
matchId: "discourse.decorate-widget.hamburger-widget-links",
},
];
export default DEPRECATION_WORKFLOW;