mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 08:51:31 +08:00
Adds an optional `hide_settings:` key to `upcoming_change` metadata in `site_settings.yml`. It declares other site settings that should be hidden from admins while the change is enabled (manual opt-in or auto-promotion) — useful for legacy settings that stop making sense once the change replaces them. The hidden set is computed live by `UpcomingChanges.settings_hidden_while_enabled` and consulted by `SiteSettings::HiddenProvider#all`, rather than toggled imperatively at opt-in time. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| coding_style_spec.rb | ||
| common_mark_spec.rb | ||
| having_multiple_tagged_loggers_spec.rb | ||
| i18n_spec.rb | ||
| js_constants_spec.rb | ||
| middleware_order_spec.rb | ||
| oj_spec.rb | ||
| onceoff_integrity_spec.rb | ||
| site_setting_spec.rb | ||
| upcoming_change_metadata_spec.rb | ||