Catalog chips on the structure, size, and values steps were unnamed for assistive tech. Method and value creation fields also opened already filled with catalog copy.
This names each non-custom MultiSelect chip Select or Deselect, and opens those creation fields empty. Generate draft inserts the catalog copy that used to be prefilled.
Changes
MultiSelect sets Select {label} / Deselect {label} on catalog chips (structure, size, values, and the same chip control on final review). Chip only exposes aria-label when one is provided.
Creation modals for values and methods start with empty text fields. Generate draft (plus the short hint) fills in the catalog preset for that section. Saved overrides still reopen with the saved text.
TextArea gains a compose appearance for the tall empty field. Customize still shows the catalog section headings when the copy is empty, so the wizard is not missing blocks.
Copy lives in controlsChrome (chipSelect / chipDeselect) and create.draftField.
How to Test
Run the app locally and go through create from /create.
On /create/community-structure, /create/community-size, and /create/core-values, inspect a chip: selected chips keep the checkmark; the button name should be Select … or Deselect …. Repeat on /create/final-review chips.
Click a catalog value (e.g. Accessibility) or a method card (e.g. Signal on /create/communication-methods). The text fields should start empty. Generate draft should insert the catalog copy. Saving, then reopening, should show what you saved.
Add value still opens the custom-policy wizard, not this modal.
Batch 6 layout rewrite should keep these names on MultiSelect rather than restating them in screen markup.
Publish still merges empty field overrides onto catalog presets so unpublished sections are not dropped.
## Overview
Catalog chips on the structure, size, and values steps were unnamed for assistive tech. Method and value creation fields also opened already filled with catalog copy.
This names each non-custom MultiSelect chip Select or Deselect, and opens those creation fields empty. Generate draft inserts the catalog copy that used to be prefilled.
## Changes
- MultiSelect sets `Select {label}` / `Deselect {label}` on catalog chips (structure, size, values, and the same chip control on final review). Chip only exposes `aria-label` when one is provided.
- Creation modals for values and methods start with empty text fields. Generate draft (plus the short hint) fills in the catalog preset for that section. Saved overrides still reopen with the saved text.
- TextArea gains a `compose` appearance for the tall empty field. Customize still shows the catalog section headings when the copy is empty, so the wizard is not missing blocks.
- Copy lives in `controlsChrome` (`chipSelect` / `chipDeselect`) and `create.draftField`.
## How to Test
1. Run the app locally and go through create from `/create`.
2. On `/create/community-structure`, `/create/community-size`, and `/create/core-values`, inspect a chip: selected chips keep the checkmark; the button name should be `Select …` or `Deselect …`. Repeat on `/create/final-review` chips.
3. Click a catalog value (e.g. Accessibility) or a method card (e.g. Signal on `/create/communication-methods`). The text fields should start empty. Generate draft should insert the catalog copy. Saving, then reopening, should show what you saved.
4. Add value still opens the custom-policy wizard, not this modal.
5. Optional: Storybook → ModalTextAreaField → GenerateDraft.
## Notes
- Batch 6 layout rewrite should keep these names on MultiSelect rather than restating them in screen markup.
- Publish still merges empty field overrides onto catalog presets so unpublished sections are not dropped.
Catalog chips now announce Select or Deselect so they are named for assistive tech. Method and value modals open blank; Generate draft inserts the catalog copy that used to be prefilled, and Customize still keeps the section headings.
Co-authored-by: Cursor <cursoragent@cursor.com>
an.di
self-assigned this 2026-10-01 15:52:10 +00:00
an.di
merged commit 2fc7fbf818 into main2026-10-01 15:52:24 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Overview
Catalog chips on the structure, size, and values steps were unnamed for assistive tech. Method and value creation fields also opened already filled with catalog copy.
This names each non-custom MultiSelect chip Select or Deselect, and opens those creation fields empty. Generate draft inserts the catalog copy that used to be prefilled.
Changes
Select {label}/Deselect {label}on catalog chips (structure, size, values, and the same chip control on final review). Chip only exposesaria-labelwhen one is provided.composeappearance for the tall empty field. Customize still shows the catalog section headings when the copy is empty, so the wizard is not missing blocks.controlsChrome(chipSelect/chipDeselect) andcreate.draftField.How to Test
/create./create/community-structure,/create/community-size, and/create/core-values, inspect a chip: selected chips keep the checkmark; the button name should beSelect …orDeselect …. Repeat on/create/final-reviewchips./create/communication-methods). The text fields should start empty. Generate draft should insert the catalog copy. Saving, then reopening, should show what you saved.Notes