@factorialco/rjsf-f0 3.1.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -203,7 +203,7 @@ The Forms SDK's `"ui:widget": "oauth"` field opens the provider in a popup and r
203
203
  The Forms SDK's `"ui:field": "pairing"` turns an object whose properties pair Factorial records with another system's (accounts, tax codes, wage types…) into one reviewable table. The rows, their suggestions, the in-use filter and the submitted values are all handled in `@factorialco/fcode-react-forms`. This theme contributes only the drawing, as `Theme.pairing.Table`, which `FcodeJsonSchemaForm` finds through `rjsfTheme.pairing`. The table has:
204
204
 
205
205
  - a header with the counts, an **Accept N suggestions** `F0Button` shown while any suggestion is pending, and the **Needs a choice (N)** filter (an `F0Button`, outlined while off and filled while on);
206
- - an `F0FormEditableTable` with three columns: the Factorial record, a searchable select of the other system's records (a suggested row shows the suggestion as its value, marked by a blue lightbulb hint carrying the app's reason, or by the `Ai` icon when One suggested it; clearing it dismisses the suggestion), and a status tag: _Confirmed_, _Suggested_ or _Suggested by One_ (the reason as its tooltip), _No longer available_ or _Needs a choice_. A confirmed row One would pair differently stays _Confirmed_, with "One suggests X" as its hint and tooltip and a **Use** action that takes it. An explicit "not mapped" (`""` in the form) is a real option in the select. The record and status columns have fixed widths so the select keeps the rest. Each suggested row also gets an **Accept** action, and a row's validation error marks its select;
206
+ - an `F0FormEditableTable` with three columns: the Factorial record, a searchable select of the other system's records (a suggested row shows the suggestion as its value, marked by a blue lightbulb hint carrying the app's reason, or by the `Ai` icon when One suggested it; clearing it dismisses the suggestion), and a status tag: _Confirmed_, _Suggested_ or _Suggested by One_ (the reason as its tooltip), _No longer available_ or _Needs a choice_. A confirmed row One would pair differently stays _Confirmed_, with "One suggests X" as its hint and tooltip and a **Use** action that takes it. An explicit "not mapped" (`""` in the form) is a real option in the select. A free-text row (`freeText`: a row with no choices in a section with `ui:options.freeText: true`) gets a text cell instead of the select, showing a pending suggestion the same way; blanking it clears the row. The record and status columns have fixed widths so the select keeps the rest. Each suggested row also gets an **Accept** action, and a row's validation error marks its select;
207
207
  - a footer with an `F0Select` to add rows the in-use list left out, beside the app's in-use note.
208
208
 
209
209
  f0's editable table re-renders every row on each edit. With a few hundred rows listed, an edit takes about a third of a second, so keep the default list short by marking the rows in use.