You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
release: v0.6.3 — the things a new user hits first (#71)
A review of mossaic from the outside: install it, run it, read what it
prints. Five things it got wrong, all of them on the paths somebody meets
in the first minute.
The one shipped template warned on every year. `--template dragon`
printed `note: 6 cell(s) fell outside 2027 and were dropped` for 2025
through 2029, and all six were blank margin — Canvas::place counted every
cell that fell outside the year rather than every cell that would have
been drawn. The flagship path, warning about nothing, teaching people
that notes here are noise. It now counts only lit cells.
Counts did not read as English. Twenty-nine of them: `1 template(s)`,
`6 cell(s)`, `59 day(s)` — the first line of `--list-templates` and the
markdown the GitHub Action posts to a pull request. `plural` takes both
forms rather than appending an `s`, so verbs agree too: "1 day is short",
"2 days are short", and the number's own formatting stays at the call
site where the widths and separators live.
`mossaic-art --help` was thirty flags in one flat list, with a paragraph
of colour theory inside `--background`. Grouped now — what to draw, where
it goes, tracking, making the commits, output — with usage and seven
examples first. The colour theory moved to docs/ART.md, which had room
for it already. 93 lines against 113, and no flag dropped.
A missing `--file` in a script blamed the terminal. The chart claims the
terminal before it reads the calendar, so a typo'd path in CI came back
as `needs an interactive terminal`: true, and no help in finding the
typo. Only that case changed — with a terminal the error is still shown
*in* the chart with `r` to retry, which is the better answer, and the
first attempt at this broke that.
`--font` told everyone who ran it to edit `src/art.rs`.
The catalogue was a catalogue of one, which is what `--template NAME`
offered. Three more: wave, pulse, invader — 51 columns each, so no lit
day lands in a partial week, and `{0, 2, 4}` each, the only three shades
that are all clearly distinct.
That last part is why two gates come with them, and they matter now that
#57 invites contributed art. `every_template_reads_clearly` measures the
closest pair of shades in every template: art using 2 and 3 looks
two-toned in the file, because the digits differ, and reads as one flat
colour on github.com. `no_template_overhangs_the_year` fails a template
that loses a lit day off either end of any year. Both were run against
art planted to break them, and both did.
Also: the description never said mossaic was a terminal program, and the
action refs in the docs had been pinned at v0.6.0 for two releases.
213 tests, fmt, clippy and rustdoc clean.
Signed-off-by: Vyncint Ng <115854244+vyncint@users.noreply.github.com>
0 commit comments