Skip to content

feat(builder): draw the Where step's machines and backends with sprite icons - #213

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:feat/where-icons
Nov 18, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:feat/where-icons

Conversation

@harenome

@harenome harenome commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #212

What

The Where step's tiles now show icons from the sprite in base.html, not text glyphs. Four new symbols use the sprite's stroke style:

  • i-machine: a screen on a stand, for This machine.
  • i-network: one node linked to two, for each host.
  • i-terminal: a window with a prompt, for Local processes.
  • i-container: a ribbed shipping container, for Container.

One icon(name) helper in command-builder.js writes them. machineTile serves the standard and the Harbor Where steps, so both change. Boat keeps its logo. On the How it runs there row, the icons are 20 px, as that row's marks already were.

Touches

templates and static (base.html, builder/command-builder.js, builder/command-builder.css)

Before and after

The Where step of a GSM8K standard recipe with three hosts. The host names are replaced with host-1 to host-3 in the shots.

Before After
1280 px, light before-where-1280-light after-where-1280-light
390 px, dark before-where-390-dark after-where-390-dark

Verified

In a throwaway rootless python:3.12 container with Node.js and uv, on a copy of the branch:

  • python3 app/tests/parallel.py: 2249 tests in 127 modules, OK.
  • pip install -r app/requirements.txt, then python3 app/tests/parallel.py app/ui_tests: 638 tests in 53 modules, OK.

Browser check, Chromium (Playwright 1.49.1): the shots above. No page JavaScript error.

Not checked: the Harbor recipe's Where step in a browser. It uses the same machineTile.

Risk

Low. Only the tiles' marks change. A revert brings the glyphs back.

@harenome
harenome merged commit db6e8f9 into ThinkFlowLab:main Nov 18, 2026
2 checks passed
@harenome
harenome deleted the feat/where-icons branch November 18, 2026 15:36
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.

Run builder: the Where step's tiles use text glyphs as icons

1 participant