Skip to content

fix(form): a field skeleton always says what it waits for — 0.10.61 - #139

Merged
nickmazurenko merged 1 commit into
developfrom
bugfix/138_form-skeleton-names-its-wait
Oct 8, 2026
Merged

nickmazurenko merged 1 commit into
developfrom
bugfix/138_form-skeleton-names-its-wait

Conversation

@nickmazurenko

Copy link
Copy Markdown
Contributor

Problem

FormFieldsSkeleton rendered data-wait only when its caller passed reason. The two nested waits passed none, so their placeholder carried no marker:

  • AutoField while it resolves a named arg_schema: <FormFieldsSkeleton rows={1} /> (src/components/form/fields/auto/AutoFormField.tsx)
  • the hash field while its sub-schema loads: <FormFieldsSkeleton rows={2} /> (src/components/form/fields/Field.tsx)

data-wait is also how a page asks whether a form has finished loading. qorus-ide's stories wait on [data-wait] before Qlip takes its picture, and Qlip build 279 captured Interfaces/AI Guardrail · Existing with the Rules row still on this skeleton: drake sends rules with arg_schema: "ai-guardrail-rules", and the story's loading wait could not see the placeholder.

Fix

Tests

__tests__/formFieldsSkeletonNamesItsWait.test.tsx (3 tests): the skeleton carries the reason it is given, is still marked with none, and an AutoField waiting on a named arg_schema shows data-wait="arg-schema". The last two fail without the fix.

Run locally: yarn precheck (lint, the full unit suite of 175 files / 1857 tests, build:test:prod). In qorus-ide, with this build linked in, the AI Guardrail stories pass 5/5 and Existing captures the settled Rules row.

Closes #138

FormFieldsSkeleton rendered `data-wait` only when its caller named a
reason, and the two nested waits named none: AutoField resolving a named
arg_schema, and the hash field loading its sub-schema. `data-wait` is also
how a page asks whether a form has finished loading, so those placeholders
were ones nothing could wait for; qorus-ide's Qlip build 279 captured the
AI Guardrail creator's Rules row on one.

`reason` now defaults to `loading`, so the skeleton is always marked, and
both callers name `arg-schema`. 0.10.61.

Closes #138
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

📦 Prerelease published for this PR:

@qoretechnologies/reqraft@0.10.61-pr.139.gddd4ce2

Install it in a consumer (updates package.json + lockfile):

yarn add @qoretechnologies/reqraft@0.10.61-pr.139.gddd4ce2

Published under the pr dist-tag — latest/beta are untouched. Repoint consumers to the released version once this PR merges.

@qlip-qore-technologies

Copy link
Copy Markdown

qlip visual regression

✅ No visual changes.

Review build 20261008-093946 in the dashboard →

@nickmazurenko
nickmazurenko merged commit 69da90b into develop Oct 8, 2026
4 checks passed
@nickmazurenko
nickmazurenko deleted the bugfix/138_form-skeleton-names-its-wait branch October 8, 2026 09:49
davidnich added a commit that referenced this pull request Oct 8, 2026
#137's one patch bump moves to 0.10.62.
davidnich added a commit that referenced this pull request Oct 8, 2026
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.

[BUG] FormFieldsSkeleton draws a placeholder nothing can wait for when its caller names no reason

1 participant