Repository navigation
Commit d6befbb
gui: the form in columns, groups that say what they are, refusals that offer their fix (#126)
* gui: fields in four columns, groups that say what they are (prototype)
A prototype of a new layout, built round by round from the running
window. Guards, stored screens and the catalogue are not updated yet.
- parts.Grid lays a section's fields in four columns, each field taking
the fewest columns that hold it and filling them. A refusal is drawn
under its row, across it, instead of inside a 185 px column.
- A group of settings that folds away is framed, with a rail in the
colour of what it is about: a format's settings, a damage's, notes.
- Every section of a work screen folds; a refusal opens the one it is
about, and the state survives the batch screen rebuilding.
- A box to tick carries its name beside it, wherever it comes from.
- Lists are ordinary text with the marker on the first line (O235).
- Buttons in a row stand GapButtons apart; Donate is quiet words, and
on About it moved into the Support card.
- A menu marks the keyboard with a ring only, not a fill.
- The run line counts formats past three; a placeholder that is a
default says so; the About screen wraps the licence and tabulates
carried code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* gui: a refusal offers its own fix, and says where the directory is (prototype)
- A size below what a format can make carries its minimum as a number,
so the refusal under the size box offers a button that puts that
exact size in the box. Nothing is filled in by itself.
- A refusal about what is already in the output directory - a file or
a manifest the run will not write over, or another run writing there -
is placed under the output directory box instead of a one line strip
at the foot, with a button that opens the directory. Placed by the
window: the engine's address for it is unchanged, because the command
line reads that address into its machine readable reports.
- A refusal takes down "Working out what this would cost...", which a
preview or a Generate refused while planning left standing over it.
- A field asks the grid for its width without its refusal, so a long
sentence or the button under it no longer widens its column.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* gui: the menu arrow in the accent; guards, catalogue and stored screens for the new layout
- A menu draws its arrow in the primary colour. A menu and a box to type
in were the same to the pixel; of three ways shown side by side in the
running window the owner chose this one.
- Seven guards for what the layout promises: short fields share a row a
column each, a size refusal offers the smallest size and pressing it puts
that size in the box, a refusal about the directory stands under it with
the way to it, a refusal stands under its row across it, a menu's arrow
is in the accent, a folded section opens for a refusal inside it, and a
group of settings wears the colour of its kind.
- Guards that described the old layout say what the new one promises: an
arrow on the edge the fields start on, a number one column wide, boxes
on the grid's columns, a box to tick named beside it, the licence word
for word rather than line for line, a default worded as one.
- The catalogue draws the grid, a refusal under a row, a fix offered, a
box to tick level with a field, the kinds of group and the table of
three columns. The stored screens are written again.
- Placing a refusal moved out of refuse into a function, and three
functions of the prototype were flattened, so the depth ceilings hold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* gui: every kind of group is named in its switch, and the keys of a section are not words
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* guard: the pictures named after a refusal show one again, and a nil field is reported rather than dereferenced
The batch screen opens with its first batch filled in since #125, so the
two scenes named recipe-refused pressed Preview on a recipe with nothing
wrong in it and stored a successful preview under that name. The scenes
now empty the first batch, and the runner refuses to store or compare a
picture named after a refusal whose tree carries no refusal. Four
comments still describing fields two to a row now describe the grid.
Found by CodeRabbit on #126.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* gui: no smallest-size button under a limit, where it led back to the same refusal
Under "Around a limit" the set is built one byte below the limit, so a
limit of 74 for a PNG refuses the file of 73, and the button put 74 back
in the box: the same refusal again. The button now stands only under a box
that holds the refused size itself. Raising the limit by the shortfall was
tried and walked through PNG's gap between 74 and 86 B one press at a time.
Found by CodeRabbit on #126.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* gui: the window cannot be narrowed until Add a batch covers Preview
The bar laid its rail over the centred buttons in a stack, and a stack's
minimum is the larger of its two children rather than what they need side
by side. From about 588 px wide on this branch (495 px on main) Add a batch
covered Preview, and at 495 Preview was gone. The bar's minimum is now the
buttons plus twice the rail and a gap, so the window stops there.
Found while checking the review of #126.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* guard: the refusal checks of the stored pictures in a file of their own
screenpixels_test.go passed the shape gate's ceiling once the scenes of a
refusal learned to empty the batch and to prove they refuse. The two
helpers that ask a scene's state rather than its pixels move out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* guard: a guard of its own asks that every picture named after a refusal shows one
The stored pictures ask it before they compare or write, but they render
every screen, and the mutation runner stops them at its memory ceiling
before they finish - so the check could not be proven there. Six scenes
fit under the ceiling.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 114b20d commit d6befbb
106 files changed
Lines changed: 18635 additions & 12880 deletions
File tree
- internal
- guard
- testdata/screens
- gui
- catalogue
- parts
- text
- locale
- window
- legal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
19 | 65 | | |
20 | 66 | | |
21 | 67 | | |
| |||
416 | 462 | | |
417 | 463 | | |
418 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
419 | 468 | | |
420 | 469 | | |
421 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
316 | 322 | | |
317 | 323 | | |
318 | 324 | | |
| |||
321 | 327 | | |
322 | 328 | | |
323 | 329 | | |
324 | | - | |
325 | | - | |
326 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
327 | 336 | | |
328 | 337 | | |
329 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
51 | 65 | | |
52 | 66 | | |
53 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
216 | 227 | | |
217 | 228 | | |
218 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
270 | 283 | | |
271 | 284 | | |
272 | 285 | | |
273 | 286 | | |
274 | 287 | | |
275 | | - | |
276 | | - | |
| 288 | + | |
| 289 | + | |
277 | 290 | | |
278 | 291 | | |
279 | 292 | | |
| |||
0 commit comments