The editor already supported several payers ("Several people" in Paid by);
this polishes it after checking it at 390x844 and 360x780 (Czech):
- Expense list: "Paid by 3 people" was truncated on phones; now "3 payers"
(proper Czech plurals: plátce / plátci / plátců).
- Empty payer boxes show the unassigned remainder as a placeholder.
- A green "Adds up to the total" line confirms when the payers match.
- Tests: core balance + settle-up for a car bought by three people, a
foreign-currency multi-payer case, and an e2e flow (remaining, over,
validation error, save, balances).
- SPEC: describe the actual several-payers UI (no "add payer" button).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gX9UJk6BEyaJJwiWPc
Gestures (GroupGestures.svelte replaces PullToAdd.svelte):
- Pull-to-add moves to the bottom: pulling up past the end of the
Expenses or Balances tab raises a pill from behind the tab bar. The
top is left to the browser's pull-to-refresh.
- Swiping left/right switches between Expenses, Balances, Stats and
Activity; the list follows the finger and the new tab slides in.
Touches within 24px of the screen edge (OS back gesture), in form
controls or in sideways-scrolling elements are ignored.
Group settings, same features in less space:
- Share: one row (Copy link, Share icon, QR); shorter intro.
- Group: currency and default category side by side; Save appears
only when something changed; hints trimmed.
- Members: "You are" picker merged in; rename/archive as icon buttons;
add member is the last row.
- Notifications: a single switch. Repeating expenses: hidden when none.
- Danger zone: two rows; the delete confirmation opens on tap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
On touch screens, dragging the Expenses or Balances tab down from the top
slides a "Pull to add expense" pill out from under the header; releasing
once it reads "Release to add" opens the add sheet. Sideways swipes,
upward scrolls and touches on form controls are left alone, and the
browser's pull-to-refresh is suppressed only while a pull is in progress.
The visible Add buttons stay; the pill is aria-hidden.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
The add sheet was ~1,400px tall on a 390×844 phone and the 12 category
chips wrapped into ragged rows. Now it fits one screen with three members:
- currency is a pill beside the amount (native select laid over it)
- categories are 12 equal tinted icon tiles, 6 × 2 (12 × 1 when wider),
with the chosen name next to the label
- date and payer share a row; "Several people" is the last payer option
instead of a separate checkbox
- photo, note and repeat are folded behind small buttons
- Save is pinned to the bottom; Cancel dropped (the X closes)
- sheet header is opaque and sheets get scroll-padding so focused
fields aren't hidden under the header or the Save bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
Layout, from the approved mock:
- Group header on Expenses/Balances: my balance as the headline number
(Money component de-emphasises currency and decimals), total spent, and
round quick actions Add / Payment / Settle up / Share. The floating +
shows only once those scroll off screen.
- Expense rows on two lines (title | amount, payer | my part) with round
icons tinted per category; sentence-case section headings.
- Balances: larger avatars, paired avatars on settle-up rows, tinted button.
Bugs found in a screenshot pass (phone 320/390, desktop 1280; dark, black,
light; English and Czech):
- A long title or member name widened the group page past the screen and
phones zoomed out (grid tracks without minmax(0, ...)); same in Stats.
- Long titles were clipped mid-word with no ellipsis.
- Category emoji nearly invisible on its grey circle in the light theme.
- Stats period labels wrapped (en) or ran off screen (cs); shortened.
- Icons next to wrapping text were squashed (lock on Home/App settings).
- Dialogs opened with a focus ring on the close button after a tap.
- New expenses always defaulted to Food & drink; now the group's default
category (settable in group settings), else Other.
e2e: the Balances check now targets the Settle up heading, which the new
quick action shares its text with.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
Replace the green-tinted palette with neutral near-black (Dark), true black
(Black, new, opt-in) and light grey (Light); green is the accent only. System
(default) follows the OS between Dark and Light. All text colours keep
>= 4.5:1 contrast on every surface.
Stylesheet-only restyle to match the approved mock: hairline card borders
(--line, separate from control --border), 20px corners, pill buttons and
segmented controls, round icon buttons and FAB, floating pill tab bar.
Browser theme-color follows the effective theme.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
The server also fetches ExchangeRate-API's free EUR-based endpoint
(RATES_EXTRA_URL, empty = off), stored apart from ECB rates; ECB always wins
for a currency both publish. /api/rates returns sources for supplementary
rates, expenses record them as xr:<date>, and the editor shows the required
attribution link. Snapshots older than a week before the requested date are
not used.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
Browsers' Intl.supportedValuesOf('currency') includes long-withdrawn codes
(ATS, DEM, ...). Use a hand-maintained ACTIVE_CURRENCIES list in core instead,
which also drops recently replaced ones (BGN, HRK, ANG, ZWL, SLL, CUC) and
non-cash units (XDR, XSU). A withdrawn currency already in use stays selectable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
- compose.yaml runs only the app by default; Caddy moved to the
'standalone' profile (the panel brings its own Caddy and routes).
- No env_file: every setting is ${VAR:-default} in compose.yaml, so it
can be set from the panel's Environment tab (or .env standalone).
- VAPID keys are generated on first start and kept in the data volume;
the push subject defaults to https://<site domain>. gen-vapid.ts removed.
- PUSH_DISABLED=1 turns push off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
Deploy is now `podman compose up -d` from the root. Add .containerignore
so node_modules, local data and .env stay out of the build context, and
mount only .env (not the whole tree) when generating VAPID keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
Mobile-first PWA: groups via key-in-fragment links, encrypted outbox and
sync over SSE, all split modes, currencies with ECB rate prefill, photos,
comments, history and rewind, stats, recurring expenses, CSV and backup,
EN/CS, dark/light theme, Web Push decrypted in the service worker.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
Re-uploading existing events (retries, backup restore) is idempotent and
must not eat into MAX_GROUP_BYTES.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
Node 24 standard library only (node:http, node:sqlite, node:crypto).
Push uses VAPID + RFC 8291 encryption with an allowlist of push services.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF