yangzhang75 opened a new pull request, #8318:
URL: https://github.com/apache/texera/pull/8318

   ### What changes were proposed in this PR?
   
   Part of the Form View feature stack (parent issue #8011). It builds on PR4 
(#8304); until that merges the diff also shows PR4's files, and PR5's own 
change is the property editor plus two formly wrappers.
   
   Adds the authoring affordance for choosing which operator properties the 
Form View exposes:
   
   * A toggle on the property panel (shown wherever the feature flag is on) 
turns on a "choosing" mode, kept in the form-binding service so the canvas 
toolbar and the Form View preview share the same state.
   * In that mode the operator property frame puts a tick box beside each 
top-level property (ExposePropertyWrapper); ticking it exposes or unexposes 
that property through the form-binding service.
   * An editable-label formly wrapper lets the author rename an exposed field 
(and its sub-fields) in place.
   * The same panel is reused inline in the Form View preview via a 
persistPlacement flag, so the preview copy never overwrites the docked panel's 
saved size and position.
   
   ### Any related issues, documentation, discussions?
   
   Closes #8017.
   
   Part of the Form View feature (parent issue #8011); builds on PR4 (#8304) 
for the form-binding service, and on the shared types from #8275.
   
   ### How was this PR tested?
   
   Unit tests (vitest): the two new formly wrappers at 100% statements, 
branches, and functions; the property editor's choosing and expose logic; and 
the operator frame's tick-box decoration. Coverage is 100% of the lines this PR 
adds.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Yes. Co-authored with Claude (Anthropic), reviewed line by line by the 
author before submission.
   


-- 
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