Skip to content

docs: propose interactive tutorial tab (accepted) - #4

Closed
MentorFilou wants to merge 5 commits into
mainfrom
claude/editor-tutorial-tab-proposal-uig2kx
Closed

docs: propose interactive tutorial tab (accepted)#4
MentorFilou wants to merge 5 commits into
mainfrom
claude/editor-tutorial-tab-proposal-uig2kx

Conversation

@MentorFilou

Copy link
Copy Markdown
Member

Adds the accepted proposal for the interactive tutorial tab ("Try it") at /try/: a large editable IDE mock whose terminal executes the real, release-pinned dist/flashtrace.mjs in a module worker against in-memory buffers, with 11 guided chapters, assist buttons, and localStorage-persisted progress/buffers.

All maintainer decisions are folded in and marked Decided (entry point, assist flagging, full 11-chapter v1 scope, JS-only code pane with language-ready data model, buffer persistence with resume modal, single-PR delivery). Feasibility of the in-browser runner is proven by the PoC in Appendix A.

Implementation follows separately on feat/tutorial-tab.

🤖 Generated with Claude Code

claude and others added 5 commits July 13, 2026 16:37
Proposal for a third top-level tab ('Learn'): a large editable IDE mock
(Markdown spec left, code right, terminal bottom) whose terminal executes
the real, release-pinned dist/flashtrace.mjs in a module Worker against
the editor buffers as in-memory tmp files. Guided chapters teach one
feature each, with 'Help me' / 'Do the next step for me' assists that
highlight and type inside the IDE, and completion tracked in an explicit
id-keyed localStorage map so newly inserted chapters are never
auto-checked.

Feasibility of the in-browser runner was verified with a proof of
concept against the v0.7.1 bundle; the shim approach and evidence are
documented in the proposal's appendix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1msH7C8goUNt6fBB5VWQs
- entry point is a mini CTA button in the topbar action group; public
  label stays swappable by decoupling it from URL (/try/) and internal
  naming (tutorial)
- progress entries carry detailed data: title, content-hash chapter
  identity (rev), language, and help/auto assist counters flagging
  assisted completions
- chapter data model separates language-neutral content from
  per-language variants; v1 ships Markdown + JavaScript
- editor buffers persist per chapter with a resume-or-start-fresh modal
- chapter curriculum expanded to 11 candidates (Covers/orphans, capstone,
  keyword tables, anchored demands) pending v1 scope selection

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1msH7C8goUNt6fBB5VWQs
All 11 candidate chapters are confirmed for v1. The implementation plan
is expanded into four executable milestone branches (runner, chapters +
persistence, assists, polish) with per-file work items, the corrected
build-time assertion (set equality over the bundle's node:* specifiers,
since each built-in is imported multiple times), a shared report
colorizer extraction, and per-milestone verification steps.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1msH7C8goUNt6fBB5VWQs
The four milestones become sequential commit stages on one
feat/tutorial-tab branch, introducing the feature as one coherent PR
(maintainer decision, recorded in the decision log). Every commit keeps
the build green; the editor highlight overlay moves from non-goal to
in-scope since stage 4 ships in the same PR.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1msH7C8goUNt6fBB5VWQs
All decisions are in (rev 3); implementation starts on feat/tutorial-tab.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MentorFilou

Copy link
Copy Markdown
Member Author

This was just planning with Claude, no actual contribution in here.

@MentorFilou MentorFilou self-assigned this Jul 20, 2026
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