The GitHub Actions job "Backport Approval Check" on 
texera.git/feat/form-projection-drag-reorder has succeeded.
Run started by GitHub user yangzhang75 (triggered by yangzhang75).

Head commit for run:
7b5aa235ee8645b8026cbabe0b593eb35b8347f9 / Yang Zhang <[email protected]>
feat(workflow-form): render Projection's drag-reorder list in the form, with 
the drag and a keyboard path

An exposed drag-reorder property (Projection's columns, formly type
repeat-section-dnd) fell back to a plain repeated list in the Form View:
the rows could be edited but not reordered. The fallback assumed the
drag had nowhere to attach on a form; the widget carries its own drop
list, and the row template comes from the operator schema the form
already builds. Take it out of CANVAS_ONLY_FORMLY_TYPES, which now
holds the code editor only.

Give the widget a keyboard path, as the form's step list has: Move up
and Move down on every row, through the same move as the drag (model,
field configs, form controls, then the parent's callback). At the ends
the buttons are aria-disabled rather than disabled, so the focused
button is not dropped, and the focus is put back on the moved row's
button after the ngFor re-inserts it. The handle is hidden from
assistive tech, and the drag is disabled with the section.

Closes #8761

Co-Authored-By: Claude Fable 5.1 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/37230149467

With regards,
GitHub Actions via GitBox

Reply via email to