Skip to content

docs: add an interactive Getting Started wizard to the guide - #303

Merged
antfu merged 7 commits into
mainfrom
docs/getting-started-wizard
Aug 27, 2026
Merged

docs: add an interactive Getting Started wizard to the guide#303
antfu merged 7 commits into
mainfrom
docs/getting-started-wizard

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Summary

Adds a Getting Started page (/guide/getting-started) with an interactive wizard for picking what kind of devtool you're building, then recommending a tailored reading list.

  • A checkbox questionnaire (multi-select, not radios) covering: where you want to visualize data from (node side / user's web app), what environments the tool should work with (standalone / Vite / Next.js / a specific framework / all frameworks), when the data is available (dev time / build time / static / remote), how you want to build the frontend view (a preferred framework / Web Components / on the node side), whether it should work with a coding agent, and other requirements (streaming, an overlay on the user's web app, composing with other devtools, auth, deep linking, terminal access).
  • Selections persist to localStorage, so a reader's answers survive a reload or a later visit.
  • A "Recommended docs" list at the bottom updates live from the selections, drawing from the guide, adapters, frameworks, and plugins sections, with a "Start here" baseline (Introduction, Devframe Definition, the tutorial) always shown.
  • The page is wired into the sidebar (right after Introduction) and the prev/next flow, plus a pointer link from the Introduction page.

The wizard is a plain Vue component (docs/app/components/global/GettingStartedWizard.vue) using Nuxt UI's UCheckboxGroup/UPageCard/UPageList, embedded into the markdown page via the ::getting-started-wizard MDC syntax. It lives under components/global/ because components used inside dynamically-rendered MDC content (outside the homepage's hardcoded component map) need Nuxt's global-component registration to resolve at runtime.

Verified interactively (checkbox toggling, live recommendation updates, and localStorage persistence across reloads) against a local nuxt dev server.


This PR was created with the help of an agent.

Adds a checkbox-based questionnaire (data source, target environments,
data availability, frontend approach, agent support, and other
requirements) that recommends a tailored reading list from the guide,
adapters, frameworks, and plugins docs. Selections persist to
localStorage so a reader can leave and come back to the page.
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
devframe Ready Ready Preview Aug 27, 2026 5:50am

Replace the plain checkbox list with a grid of selectable cards - each
with an icon badge, title, and description - matching the card-picker
pattern used elsewhere for this kind of preference UI. Selected cards
get a highlighted border, tinted icon badge, and a check mark.
Lay each card out horizontally (icon beside the label) and put each
section's title and hint on one line, trimming section and card padding
so the whole wizard takes far less vertical space.
- Give each option its own tinted icon badge via a static color map, and
  restore a check mark for the selected state (the badge no longer carries it).
- Render the recommended-docs list as inline NuxtLink rows instead of
  UPageList/UPageCard.
- Realign the recommendation map with the reworked sections: map the moved
  'agent' item, broaden the merged 'specific framework' option, and drop the
  now-dead keys.
… icons

- Apply each item's accent color to the card's border/background/ring and its
  icon badge only when selected; unselected cards stay neutral gray.
- Remove the corner check mark (color now signals selection).
- Add a leading icon to every question heading.
@antfu
antfu merged commit b3c8efc into main Aug 27, 2026
10 of 11 checks passed
@antfu
antfu deleted the docs/getting-started-wizard branch August 27, 2026 05:48
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.

2 participants