Repository navigation
Learning paths: five guided routes with progress - #3
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five curated learning paths, each with its own page, linked from the home page.
/path/data-structures//path/algorithms//path/interviews//path/llms//path/computation/What's in it
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.PathCards.svelte): one per path, showing the percent once started.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.pageSummary, so nothing new is stored and account sync covers it.scripts/prerender.mjswrites/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).Built on the recommended answers to the open questions; Yusuf may change any of them.
Generated by Claude Code