Skip to content

ok: Label the query builder Nigel prompt - #3136

Draft
fredvisser wants to merge 2 commits into
feature/query-builderfrom
feature/query-builder-chat-label
Draft

fredvisser wants to merge 2 commits into
feature/query-builderfrom
feature/query-builder-chat-label

Conversation

@fredvisser

Copy link
Copy Markdown
Contributor

Pull Request

🤨 Rationale

Follow up #3109 with a separate localized accessible label for the Nigel chat prompt. This requires the textarea label forwarding in #3135.

👩‍💻 Implementation

Bind the prompt description to aria-label and retain the example as the placeholder. The test verifies both the initial label and localized updates.

This draft is based on #3109. Its first commit copies the #3135 fix so this branch builds and tests independently; those Spright changes are shown here temporarily. Merge #3135 first, then update #3109 from main so the copied fix drops out of this PR's diff. After #3109 merges, retarget this PR to main. Do not merge this PR before both prerequisites.

🧪 Testing

  • npm run build:components -w @ni/spright-components — passed.
  • npm run build:components -w @ni/ok-components — passed.
  • ./node_modules/.bin/karma start ../files/query-followup-karma.cjs --browsers=ChromeHeadlessOpt --single-run --skip-tags SkipChrome — passed, 724 tests. The temporary config points Vite at the Spright build in this branch and allows dependencies from the existing checkout.
  • From packages/ok-components: ../../node_modules/.bin/eslint src/fv/query-builder/template.ts src/fv/query-builder/tests/query-builder.spec.ts — passed.

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

fredvisser and others added 2 commits November 25, 2026 11:18
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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