Skip to content

B-Extra: Flows size boxes; device View options, keyframe sizes, level drag - #439

Merged
bubulux merged 1 commit into
mainfrom
feat/426-flows-view
Nov 25, 2026
Merged

bubulux merged 1 commit into
mainfrom
feat/426-flows-view

Conversation

@bubulux

@bubulux bubulux commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Part of #426 (B-Extra), round 2: the Flows view and sizes.

What changed

  • Size in the bar, Studio and device: Size leaves the View menu and becomes two grouped boxes: Width (slider from fit to 32×, Fit width) and Height (slider, Fit height). On the device the boxes sit under the bar and wrap on a narrow screen.
  • Device, View (eye button): the Studio's switches.
    • Intensity graph: a light's keyframes sit at their level on the line; drag one up or down to set its intensity (the value shows while dragging). Raising a level on a keyframe whose power is off turns power on. Sideways still moves it in time.
    • Light colour: each dot is filled with what the light shows there.
    • Value labels, effect and power badges.
    • Keyframe size: Small for a pen, Medium, Large for a finger.
    • These are kept per device (flows.view.v1).
  • The drawing rules (graph line, light colour, short labels) move to packages/ext-flows/src/look.ts, shared by both editors. Colours use the comma syntax, which works in CSS and React Native.
  • Camera buttons: an unknown stored size falls back to Medium. Your make all Metro pane showed "Cannot read property 'shutter' of undefined", logged while I was in the middle of editing B-Extra: camera buttons black with white outline; size per device #438. The merged code only fails on an unexpected stored value, and that now falls back.
  • Studio Vite: it now watches every packages/*/src folder, not just design and model. A new export in ext-flows stayed invisible until a restart. This config change restarted your running Studio once.

Checked

  • make check green.
  • Studio clicked through on your make all: the two boxes in the bar.
  • Not tested: the device editor (pen and finger dragging, the graph on a phone).

🤖 Generated with Claude Code

…ame sizes and level drag (#426)

- Studio and device: Size leaves the View menu; two grouped boxes in the bar, Width (slider, Fit
  width) and Height (slider, Fit height).
- Device: View has the Studio's switches (intensity graph, light colour, value labels, effect and
  power badges) and the keyframe size (small for a pen, large for a finger); with the graph on, a
  light's keyframe is dragged up or down for its intensity. Kept per device.
- The drawing rules (graph line, light colour, labels) move to packages/ext-flows (look.ts).
- Camera buttons: an unknown stored size falls back to medium.
- Studio's Vite watches every shared package's folder (an extension package's new export was not
  seen until a restart).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubulux
bubulux merged commit 3a695d2 into main Nov 25, 2026
5 checks passed
@bubulux bubulux mentioned this pull request Nov 25, 2026
41 tasks done
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.

1 participant