Skip to content

questionnaire: Add a Questionnaire component - #2878

Merged
madcodelife merged 17 commits into
longbridge:mainfrom
suxiaoshao:codex/2860-questionnaire
Sep 19, 2026
Merged

madcodelife merged 17 commits into
longbridge:mainfrom
suxiaoshao:codex/2860-questionnaire

Conversation

@suxiaoshao

Copy link
Copy Markdown
Contributor

Summary

  • Add a composable Questionnaire state model and styled parts for single and multiple choice, freeform answers, skip, validation, shortcuts, focus, progress, navigation, and submission.
  • Reuse Radio, Checkbox, Input, Button, Kbd, semantic theme tokens, and Size throughout the presentation layer.
  • Add localized strings, comprehensive Story coverage, and synchronized English and Chinese documentation.

Validation

  • cargo test -p gpui-component questionnaire --lib (15 passed)
  • cargo clippy -p gpui-component --lib --tests -- --deny warnings
  • Native and nightly WASM Story checks
  • VitePress build and git diff --check

Visual acceptance was intentionally not performed. This implementation was created with AI assistance and reviewed through targeted tests.

Fixes #2860

@huacnlee
huacnlee requested a review from madcodelife August 31, 2026 07:38
@madcodelife
madcodelife force-pushed the codex/2860-questionnaire branch from 277d4d5 to f913b44 Compare September 19, 2026 02:27
madcodelife and others added 10 commits September 19, 2026 12:26
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…earn their place

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…pui-base`

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…led items

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…line

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@madcodelife

Copy link
Copy Markdown
Member

Thanks.

@madcodelife
madcodelife enabled auto-merge (squash) September 19, 2026 05:55
…er frame

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@madcodelife
madcodelife merged commit f698b4b into longbridge:main Sep 19, 2026
12 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.

Feature Request: Add a Questionnaire component

2 participants