Skip to content

feat(mod): quest picker for tutorial tracks#210

Open
todortodorovic wants to merge 1 commit into
mainfrom
quest-path
Open

feat(mod): quest picker for tutorial tracks#210
todortodorovic wants to merge 1 commit into
mainfrom
quest-path

Conversation

@todortodorovic
Copy link
Copy Markdown
Collaborator

image

Adds an interactive quest browser to dot mod. When a track app's source
repo ships a quests.json at the root on main, the CLI displays the
quest list (id, title, difficulty, dependencies, summary) and waits for
the user to press "Start tutorial" before continuing into the existing
clone flow. Non-track apps incur a single CDN GET (no GitHub API quota)
and skip the picker silently.

What's new

  • src/utils/mod/quests.ts — manifest fetch (raw.githubusercontent.com,
    always main), parser with schema validation, findQuest lookup.
  • src/commands/mod/QuestPicker.tsx — read-only Ink list with cursor
    navigation, summary preview for the focused quest, and a "Start
    tutorial" button. continues, q cancels.
  • src/commands/mod/index.ts — hook between the public-repo check and
    the existing runSetup. Pre-fetches metadata on the direct-domain path
    so both dot mod <domain> and the interactive picker show the
    manifest.

@github-actions
Copy link
Copy Markdown
Contributor

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/quest-path bash

@todortodorovic todortodorovic requested review from UtkarshBhardwaj007 and charlesHetterich and removed request for UtkarshBhardwaj007 May 26, 2026 16:20
@github-actions
Copy link
Copy Markdown
Contributor

E2E Test Pass · ❌ FAIL

Tag: e2e-ci-pr · Branch: quest-path · Commit: c009ff4 · Run logs

Cell Result Time
pr-deploy-foundry ✅ PASS 0m38s
pr-install ✅ PASS 0m41s
pr-deploy-frontend ✅ PASS 3m25s
pr-mod ❌ FAIL 10m17s
pr-init-session ✅ PASS 1m54s
pr-deploy-cdm ✅ PASS 2m16s
pr-preflight ✅ PASS 1m17s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m-1s

Sentry traces: view spans for this run

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