discourse/app/assets/javascripts/admin/addon/mixins
Martin Brennan 83361b2fc5
FEATURE: Introduce site settings which require confirmation (#27315)
Many site settings can be distructive or have huge side-effects
for a site that the admin may not be aware of when changing it.

This commit introduces a `requires_confirmation` attribute that
can be added to any site setting. When it is true, a confirmation
dialog will open if that setting is changed in the admin UI,
optionally with a custom message that is defined in client.en.yml.

If the admin does not confirm, we reset the setting to its previous
clean value and do not save the new value.
2024-06-19 16:01:24 +10:00
..
period-computation.js DEV: Replace period mixin with a component (#25292) 2024-01-18 13:06:42 +01:00
setting-component.js FEATURE: Introduce site settings which require confirmation (#27315) 2024-06-19 16:01:24 +10:00
setting-object.js DEV: Add save button to editing typed objects theme setting route (#26133) 2024-03-13 06:52:46 +08:00