Skip to main content

Decisions — the product

Rendered from corpus/wiki/decisions.md · updated 2026-11-02

This page is generated from the project corpus and rewritten on every docs build. Edit the source in corpus/, not here.

Settled calls about what this is and how it looks. The calls about how the code is put together are in decisions-code.md; the two were one file until it outgrew the corpus's 200-line rule.

Each is here because it is hard to reverse, surprising without context, and was a genuine trade-off. Changing one needs an explicit revisit and a log.md note — not a quiet flip.

The primary scene is a desk before the trip, not a street during it​

2026-09-01 — Settled with the user and recorded in PRODUCT.md, along with two others: nothing visual was binding (the name, the type pairing and the paper-and-gold world were all replaceable), and the audience is the travelling group plus strangers who find the published site. It is the premise the whole redesign follows from, so it is the first entry here. The old site was built for a phone in a street — 18px serif body, 44px thumb targets, a masthead you scroll past — and it kept those where they still earn their place while giving the desk the things it actually wants: the map at the top, the week always on screen, and eight days comparable without scrolling between them. Rejected: serving both scenes equally. That is what produced a page whose first 335px were a photograph.

Revisited 2026-10-27. "More presentation oriented and less schedule": /:slug is the Overview, for the reader deciding whether to go, with no times and no dates; the desk keeps the week, the Days tab.

Cream and pastel, rounded, set in Archivo — and gold is gone​

2026-09-01, revisited 2026-10-21 — The visual world is described in design.md; what is locked is narrower and worth stating on its own, because each of these is cheap to undo by accident.

Revisited 2026-10-21, not quietly flipped. The owner asked for "more friendly, some pastel colors". The ground went from plaster (#e8e9e6) to cream (#faf6ef), which the owner chose over Mist and Peach from side-by-side screenshots; each day, its floorplan cell and the map legend's rows are washed with their area's colour at --tint-wing (10%); and the radius-0, hairline-shadow rule below became rounded corners (--radius-card 12 px, --radius-pill, --radius-pin) with one soft --shadow-float for things that float. What did not move: light only, the four jobs of colour, every area and party hue, Archivo, offline-first.

  • Colour has four jobs: ink is the interface, red is the imperative, an area colour is a place, a party colour is a sub-group. --color-mark names the interface job and resolves to --color-ink, so a future change has one place to make. There is no --color-gold.
  • The ✳ and the ◆ are both red. One family, one meaning: this one is not optional. Gold holding the interface and the must-see mark is exactly the thing that was wrong.
  • The party colour is a rail, never a glyph. That is what let the dev contrast floor drop from 4.5:1 to 3:1 honestly. Put a party colour back on text and the 4.5 goes back with it — solo and bru do not clear it on plaster.
  • Corners come from three tokens, and only floating things cast a soft shadow. Until 2026-10-21 --radius-card was 0 and every shadow a hairline, on the argument that a sheet on plaster is separated by being a shade lighter and by its border. The owner found that cold; a rounded sheet on cream reads as something to touch. The poster stays square and white.
  • The tint is the area's colour, and stops at about 10%. It is colour's where job at low volume. Past ~16% muted text fails 4.5:1 on the darkest tint and past ~20% the party rails fail 3:1; checkPalette measures both. A tint that hurts legibility is fixed by changing the tint, not a trip's colours. Rejected: keeping gold as a fifth hue (a plaster building does not need one to say "this is the chrome"), and using Antwerp's crimson as the imperative red — they are the closest pair on the site at 11.2 ΔE and one of them means place.

Splits and forks fold; they do not nest​

2026-09-01 — A parallel or branches block renders as a heading row plus one indented run per arm, not as side-by-side columns inside a table cell. Rejected: the nested version, which is what shipped before. Two nested tables inside a cell of a third gave three sets of time columns that did not line up with each other, and a running order is read down one clock. It also meant two near-identical components, and the second was where the fixes had stopped being applied. Cost: an arm no longer sits beside the arm it competes with, so the "or" is carried by a badge on the heading and an ink rule on the seam rather than by the geometry. That is a real loss and it was taken knowingly.

The map is behind a button, in a full-screen dialog​

2026-09-11, revisited 2026-10-21 — From 2026-09-11 (recorded in log.md on 2026-10-01) the itinerary's map took the window: the whole viewport less the bar and a sliver of the floorplan, on the argument that the map is trip data and a masthead is not. Revisited 2026-10-21. It put Day 1 at 1,183 px on a laptop and 1,693 px on a phone. The owner asked for "a button that turns full screen and has an x button". The map is one press away from anywhere on the page (the header's Open map, and a floating Map pill once that has scrolled away) and opens in an in-page dialog the size of the viewport. Rejected: the Fullscreen API, which iPhone Safari still does not support for anything but video; a #map hash for the open state (it is the map container's id, and a hash is shareable). The open state is a history entry, so the back gesture closes the map. Day 1 is now at 323 px and 391 px.

The planner rail went; what survives of it is derived, never authored​

2026-09-01, revisited 2026-10-21 — Everything in a room's right-hand rail came from data that already exists: counts off sights, the sub-groups present in schedule, and the day's book string. Revisited 2026-10-21. The rail as a column is gone. Every count in it repeated something the day already said a few centimetres away, and on a phone it was about 3,070 px of Belgium's page. The day's book text moved under the objective (shown only when there is one), and the parties present became pills in the day's head on a day with more than one. Both are still derived: the rule below holds for anything that comes back. Rejected: per-day rail prose (a costed-out day, the one hard constraint in someone's own words), which is what the approved mockup showed. A rail that has to be written eight times is a rail that is wrong on day six by March, and the site has one author. Party.size is the one field that was added, and it is written down rather than parsed off the label because "The three of us" parses and "On the course" does not.

The repo is public; personal material is not in it​

before 2026-08-31 — No real dates, names, bookings, accommodation, coordinates of ours or server addresses anywhere in src/, README.md or design.md. Personal source material lives in private/ (gitignored); all deploy and server config lives in a separate private repo. Rejected: a private repo (the guide is worth publishing), and "just be careful" (the failure is silent and permanent once pushed). The working rule: weekday labels ("Day 4 · Tue") are fine, calendar dates are not; city-centre map anchors are fine, actual hotel coordinates are not.

The two saved source pages were removed from git history​

2026-08-31 — kuleuven.html and kul_conf.html were rewritten out of all 48 commits, the backup refs deleted, reflogs expired and the objects pruned. .git went from 6.3 MB to 1.1 MB. Rejected: accepting them, on the grounds that they are copies of pages that are public anyway — but the rule is about what this repo associates with itself, and raw planning material was never meant to be in it. git filter-branch --index-filter rather than git filter-repo (the modern tool) only because the latter is not installed here and this history is 48 linear commits with no merges, tags or remotes — the conditions where filter-branch's footguns do not apply. Verified by tree hash: HEAD's tree is byte-identical before and after, and the other 47 commits kept their messages, authors, committers and dates. The one commit that did not survive was the one whose entire content was deleting those two files; --prune-empty dropped it as empty, so its reasoning — including the git mv-into-private/ trap — lives only in log.md now. Cost: every commit SHA from save onward changed. No remote and no other clone existed, so nothing had to be force-pushed or re-cloned.

Offline-first, dropped 2026-10-28​

before 2026-08-31, map left out 2026-10-23, dropped 2026-10-28 — The build was precached whole and the photographs saved on a button. The owner dropped both (2026-10-27: "we may drop offline support on trips page") and gave no reason beyond the wish. The install stays (manifest, icons); a worker at the old address takes the old one off phones, and stays in the build for good. Rejected 2026-10-28: keeping the automatic precache and dropping only the button. Before: caching on navigation, precaching the media. See offline.md.

The map is a vector map in the page's colours, streamed from OpenFreeMap​

2026-10-21, revisited 2026-10-23 — The itinerary map draws vector tiles styled to the page: the cream ground, pale blue water, white roads, labels in ink, on MapLibre GL instead of Leaflet. The owner chose it from screenshots. Rejected 2026-10-21: a CSS filter on the OSM tiles (the map stays a backdrop); CARTO and Stadia, whose terms forbid keeping their tiles in a browser. Why: the owner wants the map to be part of the design. Raw OSM's saturated colours outshout the area pins, which are colour's "where" job. Revisited 2026-10-23: where the tiles come from. The first call cut each trip's area from Protomaps' build into a .pmtiles file we host, saved whole for offline. Cut (a superseded plan), most were 7–16 MB but Berlin 81, Paris 110, Munich 242 and the Danube 315 MB, against a 25 MB budget. The owner dropped the map's offline save for tiles on demand: MapLibre streams OpenFreeMap's vector tiles (OpenMapTiles schema, free, no key, no view limit; the picked preview was drawn from them), recoloured by our style. Rejected: our own files streamed by range request (over a GB per deploy, or less detail); zooms capped to 25 MB (the Danube and Munich lose street level).

  • Consequence: the one place the app needed the network on purpose, until the whole site went online on 2026-10-28. The save kept photographs only (2026-10-24), the dialog said it needs a connection, and MapLibre's code was not precached either (2026-10-24: "drop offline support for the maps").
  • Consequence: the pins become a map layer, so city labels are placed around them. The Leaflet stylesheet entry in decisions-code.md is retired with Leaflet.
  • Consequence: the map credits OpenFreeMap, OpenMapTiles and OpenStreetMap.

Colour's four jobs are checked against areas too, not only parties​

2026-09-01 — checkPalette measures each area against the ink and the red, as it already did for parties. Found on the first run: Prague's stare-mesto was #b5121b, 7.1 dE from the imperative red — an old-town badge and a "you cannot walk in without booking" mark in nearly the same hue. Moved to #a80c3a (11.0 dE, and better contrast on plaster besides). Rejected: lowering the threshold. The number is the argument.

The interface says days and areas​

2026-10-21 — The UI's words are the reader's: the chapter tab and the page title say Days, a day is "Day 2 · Sun · Brussels", the map's key is Areas, and section labels are sentence case. The building's words (rooms, wings, "Plan this room") retired on 2026-10-21; the glossary already called these days and areas, and the UI was the only place that did not. Reason: on other projects the owner found a metaphor-led interface hard to find their way around and chose the plain one each time. Rejected: renaming the code (.room, --wing) to match. The words left the interface, not the stylesheet; a rename would be churn with nothing to show.

Always light, no dark mode​

before 2026-08-31 — color-scheme: light only, near-black ink on white. Reason: the site is read outdoors on a phone, and dark themes are what make it unreadable in the sun. This is a readability call, not an aesthetic one.