Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add admin notices for pre-2.7 deprecations (#38030)

Jarek Radoszc74bdd6d3a6d
diff --git a/frontend/discourse/app/deprecation-workflow.js b/frontend/discourse/app/deprecation-workflow.js
index ef1ebec2984..6ae8e8cf7da 100644
--- a/frontend/discourse/app/deprecation-workflow.js
+++ b/frontend/discourse/app/deprecation-workflow.js
@@ -352,8 +352,17 @@ const workflows = [
matchId: "discourse.component-template-resolving",
},
{ handler: "notify-admin", matchId: "discourse.decorate-plugin-outlet" },
+ { handler: "notify-admin", matchId: "discourse.ember-computed-decorators" },
+ { handler: "notify-admin", matchId: "discourse.globals.site" },
+ { handler: "notify-admin", matchId: "discourse.globals.user" },
{ handler: "notify-admin", matchId: "discourse.header-widget-overrides" },
+ { handler: "notify-admin", matchId: "discourse.jquery-cookie" },
+ { handler: "notify-admin", matchId: "discourse.markdown-it.whitelist" },
{ handler: "notify-admin", matchId: "discourse.modal-controllers" },
+ {
+ handler: "notify-admin",
+ matchId: "discourse.nav-item.built-list-site-settings",
+ },
{
handler: "notify-admin",
matchId: "discourse.plugin-outlet-classic-args-clash",
@@ -368,6 +377,7 @@ const workflows = [
},
{ handler: "notify-admin", matchId: "discourse.qunit.acceptance-function" },
{ handler: "notify-admin", matchId: "discourse.qunit.global-exists" },
+ { handler: "notify-admin", matchId: "discourse.resolver-resolutions" },
{ handler: "notify-admin", matchId: "discourse.script-tag-discourse-plugin" },
{ handler: "notify-admin", matchId: "discourse.script-tag-hbs" },
{ handler: "notify-admin", matchId: "discourse.widgets-decommissioned" },
diff --git a/frontend/discourse/public/assets/scripts/module-shims.js b/frontend/discourse/public/assets/scripts/module-shims.js
index b59bcad9bfd..5223693a943 100644
--- a/frontend/discourse/public/assets/scripts/module-shims.js
+++ b/frontend/discourse/public/assets/scripts/module-shims.js
@@ -22,7 +22,7 @@ define("ember-addons/ember-computed-decorators", [
], function (decorators, deprecated) {
deprecated.default(
"ember-addons/ember-computed-decorators is deprecated. Use discourse/lib/decorators instead.",
- { since: "2.4", dropFrom: "3.0" }
+ { since: "2.4", dropFrom: "3.0", id: "discourse.ember-computed-decorators" }
);
return decorators;
});