mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
Previously, the shared `SettingDefinitionField` renderers lacked behaviors their legacy `site-settings/*` counterparts enforce — most notably `group_list` skipped the everyone/logged_in_users aliasing and `disallowed_groups`/`mandatory_values`, so the AI feature settings page could silently store the wrong group. This change ports those behaviors into the shared renderers — group aliasing (extracted to `discourse/lib/group-list-setting-aliasing` so there is a single implementation), `compact_list` custom entries / `allow_any` / `mandatory_values`, `enum` none-gating and non-string value matching, and the `category_list` concurrent-lookup guard — so they can back the admin site settings pages next (t/179889). |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| initializers | ||
| routes/admin-plugins/show | ||
| templates | ||