mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 07:23:30 +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> |
||
|---|---|---|
| .. | ||
| db_provider_spec.rb | ||
| defaults_provider_spec.rb | ||
| dependency_graph_spec.rb | ||
| deprecated_settings_spec.rb | ||
| hidden_provider_spec.rb | ||
| local_process_provider_multisite_spec.rb | ||
| local_process_provider_spec.rb | ||
| type_supervisor_spec.rb | ||
| validations_spec.rb | ||
| yaml_loader_spec.rb | ||