Skip to content

v3.25.6 — Places 📍

Choose a tag to compare

@lfariabr lfariabr released this 15 Oct 17:23
· 69 commits to master since this release
bb9b056

v3.25.6 — Places 📍

Release date: 16 October 2026
Type: Feature (full stack). Epic #350
PRs: #356 · #357 · #361 · #362 · #363 · #364 · #365 · follows v3.24.0

The v3.6 relationship pins map was read-only and admin-only. It had not grown since April 2026, because the only way to add a pin was a gitignored script. Places turns it into a private map of places visited together that two people keep up to date from their phones.

What's New

  • Importer (v3.25.0, v3.25.4). backend/scripts/seed-pins.ts is now committed with no private defaults:
    • It reads a CSV export of the sheet, geocodes rows that lack coordinates, and upserts on place name + date + amount, so re-runs add no duplicates.
    • --preview geocodes and classifies every row as ok, CHECK, FAIL or MANUAL without writing anything.
  • Write API (v3.25.1). New updatePin and deletePin mutations:
    • PARTNER can create and edit pins; only ADMIN can delete.
    • Pins can store a Google placeId.
    • Amounts are always positive, and the API rejects negatives. A migration flipped the legacy negative amounts and dropped the old unique index.
  • Add and edit from the map (v3.25.2). A form with Google Places search, "Pick on map" and an admin-only delete. It docks to the bottom of the screen on phones. A pin can now record a visit with no spend.
  • Repeat visits stack (v3.25.3). Pins that share a placeId or the same coordinates appear as one marker with a visit count. Its popup lists every visit, each with its own Edit.
  • One route, one name (v3.25.5). The map lives only at /places. /relationship and /admin/relationship redirect there with a 308, and "Relationship Map" becomes "Places" everywhere.
  • Glossary (v3.25.6). CONTEXT.md defines Pin, Place, Places map and Importer.

Before / After

Before After
Adding a pin Script or raw GraphQL Form on the map, phone friendly
Who can write Nobody from the UI ADMIN and PARTNER add/edit, ADMIN deletes
Finding the spot Typed coordinates Google Places search or tap on the map
Visit with no spend Not possible Amount optional
Same café twice Two overlapping markers One marker, visit count, per-visit edit
Amount sign Mixed, some negative Always positive
Address /relationship + /admin/relationship /places (old paths 308)
Sheet backlog Manual One command, --preview first

Tests

  • Backend and frontend suites pass on every PR. The final frontend run had 33 suites and 269 tests passing; lint and the build were clean.
  • In production: the migration ran, the April–October backlog was imported (40 pins), and Places search works after places.googleapis.com was added to the nginx CSP connect-src.

Docs: _docs/featureBreakdown/v3.25-places.md · _docs/releaseNotes/v.3.25.0 … v.3.25.6