0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/plugins/discourse-ai/admin/assets/javascripts/discourse
Régis Hanol 3c35d7ce97
FIX: Bring shared setting-field renderers to parity with admin controls (#41773)
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).
2026-07-17 08:37:37 +02:00
..
components FEATURE: add Google Vertex AI LLM provider (#41350) 2026-07-16 15:13:22 -03:00
controllers DEV: Add a reusable SettingDefinitionField for FormKit setting fields (#41099) 2026-06-25 09:30:38 +02:00
initializers DEV: Move plugins' admin code to admin directories (#37761) 2026-02-12 16:17:45 +01:00
routes/admin-plugins/show FIX: Bring shared setting-field renderers to parity with admin controls (#41773) 2026-07-17 08:37:37 +02:00
templates DEV: Add a reusable SettingDefinitionField for FormKit setting fields (#41099) 2026-06-25 09:30:38 +02:00