Skip to content

Learning paths: five guided routes with progress - #3

Merged
pisanuw merged 1 commit into
nextfrom
claude/admiring-bardeen-d4ru1e
Nov 15, 2026
Merged

pisanuw merged 1 commit into
nextfrom
claude/admiring-bardeen-d4ru1e

Conversation

@pisanuw

@pisanuw pisanuw commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Five curated learning paths, each with its own page, linked from the home page.

Path Address Steps
A first data structures course /path/data-structures/ 19
An algorithms course /path/algorithms/ 20
Coding interview prep /path/interviews/ 19
How LLMs work /path/llms/ 17
Theory of computation /path/computation/ 15

What's in it

  • Path page (src/paths/PathPage.svelte): who it's for, an intro, a progress bar with the percent and count done, a Start/Continue button to the next unfinished step, and the steps grouped into stages, each with a one-line note and its status.
  • Home page cards (PathCards.svelte): one per path, showing the percent once started.
  • Step bar (PathBar.svelte): on a page opened from a path (#path=<id>), it shows step n of N, path progress, the note, and Previous/Next. It hides in Present mode, and inside a lesson list the list's bar wins.
  • A step opens on a suggested curated example. It is done when the page is finished (every lesson read, every check right), using the existing pageSummary, so nothing new is stored and account sync covers it.
  • scripts/prerender.mjs writes /path/<id>/index.html (title, description, canonical), adds the paths to the sitemap and the offline list, and fails the build if a step points at a page that isn't live.

The step notes were written with the write-like-pisan skill and checked against each suggested example's own notes.

Tests

  • src/paths/paths.test.ts: steps are live and unique, 12 to 25 per path, suggested examples exist, blurb counts match, no em dashes or placeholders; progress maths; routes.
  • tests/e2e/paths.spec.ts: home → path → step → next → leave; percent from stored progress; no sideways scroll; axe on the path page and the step bar (desktop and phone).
  • Ran locally: lint, check, and the full unit suite all green. E2E ran for the new spec plus catalog, offline, lists, progress, recent and site-footer (87 passed, 13 skipped by those specs). The full e2e suite was not run locally; CI runs it.

Built on the recommended answers to the open questions; Yusuf may change any of them.


Generated by Claude Code

Curated routes for five kinds of learner (a first data structures course,
an algorithms course, coding interview prep, how LLMs work, theory of
computation), 15 to 20 pages each in named stages.

- /path/<id>/ pages, prerendered with their own title and description,
  in the sitemap and the offline list
- cards on the home page with the percent of steps done
- a step bar on a page opened from a path (#path=<id>): step n of N,
  progress, the step's note, previous and next
- a step opens on a suggested curated example; it is done when the page
  is finished, so progress comes from what the site already stores

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Hhm4fvca2gU9R3a9ohe4W
@pisanuw
pisanuw merged commit 676fc29 into next Nov 15, 2026
1 check passed
@pisanuw
pisanuw deleted the claude/admiring-bardeen-d4ru1e branch November 15, 2026 10:50
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