Skip to content

Add ConfigSectionForm for managing a single INI section - #5567

Open
TheSyscall wants to merge 1 commit into
mainfrom
config-section-form
Open

Add ConfigSectionForm for managing a single INI section#5567
TheSyscall wants to merge 1 commit into
mainfrom
config-section-form

Conversation

@TheSyscall

Copy link
Copy Markdown
Contributor

Extends ConfigForm to work with one named section at a time: element names map directly to keys within the section instead of using the double-underscore convention. Supports creating new sections (when no section name is passed), renaming sections (ON_RENAME), and deleting sections (ON_DELETE). Deletion bypasses full form validation, so broken sections can always be removed. Empty sections are preserved on save because their presence alone can indicate that a resource exists and should use default values.

Extends ConfigForm to work with one named section at a time: element
names map directly to keys within the section instead of using the
double-underscore convention. Supports creating new sections (when no
section name is passed), renaming sections (ON_RENAME), and deleting
sections (ON_DELETE). Deletion bypasses full form validation so broken
sections can always be removed. Empty sections are preserved on save
because their presence alone can indicate that a resource exists and
should use default values.
@TheSyscall
TheSyscall force-pushed the config-section-form branch from ad0453d to 52524ea Compare August 27, 2026 06:29
@TheSyscall
TheSyscall requested a review from jrauh01 September 3, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant