The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
5de83017defe685cc29703eb37628383fbbf3bfb / yangzhang75 <[email protected]>
feat(property-editor): choose which properties the Form View exposes (#8318)

### What changes were proposed in this PR?

Part of the Form View feature stack (parent issue #8011). This PR is the
authoring affordance for choosing which operator properties the Form
View exposes -- frontend only.

* A toggle on the operator 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 share the same state.
* In that mode the operator property frame puts a tick box beside each
top-level property (`ExposePropertyWrapper`) -- never on nested
array/object fields; ticking it exposes or unexposes that property
through the form-binding service, which records it in the workflow's
form binding.

Reader-facing rendering of the exposed inputs, the editable-label
wrapper (rename/hide), and the property panel's reuse in the Form View
are added by later PRs in the stack, each alongside the code that
consumes them.

### Any related issues, documentation, discussions?

Closes #8017.

Part of the Form View feature (parent issue #8011); builds on the
form-binding service (#8016) and the shared types (#8015), both merged.

### How was this PR tested?

Unit tests (vitest): the new `ExposePropertyWrapper` at 100% statements,
branches, and functions; the property editor's choosing logic; and the
operator frame's tick-box decoration -- including a regression that
nested fields never receive a toggle, even one whose key collides with a
top-level property name. Coverage is 100% of the lines this PR adds.

### Screenshots

The property panel gets a "Choose Form View fields" toggle; turning it
on puts a tick box beside each top-level property so the author can mark
which ones the form exposes.

Choosing toggle (off):

<img width="320" height="476" alt="Screenshot 2026-09-02 at 9 49 09 PM"
src="https://github.com/user-attachments/assets/ca01544d-c475-4994-a29d-81731061f474";
/>


Choosing on, with a property exposed (tick boxes appear on top-level
properties only, never on nested rows):

<img width="315" height="474" alt="Screenshot 2026-09-02 at 9 49 25 PM"
src="https://github.com/user-attachments/assets/746e4468-e166-4976-bb45-94ce1cc751f1";
/>


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

Co-authored-by: Claude Opus 4.8 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to