Repository navigation
nfty 0.10.0
Mint-distribution colors are generated rather than drawn from a fixed set of six, and every page now fits the smallest window the app opens.
Series colors have no ceiling
There were six color tokens assigned by position and cycling, so recipe seven repeated recipe one — an eight-recipe book showed two pairs of segments nothing could tell apart. A row now carries only a hue shift (the golden angle off its position) and the converter seats that on the palette's anchor swatch, taking its saturation and lightness from whichever theme is live. Any number of recipes, all distinct, all on-palette, and still following the theme.
Rolling the color at random was considered and rejected: the same book would repaint differently on every launch, and chance puts two near-identical hues side by side about as often as it likes.
Three screens were being cut at the smallest window
Found by driving the app, not by a test — each was invisible because a control that overruns is still arranged, still reports a sensible size, and is simply not drawn.
- Landing wanted 528px of stack in a 413px row, so Open a cooked .set, Open the demo CookBook and Open Kitchen… were off the bottom with no scrollbar. Three working commands, unreachable. CREATE and OPEN now sit side by side.
- The Ingredient editor's toolstrip needed 581px in a 418px pane and painted its value ramp, swatch and brush-size field on top of the colorize rail next to it. It wraps now.
- The Recipe pane's layer table arranged its name column at zero width, so every layer name on the screen was missing.
The window minimum is now 1366 x 712
Set by a page rather than by the quick-reference sheet, and the app opens at 1366x768 — the laptop resolution. The height deliberately stays at 712 so a 768-tall screen can still show the window with its taskbar.
MinimumWindowFitTests measures every page at the area the smallest window actually gives it. The layout tests that existed measured 200px wider than the page has ever been, which is why they passed the whole time.
1,910 tests green.