From 1d277ba96e517cc4be32a9f4fb517ad46587e334 Mon Sep 17 00:00:00 2001 From: Kelv Date: Mon, 15 Jul 2024 15:10:04 +0800 Subject: [PATCH] DEV: add discourse prefix to deprecation ids to differentiate from ember deprecations (#27910) --- app/assets/javascripts/discourse/app/models/topic-list.js | 2 +- app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/models/topic-list.js b/app/assets/javascripts/discourse/app/models/topic-list.js index bffccb495f9..6a1f596b365 100644 --- a/app/assets/javascripts/discourse/app/models/topic-list.js +++ b/app/assets/javascripts/discourse/app/models/topic-list.js @@ -106,7 +106,7 @@ export default class TopicList extends RestModel { deprecated( `TopicList.find is deprecated. Use \`findFiltered("topicList")\` on the \`store\` service instead.`, { - id: "topic-list-find", + id: "discourse.topic-list-find", since: "3.1.0.beta5", dropFrom: "3.2.0.beta1", } diff --git a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js index 25f53a81096..cd9936d6231 100644 --- a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js +++ b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js @@ -447,7 +447,7 @@ export function controllerFor(controller, model) { deprecated( 'controllerFor is deprecated. Use the standard `getOwner(this).lookup("controller:NAME")` instead', { - id: "controller-for", + id: "discourse.controller-for", since: "3.0.0.beta14", } );