From abbbf17bcfe6dfa663b7019c4892db09e27b3808 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 27 Aug 2026 13:37:26 +0200 Subject: Resync Strava title from list payload via Save Context / Problem: Strava titles can be corrected after import. The sync path only handled new rides; existing rides were marked skipped without checking the cheap list metadata, so corrections like ride #789 stayed stale. What: In syncRides reuse the existing Save write path for rare title resyncs (pay GPX parse cost) when existing.Name != list.Name; track progress.Updated and surface it in SSE/TS UI; add tests for resync without stream fetch. Remove the now-obsolete TODO. QA: go test/ vet, tsc, biome/stylelint pass. --- web/frontend/types.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'web/frontend/types.d.ts') diff --git a/web/frontend/types.d.ts b/web/frontend/types.d.ts index 83b3921..d4c4bdf 100644 --- a/web/frontend/types.d.ts +++ b/web/frontend/types.d.ts @@ -144,6 +144,7 @@ export interface SyncProgress { completed: number; imported: number; skipped: number; + updated: number; rateLimit?: RateLimitSnapshot; } -- cgit v1.3