Repository navigation
Learn: a goals HUD over the simulator; the rail shows the mission pack, the mission, then the objectives - #126
Merged
Merged
Conversation
…s snapped in, demo.py is not saved over and over - The `orbit` event is the camera turned 45 degrees in all, by drag or arrow key, not the first touch of a drag. - A guide's step checks, in blocks, only the blocks snapped into the program (hanging from its start, a function or an event): the LED block met the step while still being dragged from the palette, or dropped loose. - demo/demo.py is replaced without asking when it holds only what the demo left there; changed by the student since, they are asked as before. Other missions' files are unchanged: always theirs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e demo asks, a folder's name in its key; turning counts from each step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e on a capable machine, and the demo watches CodeBot's front
- Auto realism starts, the first time, from the graphics chip WebGL names
(Low in software, Medium for a phone's or Chromebook's chip or one it does
not know, High for a recent laptop's, Ultra for a graphics card), and does
not count its first three seconds (the room loading, shaders compiling),
which could leave it at Low for good. A level kept by the older Auto is
not trusted.
- A mission's `sim` is read at last, as a guided mission begins: its room,
course and now camera, `{ "mode": "chase", "turn": 150 }`, degrees round
from behind the robot. The demo starts in chase, looking obliquely at
CodeBot's front, and follows it as it drives.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r; the rail shows the mission pack, the mission, then the objectives
- The goals HUD (learn/hud.js), at the lower left of the simulator as in
CodeSpace: the objective and its goals, ticked as they are met; folded, a
box per goal with its words in the tooltip. Open where the view has room,
folded where it is short, gone where shorter still; the choice is kept.
A journey shows its chapter's steps (a step's new `goal`, or the first
sentence of its words); an ordinary objective its goals. A drag over it
still turns the camera.
- The guided rail, top to bottom: the pack's picture (tooltip "Mission pack:
..."), the mission's ("Mission 1: ..."), then the objectives ("Objective 1
of 2: ..."), from the packs' `avatar`. The demo carries CodeSpace's
demonstration pack picture and its CodeBot demo picture.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit 98a2176): https://firialabs-open-editor--pr126-demo-hud-klnlto18.web.app (expires Tue, 01 Dec 2026 16:19:54 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 81259a1fec315ca1af3747d225d9c7424890be3e |
# Conflicts: # docs/mission-packs.md # tests/learn-demo.mjs
# Conflicts: # public/learn/demo/DEMO.json # src/learn/learn.js # src/sim/sim-device.js
# Conflicts: # public/learn/demo/DEMO.json # src/learn/learn.js # src/learn/pack.js
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
From David's review of the demo mission (Nov 24), points 10 and 11.
goal, or the first sentence of its words); an ordinary objective shows its goals. It takes no drag: turning the camera over it still works.avatar, which the converted CodeSpace packs already carry. The demo carries CodeSpace's demonstration pack picture (FL_DevicesAvatar.png) and its CodeBot demo picture (Cb2Icon-128.png), at 96 px; TRADEMARKS.md lists them with the other Firia Labs artwork a fork replaces.The demo step added by #123 ("These blocks are your program") will want a
goal("Read your program") once both are in; I will add it when merging main into whichever lands second.Tests:
learn-demo,learn-journey,learn-guided,learn-ui,learn-drawer,i18n,a11ypass locally.🤖 Generated with Claude Code