The GitHub Actions job "Comment commands" on texera.git/main has succeeded.
Run started by GitHub user sshiv012 (triggered by sshiv012).

Head commit for run:
fbf773386066ca24c488258a966c175b9b756e1a / Kary Zheng 
<[email protected]>
feat(gui): read the schema's constraints in the property panel (#8507)

### What changes were proposed in this PR?

The property panel reads the constraints the schema declares.

A column property is checked against the attribute type rule for every
column it names rather than only the first. A hyperparameter's value
renders as the control its parameter implies: a dropdown where the
accepted set is known, a number input where it is numeric, a plain text
box where the rules say nothing. A property declared unique among rows
says which row already holds the value, and a row deleted clears the
error it left behind, since deleting a row changes no surviving
control's value and the row left behind would otherwise keep an error
about a duplicate that is no longer there.

#8350 is the export button; this one is a separate thread of work.

### Any related issues, documentation, discussions?

Part of #8325, 26 of 27; that issue lists the set in order.

Closes #8510, the task this change is the whole of.

Supersedes #7983, #7980 and the frontend half of #7946, which are closed
in favour of this. They touched the same three files, so reviewing them
apart meant reading the same code more than once and resolving a
conflict between them at merge.

Closes #7981. Part of #7979, #7952 and #7936, whose remaining half is in
#8348; those three stay open until both land, since each is only fixed
once the schema declares the rule and the panel enforces it.

### How was this PR tested?

`formly-utils.spec.ts` covers the mapping from a declared rule to a
control and the type checking across every named column.
`constrained-value.component.spec.ts` covers what each control renders.
`operator-property-edit-frame.component.spec.ts` drives the rendered
form, including the click that deletes a duplicate row and the error it
has to clear.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to