Skip to content

0.8.1 - the card's figures fit the boxes that hold them

Choose a tag to compare

@corderro-artz corderro-artz released this 08 Sep 09:32
· 633 commits to main since this release

Three clipped figures on the CookBook card, each of which had been silent. All three were found by driving the running app — every layout assertion in the suite passed the whole time.

The UNIQUE DNA tile could not hold its own number

As one cell of a 2×2 metric band it had 98px at the smallest window the app opens — nine mono characters. 2,560,000 was already at the edge, and a book past a trillion drew 30.64 trilli.

The band is now three counts over one figure. RECIPES / LAYERS / VARIANTS are bounded by what a person can author; UNIQUE DNA is a product of all three and has no upper bound, so it takes the row. The widest string the formatter can emit now fits by construction — and it reads as the headline the card is about.

The test that should have caught this rendered the card alone in a 1180px window: 200px wider than the page ever is, with no tree pane taking a third of what is left. It now measures inside the real Explorer at the real page area, and both sides of the trade — the figure against the accent tile, and each of the three labels against its own, since they paid for the width.

A long recipe name ate the first factor badge

The DNA-space rows were laid out Auto,Auto,* — the name took its natural width and everything carrying a number shared the remainder. A right-aligned block given less than it needs overflows its leading edge, so Strongbox lost a badge where Chest kept one, in the same table at the same window. The name is repeated in the legend below and the tree beside it; the chips and the figure appear nowhere else. Auto,*,Auto, and the name trims.

The badges clipped their digits — intermittently

The chip's text set LineHeight 11 against an 11px font: a line box exactly one em tall, shorter than the face needs for its ascender and descender. Whether it showed depended on where the row landed — the shell renders at 1.2, so one row falls on a whole device pixel and the next does not, and the same 3 drew whole above and broken below. It reads as a font bug rather than a layout one, which is why it survived every audit.

Also

The compact mantissa is fixed at two places. 0.## dropped a trailing zero, so a column of per-recipe figures read 17.74 trillion over 12.9 trillion and the decimal points did not line up. These are read as a column; one redundant zero on a round figure buys a column that reads straight down.

Downloads

Archive Needs
single-file-net10 .NET 10 runtime installed — smallest
framework-dependent .NET 10 runtime installed
single-file nothing — one self-contained .exe
portable nothing — a folder you can copy