Allocate board manual add/change + iOS-style receipt delete button #18

Merged
julian merged 2 commits from chore/cleanup into main 2026-06-23 22:14:28 +02:00
Owner

Two small, independent improvements (off main, no overlap with #16/#17).

Allocate board — manual add + change

  • Add allocation form: choose a merchant, type the line text, pick a group → writes a merchant_aliases entry (text normalized via normalizeLine), without waiting for a scanned receipt to surface that line.
  • Allocated rows in the All view now have a Change action (tap → re-pick group → Save) instead of only a remove; manually-added entries also show up there.
  • New i18n keys: admin.allocate.addTitle / pickMerchant / lineText / change.
  • No store changes — allocateLine already upserts.

Receipt swipe-to-delete — iOS Phone style

  • Swiping a receipt row left now reveals a floating red circle with a white trash.fill icon (centered in the track) instead of a full-height red rectangle. Confirm-on-tap unchanged. Uses color.negative + radius.pill tokens.

tsc clean · lint clean.

🤖 Generated with Claude Code

Two small, independent improvements (off `main`, no overlap with #16/#17). ### Allocate board — manual add + change - **Add allocation** form: choose a merchant, type the line text, pick a group → writes a `merchant_aliases` entry (text normalized via `normalizeLine`), without waiting for a scanned receipt to surface that line. - Allocated rows in the **All** view now have a **Change** action (tap → re-pick group → Save) instead of only a remove; manually-added entries also show up there. - New i18n keys: `admin.allocate.addTitle` / `pickMerchant` / `lineText` / `change`. - No store changes — `allocateLine` already upserts. ### Receipt swipe-to-delete — iOS Phone style - Swiping a receipt row left now reveals a floating **red circle with a white `trash.fill` icon** (centered in the track) instead of a full-height red rectangle. Confirm-on-tap unchanged. Uses `color.negative` + `radius.pill` tokens. tsc clean · lint clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- "Add allocation" form: pick merchant + type line text + pick group → writes a
  merchant_aliases entry (normalized via normalizeLine), no scanned receipt needed
- allocated rows in the "All" view get a Change action (tap → re-pick group →
  save) instead of only a remove; manual additions now appear in that view too
- new i18n keys: admin.allocate.addTitle / pickMerchant / lineText / change

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Swiping a receipt row left now reveals a floating red circle with a white
trash.fill icon (centered in the track) instead of a full-height red rectangle.
Confirm-on-tap behavior unchanged. Uses color.negative + radius.pill tokens.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
julian merged commit 1c80a67d75 into main 2026-06-23 22:14:28 +02:00
julian deleted branch chore/cleanup 2026-06-23 22:14:34 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
julian/quickfin!18
No description provided.