Skip to content

Dev#111

Merged
Vijayabaskar56 merged 3 commits into
mainfrom
dev
Jun 15, 2026
Merged

Dev#111
Vijayabaskar56 merged 3 commits into
mainfrom
dev

Conversation

@Vijayabaskar56

Copy link
Copy Markdown
Member

No description provided.

…fixes

Field-mention (`@`) tokens in labels/descriptions that resolve to live answers,
built on @platejs/mention, plus logic-engine support for multi-value set-values
and an `optional` action.

Review fixes applied on top:
- LabelBody: move the values useStore into a child component so the hook order
  stays stable when a label's last mention is removed (was a conditional hook
  that could crash the live preview).
- engine: share a single asString coercion with operators.ts instead of a
  duplicated copy that could drift.
- engine: skip the visibility-convergence loop unless a show/hide-toggled field
  is itself a condition source — one pass is exact otherwise, avoiding
  O(fields × rules) re-accumulation per keystroke on large forms.
- oxfmt multi-select.tsx (was left unformatted in the prior commit → Format job).
- Remove the now-unused useFormIsDark hook (and its orphaned useResolvedTheme
  import): this feature dropped getMultiSelectColor's isDark argument and the
  dark chip palette, so form-preview chips render neutral and nothing reads the
  hook anymore → knip --strict failed the Lint job. Update the stale comment.
…ings

feat(forms): @-mention field tokens + multi-value logic, with review fixes
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
reform Building Building Preview, Comment Jun 15, 2026 1:58pm

Request Review

@Vijayabaskar56 Vijayabaskar56 merged commit 1407f99 into main Jun 15, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant