Repository navigation
Demo, from David's evening review: one click in, start over, the bubble beside the simulator, a steady chase camera, CodeSpace's rail - #127
Merged
Conversation
…on, the bubble beside the simulator, no Done after the palette, CodeSpace's rail
- Try a Demo! opens the demo's first step at once: no opening card to click
past (its "Meet CodeBot!" is now the first step's words). A journey started
with `now` skips its opening card; others keep theirs.
- Tried before and left part way, Try a Demo! asks: Start over (the first
step, in blocks, a student who went on to Python taken back) or Carry on
(where they were). Finished, it starts over without asking.
- The coach's bubble for the simulator sits to its left, pointing in, clear of
the simulator's buttons and the terminal, where there is room (a phone has
none: below, as before).
- A journey step may be `onward`: met, straight on to the next step, no Next.
The demo's "Open Lights" is one, so the next bubble (drag the LED block in)
comes at once.
- The guided rail, as CodeSpace's: the pack's and the mission's pictures, each
with only its name as a tooltip ("BitsWorkbench demo", "Drive CodeBot"), no
Mission 1; every objective's number, a green check in the corner of a done
one, a lock in the corner of a locked one (grey), its name as the tooltip.
Screen readers still hear what each does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, chase glides after it, the settings panel keeps its size - The robot is drawn on a playout clock in simulated time, about two snapshots behind the newest, at the simulation's measured pace, between the snapshots either side. Drawn by when each snapshot arrived, as before, a steady drive varied by half its speed from frame to frame (four frames in ten a third off); now by 2%, none off. - Chase eases after the robot's place and heading by time, on the screen's clock, and sits rigidly at its offset from the eased pose (as Babylon.js's FollowCamera): one easing rather than two per-frame lerps at different rates. Camera and aim now vary by 1% on a steady drive. - The settings panel's frame-rate line keeps two lines whatever it says, so the panel, anchored at its foot, no longer grows and shrinks as drawing starts and rests. - sim-ui checks both: a 4 s drive in chase, measured frame by frame, and the panel's height with each wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it leaves the simulator at 4x) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit 77686f4): https://firialabs-open-editor--pr127-demo-polish-ggtqg1wu.web.app (expires Wed, 02 Dec 2026 00:11:33 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 81259a1fec315ca1af3747d225d9c7424890be3e |
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 evening review of the demo (Nov 24), all six points, in two commits.
Demo and rail (first commit)
nowskips its opening card; other journeys keep theirs.onward: once met it goes straight on, with no Next. The demo's "Open Lights" is one, so the "drag the LED block in" bubble comes at once. In Python, Lights stays open and the step points straight at the card.Simulator (second commit)
The chase camera lurched (4). The cause was not the camera alone: the robot itself was drawn between the two newest snapshots by when each arrived. Snapshots come about every 16 ms but unevenly, and a screen frame may get none or two, so a steady drive sped up and stalled by turns. The chase camera, following it with two per-frame lerps at different rates, made the whole room lurch with it. It was the same before Simulator: sharp from the first frame on a capable machine; the demo watches CodeBot's front #125; the demo's chase view made it obvious. Now:
Measured on a 4 s drive at 60 frames a second:
The settings panel grew and shrank (4). Its frame-rate line changes words as drawing starts and rests, sometimes wrapping to a second line. The panel is anchored at its foot, so it grew and shrank (358 to 362 px). The line now always keeps two lines.
Tests.
learn-demoupdated for the new flow, with new checks for start over and carry on, the bubble's side,onward, and the rail's badges.sim-uigains a steady-drive check in chase and a panel-height check: both fail on main and pass here. Locallylearn-demo(laptop and phone width),learn-pack,learn-checks,i18n,learn-journey,learn-guidedandlearn-uipass; the rest are running in CI.🤖 Generated with Claude Code