Skip to content

laboratory: the pages draw the console the target draws - #86

Merged
aledbf merged 2 commits into
mainfrom
ready/lab
Dec 5, 2026
Merged

aledbf merged 2 commits into
mainfrom
ready/lab

Conversation

@aledbf

@aledbf aledbf commented Dec 5, 2026

Copy link
Copy Markdown
Member

Why

Closes #80. After #85, the target drew the console's new direction, but the laboratory and its two tests still drew the look of 2026-12-01 from a lab.css of their own. So there were two consoles in one repository, and the five-second test asked its question of a screen that is no longer the destination.

What changed

  • lab.css and lab.js are the console. Its components are nested under :where(.app), so each rule weighs what it weighed in target.html. lab.js holds the six screens. target.html keeps only its viewer. After the move all 32 images came out byte for byte the same.

  • index.html draws these, all from lab.js and inside an .app frame:

    • Workspaces and the Inbox;
    • the ranks of type in each theme, each captioned with what the browser set;
    • the buttons in each state;
    • the three forms a state takes;
    • rows and cards;
    • a terminal.
  • Deleted from index.html: the dialog, the toast, the split view, the open tints, the old panels, and their rules. The laboratory's element rules stop at the console's frame (:not(:where(.app *))).

  • five-seconds.html shows the new Workspaces once per person, in dark or in light. It asks whether the verdict on the spot is read before the one fill. palette.toml now says this is what the test checks.

  • recognition.html shows the Inbox, Workspaces and the Overview without the mark or the name. In grey, a state keeps its colour on the spot too.

  • The console holds at every width (second commit). The images are drawn at 1440 and 390 px. Between those two:

    • every screen ran past its panel at 768;
    • Workspaces ran past it up to 1366, 100 px at layout.desktop's 1280, which cut off each row's next step.

    A frame now takes one of four forms:

    • from 1440 it is everything;
    • below 1440 a table leaves out its columns marked wide (a workspace's Where);
    • below layout.desktop the navigation is behind its button and a table's row is a block;
    • below layout.tablet it is the phone it was.

    The 32 images are unchanged. target/README.md (decision 12 and a departure) and palette.toml's [layout] say this.

  • The shooter adds these checks:

    • the five-second and recognition screens (?show=) are held to what a view of the target is held to: in grey, all but the cyan and the faces;
    • a recognition screen fails on "spin" in its text or the mark in it;
    • every screen is held, not drawn, at 1280 and 768 px.

Verification

  • task check passes at each of the two commits.

  • The shooter prints no problems at each commit, and the 32 images are unchanged.

  • The width check failed on purpose before it passed. With Where drawn at every width, it found eight controls past the panel at 1280. With the tablet form held back to the phone, it found the cuts at 768 on Workspaces, the Inbox and Runners.

  • I compared every page by eye at 1440 in both themes and at 390, a section at a time:

    • index.html;
    • both five-second screens;
    • the three recognition screens, in the brand and in grey;
    • both test sheets.

    Each problem I found I fixed and shot again:

    • the page was 132 px wider than a phone, because of a token name in a paragraph;
    • the matrix's buttons were drawn in the mono;
    • a palette example's chips stood one per line;
    • swatches stretched to their row;
    • the terminal's first line was cut off.
  • The final grep (TODO|FIXME|XXX|HACK|for now|temporar|workaround|until the operator) matches only bytes inside PNGs.

🤖 Generated with Claude Code

@aledbf
aledbf changed the base branch from ready/screens to main December 5, 2026 06:45
aledbf and others added 2 commits December 5, 2026 03:47
lab.css and lab.js are the console: its components, nested under the class app so they weigh what
they weighed in target.html, and its six screens. target.html keeps only its viewer. The 32 images
came out byte for byte the same after the move.

index.html draws the console's Workspaces and Inbox, its ranks of type in each theme, its buttons
in each state, its states, rows and cards, and a terminal, all from lab.js. The dialog, toast,
split view, open tints and the panels of the old look are gone. The five-second test shows the new
Workspaces in dark or in light and asks whether the verdict on the spot is read before the one
fill. The recognition test shows the Inbox, Workspaces and Overview without the mark or the name.

The shooter holds every test screen to what a view of the target is held to. A recognition screen
also fails on "spin" in its text or the mark in it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The images are drawn at 1440 and 390 px. Between those two, every screen ran past its panel at 768.
Workspaces did so up to 1366: at layout.desktop's 1280 its table ran 100 px past the panel and cut
off each row's next step. The laboratory's window, as wide as its page, showed the same cut.

A frame now takes one of four forms by its width:
- from 1440 it is everything;
- below 1440 a table leaves out its columns marked wide, which here is a workspace's Where;
- below layout.desktop the navigation is behind its button and a table's row is a block;
- below layout.tablet it is the phone it was.

The 32 images are unchanged. The shooter now also checks each screen at 1280 and 768 px and draws
neither. That check failed on purpose before it passed: with Where shown it found the cut at 1280,
and with the tablet form held back to the phone it found the cuts at 768. target.html takes a width
in px for a look at any width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit 3b33d5c into main Dec 5, 2026
2 checks passed
@aledbf
aledbf deleted the ready/lab branch December 5, 2026 06:47
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.

laboratory: the pages draw the console the target draws

1 participant