A platform for community discussion. Free, open, simple.
DEV: Delete fake upcoming change (#41357)
Martin Brennandbfb91149a22
diff --git a/config/locales/server.en.yml b/config/locales/server.en.ymlindex 9a64cbb3eff..8d374135224 100644--- a/config/locales/server.en.yml+++ b/config/locales/server.en.yml@@ -2923,7 +2923,6 @@ en:nested_replies_max_depth: "Maximum visual nesting depth for threaded replies. Posts deeper than this show a 'Continue this thread' link."nested_replies_backfill_batch_size: "Number of topics to backfill nested reply stats for per scheduled run."nested_replies_cap_nesting_depth: "Cap reply nesting at the maximum visual depth. When enabled, replies to the deepest level are re-parented as siblings instead of children."- fake_upcoming_change: "This is a fake upcoming change for testing purposes. No need to translate this string."enable_new_defaults_for_trust_level_3_requirements: "We have updated the TL3 default requirements so they’re more reasonable for members of large, active communities. If you have previously overridden these settings, this upcoming change will have no effect."floating_dismiss_topics_on_mobile: "Shows a floating 'Dismiss...' button on mobile for the topic list for easier access and to free up space in the top of the topic list"rename_faq_to_guidelines: "This change renames the FAQ page to Guidelines. The FAQ page will still be available at /faq. The {{setting:faq_url}} setting works as before."diff --git a/frontend/discourse/app/controllers/discovery/list.js b/frontend/discourse/app/controllers/discovery/list.jsindex 212cab48a09..b6a8f924d2e 100644--- a/frontend/discourse/app/controllers/discovery/list.js+++ b/frontend/discourse/app/controllers/discovery/list.js@@ -79,14 +79,6 @@ export default class DiscoveryListController extends Controller {this.appEvents.off("tag-info:updated", this, this.onTagInfoUpdated);}- // NOTE: (martin) Please keep this in tact for now, will remove once we have- // some actual upcoming changes to use.- //- // TODO (martin) (upcoming-changes) Remove this once we have actual upcoming changes to use.- get showFakeUpcomingChange() {- return this.siteSettings.fake_upcoming_change;- }-get canBulkSelect() {return (this.currentUser?.canManageTopic ||diff --git a/frontend/discourse/app/templates/discovery/list.gjs b/frontend/discourse/app/templates/discovery/list.gjsindex 2227c62f979..9271205f81d 100644--- a/frontend/discourse/app/templates/discovery/list.gjs+++ b/frontend/discourse/app/templates/discovery/list.gjs@@ -4,7 +4,6 @@ import Navigation from "discourse/components/discovery/navigation";import Topics from "discourse/components/discovery/topics";import TagInfo from "discourse/components/tag-info";import { and } from "discourse/truth-helpers";-import { i18n } from "discourse-i18n";export default <template><Layout@@ -58,10 +57,6 @@ export default <template></:header><:list>- {{#if @controller.showFakeUpcomingChange}}- {{i18n "user.upcoming_changes.title"}}- {{/if}}-<Topics@period={{@controller.model.list.for_period}}@changePeriod={{@controller.changePeriod}}