Summary
Extract the repeated popover field markup in TaskForm into a reusable PopoverField component.
Required changes
- Replace the five repeated button,
aria-expanded, and MenuPanel field blocks with one component.
- Preserve all current labels, values, menu behavior, and accessibility attributes.
Affected areas
Acceptance criteria
- Each existing popover field behaves as before.
- Common popover structure is defined once.
Source
Summary
Extract the repeated popover field markup in
TaskForminto a reusablePopoverFieldcomponent.Required changes
aria-expanded, andMenuPanelfield blocks with one component.Affected areas
TaskForm.tsxAcceptance criteria
Source