yangzhang75 opened a new issue, #8761:
URL: https://github.com/apache/texera/issues/8761

   ### Feature Summary
   
   An exposed drag-reorder property -- Projection's columns, formly type 
`repeat-section-dnd` -- falls back to a plain repeated list in the Form View 
(`CANVAS_ONLY_FORMLY_TYPES`, `custom-formly-type.ts:35`; the fallback at 
`workflow-form.component.ts:872-876`). A reader can edit the rows but not 
reorder them, which is what the widget is for.
   
   Part of #8439 (item 2) and the Form View feature #8011. Raised by @mengw15 
on #8436.
   
   ### Proposed Solution or Design
   
   The widget is a `FieldArrayType` whose rows come from an item template the 
property panel builds with extra dynamic-schema wiring for Projection's 
attributes; the reorder callback itself is optional, since the form's 
`valueChanges` persists a reorder. Rendering it with the drag means reproducing 
that item-template wiring in the form's field walk -- #8438 added the sub-field 
walk (`childPath`, `arrayItemOf`) to build on -- and verifying it against the 
real Projection schema, with a keyboard path (Move up / Move down) beside the 
drag, as the form's own step list has. Once it works, `repeat-section-dnd` 
leaves `CANVAS_ONLY_FORMLY_TYPES`.
   
   ### Affected Area
   
   Workflow UI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to