discourse/config/initializers
Martin Brennan af5a05c280
FEATURE: Enable high context topic cards in Horizon by default (#39959)
This commit introduces a `enable_horizon_high_context_topic_cards`
upcoming change, which when enabled, will toggle the high context
topic cards to enabled for the Horizon theme. Existing sites will
have the option disabled by default with a legacy DB entry in
the theme_settings table.

New sites will have high context topic cards enabled by default
via the theme settings yml file.

The upcoming change is conditional:

* On brand new sites, we do not need the Upcoming Change because they’ll
be starting off with the new default.
* On existing sites…
* If Horizon is not in use (i.e. Theme is enabled by default and Theme
can be selected by users are both disabled), we do not need the Upcoming
Change. No one on the site is really impacted by this change.
* If Horizon is the default theme (i.e. Theme is enabled by default is
enabled; Theme can be selected by users is enabled or disabled), we do
need the Upcoming Change. Many users on the site will be impacted by
this change.
* If Horizon is user-selectable but not the default theme (i.e. Theme is
enabled by default is disabled but Theme can be selected by users is
enabled), we do need the Upcoming Change. Perhaps not many users will be
impacted, but there’s still some impact so I figure better to be safe.
2026-05-15 10:50:42 +10:00
..
000-active_record.rb DEV: Add ai_posts_embeddings to ignored tables (#36629) 2025-12-12 12:58:57 +00:00
000-development_reload_warnings.rb DEV: Disable file watchers in CI (#39244) 2026-04-22 14:19:07 +02:00
000-mini_racer.rb DEV: Add experimental DISCOURSE_MINI_RACER_SINGLE_THREADED (#38119) 2026-02-27 15:57:02 +00:00
000-mini_sql.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
000-pg_connection_patch.rb DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
000-post_migration.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
000-trace_pg_connections.rb DEV: Move debugging gem from byebug to debug (#34827) 2025-09-17 10:08:52 -03:00
000-zeitwerk.rb DEV: Remove Unicorn web server in favor of Pitchfork (#39032) 2026-04-01 15:04:59 +02:00
001-redis.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
002-freedom_patches.rb DEV: Remove the obsolete sidekiq patch (#37145) 2026-01-19 16:00:06 +01:00
002-rails_failover.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
004-message_bus.rb DEV: Make changes for docker_manager Pitchfork compatibility (#36456) 2025-12-18 14:22:39 +01:00
005-site_settings.rb DEV: Move bootstrap site settings from initializers to seeds (#39942) 2026-05-13 10:07:54 +01:00
006-mini_profiler.rb DEV: Upgrade the Redis gem to v5.4 2025-03-19 14:34:00 +01:00
008-rack-cors.rb DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
009-omniauth.rb DEV: Show unauthorized message when OAuth::Unauthorized is hit (#37776) 2026-02-12 13:41:33 -05:00
012-category_types.rb FEATURE: add category type configuration system (#37929) 2026-02-27 13:20:17 +10:00
012-web_hook_events.rb Add user_anonymized webhook event (#36208) 2025-11-25 07:43:16 -08:00
014-track-setting-changes.rb UX: Remove Bootstrap Mode (#37694) 2026-02-17 16:46:32 -03:00
015-track-upcoming-change-toggle.rb FEATURE: Enable high context topic cards in Horizon by default (#39959) 2026-05-15 10:50:42 +10:00
099-anon-cache.rb FEATURE: Add experimental option for strict-dynamic CSP (#25664) 2024-02-16 11:16:54 +00:00
099-drain_pool.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
100-active-support-type-extensions.rb DEV: Add symbol to ActiveModel attribute types (#36420) 2025-12-03 10:57:44 +01:00
100-custom-timezones.rb DEV: maps IST rails timezone to kolkata (#32896) 2025-05-26 08:56:04 +02:00
100-flags.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
100-i18n.rb FIX: Purge ExtraLocalesController cache correctly for multisite (#32654) 2025-05-08 23:52:45 +01:00
100-logster.rb DEV: Customize the dev-env rails logger (#39988) 2026-05-14 11:31:14 +02:00
100-oj.rb DEV: Update multi_json to 1.20.1 (#39627) 2026-04-29 11:38:36 +02:00
100-onebox_options.rb DEV: Add a user agent to all HTTP requests that Discourse makes. (#31555) 2025-03-03 16:32:25 +11:00
100-quiet_logger.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
100-regex-timeout.rb DEV: Introduce regex_timeout_seconds global setting (#20774) 2023-03-22 12:01:35 +00:00
100-secret_token.rb
100-session_store.rb DEV: allow developers to use HTTPS if they wish (#26384) 2024-03-27 10:48:04 +11:00
100-sidekiq.rb PERF: Stop 'warming up' AR during sidekiq boot (#38126) 2026-02-27 19:29:56 +00:00
100-silence_logger.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
100-strong_parameters.rb
100-verify_config.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
100-wrap_parameters.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
101-lograge.rb DEV: Log browser page view tracking requests to rails logs (#39600) 2026-05-05 15:14:24 +08:00
102-truncate-logs.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
200-first_middlewares.rb PERF: Reject anonymous requests with 503 upon aggressive queuing (#36519) 2025-12-18 10:23:42 +08:00
300-nested-replies.rb FEATURE: First iteration of nested replies (#38888) 2026-04-16 08:06:44 -05:00
300-perf.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
400-deprecations.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
999-themes.rb DEV: Disable file watchers in CI (#39244) 2026-04-22 14:19:07 +02:00
assets.rb DEV: Restore propshaft sourcemap middleware (#38415) 2026-03-10 13:55:10 +01:00
filter_parameter_logging.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00