"use client" import * as React from "react" import { toast } from "sonner" import { Questionnaire, QuestionnaireActions, QuestionnaireChoice, QuestionnaireChoices, QuestionnaireError, QuestionnaireItem, QuestionnaireNext, QuestionnairePrevious, QuestionnaireProgress, QuestionnaireSubmit, QuestionnaireTitle, } from "@/styles/aria-nova/ui/questionnaire" const items = [ { name: "scope", required: true }, { name: "strategy", required: true }, { name: "tests", required: true }, { name: "delivery", required: true }, ] as const export function QuestionnaireProgressExample() { function handleSubmit(event: React.FormEvent) { event.preventDefault() const formData = new FormData(event.currentTarget) toast("Pull request plan ready", { description: `Scope: ${formData.get("scope") ?? "None"} · Commits: ${formData.get("strategy") ?? "None"} · Tests: ${formData.get("tests") ?? "None"} · Delivery: ${formData.get("delivery") ?? "None"}`, }) } return ( (
Checkpoint {state.current} of {state.total}
)} /> How large is the change? Small patch Feature-sized change Cross-package change How should commits be organized? Single commit Logical commits Squash before review Which tests should run? Targeted tests Package suite Full workspace How should the work be delivered? Patch only Committed locally Push a review branch Next Finish plan
) }