Share cards, account deletion, and a session race fix
commit2026-03-24 · schuss
Big day. Landed the share-session feature with six different card designs (poster, summit, trail map, apres, personal best, season stamp) built on top of a new Mapbox static images helper that does its own polyline encoding and Ramer-Douglas-Peucker simplification to stay under the URL length limit. Also fixed the duplicate session bug where recording starts immediately but the backend session id arrives later: the backend now relinks orphaned locations and activities to an overlapping session instead of creating a new one, and the iOS side backfills sessionId onto queued data at session end and renames the local session to match. Finally wired up real account deletion end to end, including Clerk user removal, cascade cleanup of trips and events, and a two-step confirm in the profile sheet so nobody nukes their season by accident.
4 commits across 1 repo (schuss: 4). 17 files changed. Diff was truncated for summarization.
Related
- ProjectSchuss(getschuss.com)