Operations

Changelog

Notable changes, newest first.

2.0.0 — 2026-11-14

A rewrite. Same idea — split a bill item by item — with a new identity, a correct engine and features that make it useful at a real table.

New

  • Receipt-first design: live "conferência de mesa" receipt next to the form, rubber stamps for paid people, editorial landing page, dark mode, three languages with clean URLs (/, /en, /es).
  • Design system + Storybook: typed tokens (palette → semantic roles, light and dark) that generate the CSS, 23 component families with TSDoc, stories and an axe panel, Foundations and Guidelines pages, contrast and token-reference tests. The whole app is assembled from it, and every story (in both themes) and every page passes an axe WCAG 2.1 AA check. Type is Bricolage Grotesque (words) and Chivo Mono (numbers) — a relaxed grotesque that matches the logo, replacing the serif display face of the first 2.0 drafts (ADR 0006).
  • Uneven portions: someone had two slices, they pay two.
  • Flexible adjustments: service charge per person, cover per person, fees split evenly or by consumption, discounts, custom percentages.
  • Who paid what: everyone-paid-their-own, one-person-paid, or several payers — with the fewest transfers to even out.
  • Pix copia e cola + QR code for each transfer when the currency is BRL.
  • Share links: the whole bill in the URL fragment; each friend opens it and sees their part.
  • Receipt shorthand: type "2x Chopp 14,90" and press Enter. Paste "Ana, Bruno e Carla" to add three people.
  • Undo/redo everywhere (toasts + Ctrl/⌘+Z), history with "same crew" duplication, recent names as quick-add chips.
  • Offline support through a service worker; installable as an app that opens straight into /split.
  • Ten currencies with locale-correct formatting.
  • Documentation system at /docs, rendered from docs/*.md.

Fixed (bugs in 1.x)

  • Removing an extra fee did nothing (the reducer had no case for it).
  • Setting service to 0% silently turned it back into 10% (0 || 10).
  • Cents disappeared or appeared: totals were floats and the per-person sum didn't match the bill.
  • Items nobody had vanished from the total without warning.
  • Refreshing the page lost the bill (it was read from a key that was never written).
  • History sorted by unparseable locale date strings and showed totals without fees.
  • People and items were identified by name, so duplicates corrupted the bill.
  • The PDF showed percentage fees as currency amounts, and service computed on everyone's items.
  • A confirmation dialog was always rendered because two components shared a name.

Fixed during the 2.0 review

  • Opening an updated share link for the bill you already had open kept showing the old local version (and the next autosave overwrote the import). The link now replaces the active bill as one undoable step.
  • The shared-bill viewer told everyone there was nothing to pay when the organizer shared before closing the payment (custom amounts not adding up, or no payer chosen). It now says the settlement is still open and shows each person's share.
  • Printing included the active step's forms before the receipt; only the receipt prints now.
  • The workbench briefly flashed the first step before jumping to the right one when a saved bill loaded.

Removed

  • html2pdf.js (replaced by a print stylesheet — crisp vector PDFs via the browser), framer-motion, uuid, i18next + react-i18next + next-i18next, nodemailer and the open /api/contact relay, an unused webpack/Babel setup (Babel was disabling SWC), Tailwind, portfolio leftovers (tech-stack SVGs, a 1.4 MB logo, social links), the Apache .htaccess, the legacy vercel.json.

Migration

Bills saved by 1.0 (localStorage) and 1.1 (SQLite in IndexedDB) are converted automatically on first load, and the 1.1 people and item catalogs become name suggestions. Nothing old is deleted. See state and persistence.

1.1 — 2025-12

History moved to SQLite (sql.js) in IndexedDB; global catalogs of people and item names; help and FAQ pages; full technical documentation (kept as legacy docs); Next.js patch for the React Flight advisory.

1.0.0 — 2024-12

First version: a seven-step wizard for people, items, consumption, service charge, review and a final report with PDF export.

Edit this page on GitHub