web: settings: one select-policy form for steward writes, Keep the Why defaults and done authority; shared reason keys; one missing-reason rule
tsk-mm25vqckwj0c Proposed
Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. View: project settings. Kind: duplication and i18n debt.
What is wrong
stewardWritesForm(web/js/app.js:1766-1788, new) matcheskeepTheWhyDefaultsForm(:1740-1762) line for line, including theprovider === "none"gate;doneAuthorityForm(:1427-1446) has the same one-select-plus-reason shape.- Its keys repeat shared ones:
settings.steward_writes.reasonand.reason_placeholderrepeatsettings.reasonandsettings.reason_placeholder(web/i18n/en.json:5128,:5130), which the other forms added in the range use (ownApprovalsForm:1515,:1550;outsideClaimsForm:1598,:1666);settings.steward_writes.saverepeatssettings.ktw_defaults.save;settings.outside_claims.owner_onlyandsettings.outside_claims.error.owner_onlyhave the same English text. - A missing reason is handled two ways:
outsideClaimsFormsetsnovalidateand showssettings.reason_needed; the other policy forms only focus the empty field.
Proposal
selectPolicyForm(ctx, save, {field, options, fallback, keys})for the three select forms with the shared reason keys; drop the duplicate keys; one missing-reason behaviour.
Effort / risk: S-M. Low; key removals touch the ten catalogs and their meta files.