Skip to content

v1: Visualizer: bring v1b1 up to parity with main (9 PRs) - #1157

Merged
BioCam merged 9 commits into
PyLabRobot:v1b1from
BioCam:v1b1-visualizer-parity
Jul 8, 2026
Merged

v1: Visualizer: bring v1b1 up to parity with main (9 PRs)#1157
BioCam merged 9 commits into
PyLabRobot:v1b1from
BioCam:v1b1-visualizer-parity

Conversation

@BioCam

@BioCam BioCam commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Brings pylabrobot/visualizer/ on v1b1 up to parity with main, which was ahead by nine visualizer PRs since the branches forked (2026-03-30). v1b1 had no visualizer work of its own, so this is a straight catch-up: each upstream PR is replayed as its own commit, adapted where v1b1's architecture or serializers differ. After this, lib.js differs from main by 62 lines, all of it legitimately v1b1-specific (the holder-based OT-2 deck and getDeck placement).

Ported, oldest to newest: #1064 (centralize overlay refresh), #1062 (rotation-aware positions), #1137 (Container volume-tracker state updates and volume readouts), #1147 (plate lid as its own tree node), #1148 (capability-panel height fix and drag; "Machine Tools" becomes "Capabilities"), #1150 (per-item visibility toggle), #1151 (background workcell grid and deck-surface gradient), #1153 (recolor liquid and tip shapes in place), #1155 (cache idle plates; send method signatures once per class).

Three adaptations were needed for v1b1 rather than a verbatim replay. #1062's load_state called Rotation.deserialize, which does not exist on v1b1 - rotation is reconstructed through the module-level deserialize here, matching how the rest of resource.py already does it. #1062 also edited the active liquid_handler.py, which v1b1 has moved under legacy, so that hunk is dropped rather than resurrect the file. #1151 overlapped the OT-2 deck's drawMainShape: the resolution keeps v1b1's holder-based slots and adds the deck-surface gradient, which had been left out when the holder deck first landed because the colour constants did not yet exist.

Validated by rendering a scene that exercises the new paths - a rotated plate, liquid moved between wells, the background grid, the OT-2 deck - in a headless browser with no console errors, and by the check suite: format, isort, and lint clean; mypy holds at its pre-existing baseline with no new errors; the affected resource and visualizer tests pass.

🤖 Generated with Claude Code

BioCam and others added 9 commits July 7, 2026 19:34
…om the well count (PyLabRobot#1147)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 6ffb734)
…PyLabRobot#1064)

Closes PyLabRobot#898.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit 2d9b77f)
…-reposition (PyLabRobot#1148)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 1929a78)
…yLabRobot#1150)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 8dbc1bd)
…e fade (PyLabRobot#1151)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit f7dfdd2)
…lding the Konva group (PyLabRobot#1153)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 2673008)
…ot#1062)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit 31bcef2)
…Visualizer volume readouts (PyLabRobot#1137)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
(cherry picked from commit 7a91016)
…lass (PyLabRobot#1155)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 88d6193)
@BioCam
BioCam merged commit a659ac3 into PyLabRobot:v1b1 Jul 8, 2026
2 of 19 checks passed
@BioCam
BioCam deleted the v1b1-visualizer-parity branch July 8, 2026 07:30
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