discourse/spec/services/themes
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
..
bulk_destroy_spec.rb
create_spec.rb DEV: Don't use fab! for non-ActiveRecord model objects (#39272) 2026-04-15 00:52:34 +02:00
destroy_spec.rb FIX: Add delete button to themes grid (#34606) 2025-08-29 10:09:23 +08:00
get_translations_spec.rb
horizon_high_context_topic_cards_spec.rb FEATURE: Enable high context topic cards in Horizon by default (#39959) 2026-05-15 10:50:42 +10:00
theme_site_setting_manager_spec.rb DEV: Fix random typos (#38303) 2026-03-05 23:25:58 +01:00