Feature wave: mastery, transfers, CLI, undo, PWA, classroom - #11
Merged
Conversation
added 2 commits
July 27, 2026 21:57
… zoom/pan, classroom, sandbox share
- MissionList: concept mastery map panel, transfer variant cards after cleared missions, classroom code/handout panel
- MissionBrief: incident-report callout for challenge/boss modes (symptom + impact)
- Debrief: pathCompare prop + Compare your path section (summary, missing, extra)
- TipBar: onUndo/canUndo button, cableLog history chips (last 4)
- ConfigPanel: CLI-lite block with parseCliCommand → onDispatchIntent; onDispatchIntent prop
- RackView: zoom/pan (scale 0.6–2, tx/ty), wheel-to-zoom-toward-pointer, background pointer-drag pan, rack-zoom-controls (−/+/↺), onUndo/canUndo/cableLog/onShareLab/onDispatchIntent props
- App: analytics track() on app_open/mission_start/mission_complete/undo/pace_change/sandbox_share/sandbox_import/classroom_unlock/cli_command/transfer_start; undoStack (max 25) push on every apply(), clear on startMission; cableLog from CONNECTED/DISCONNECTED/LINK_UP tips (max 8); readShareHash on mount → LOAD_RACK sandbox; pathCompare on complete; handleClassroomCode/handleDownloadHandout/handleShareLab/dispatchIntent wired
- app.css: .concept-map/.concept-row/.concept-level, .incident-report/.incident-kicker, .path-compare, .cable-log/.cable-log-chip, .cli-lite/.cli-input/.cli-feedback, .transfer-card, .classroom-panel, .rack-zoom-controls
- vite.config.ts: VitePWA (registerType autoUpdate, manifest colours), test include src/**/*.{test,spec}.{ts,tsx}
- src/test/setup.ts: import @testing-library/jest-dom/vitest
- src/ui/TipBar.test.tsx: armed chip / undo button / cable log render tests
- src/ui/Onboarding.test.tsx: skip button / closed / step title render tests
Add concept mastery map, transfer variants, incident briefs, CLI-lite, undo/cable history, rack zoom/pan, path compare, shareable sandbox URLs, classroom codes/handout, local analytics, PWA service worker, and RTL component tests.
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.
Summary
Implements the full next-wave roadmap as MVPs:
#lab=…)Test plan
npm run typechecknpm test(129)npm run build(PWA SW generated)