mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-16 09:01:15 +08:00
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. |
||
|---|---|---|
| .. | ||
| 000-active_record.rb | ||
| 000-development_reload_warnings.rb | ||
| 000-mini_racer.rb | ||
| 000-mini_sql.rb | ||
| 000-pg_connection_patch.rb | ||
| 000-post_migration.rb | ||
| 000-trace_pg_connections.rb | ||
| 000-zeitwerk.rb | ||
| 001-redis.rb | ||
| 002-freedom_patches.rb | ||
| 002-rails_failover.rb | ||
| 004-message_bus.rb | ||
| 005-site_settings.rb | ||
| 006-mini_profiler.rb | ||
| 008-rack-cors.rb | ||
| 009-omniauth.rb | ||
| 012-category_types.rb | ||
| 012-web_hook_events.rb | ||
| 014-track-setting-changes.rb | ||
| 015-track-upcoming-change-toggle.rb | ||
| 099-anon-cache.rb | ||
| 099-drain_pool.rb | ||
| 100-active-support-type-extensions.rb | ||
| 100-custom-timezones.rb | ||
| 100-flags.rb | ||
| 100-i18n.rb | ||
| 100-logster.rb | ||
| 100-oj.rb | ||
| 100-onebox_options.rb | ||
| 100-quiet_logger.rb | ||
| 100-regex-timeout.rb | ||
| 100-secret_token.rb | ||
| 100-session_store.rb | ||
| 100-sidekiq.rb | ||
| 100-silence_logger.rb | ||
| 100-strong_parameters.rb | ||
| 100-verify_config.rb | ||
| 100-wrap_parameters.rb | ||
| 101-lograge.rb | ||
| 102-truncate-logs.rb | ||
| 200-first_middlewares.rb | ||
| 300-nested-replies.rb | ||
| 300-perf.rb | ||
| 400-deprecations.rb | ||
| 999-themes.rb | ||
| assets.rb | ||
| filter_parameter_logging.rb | ||