managarten/apps/citycorners
Till JS e73d64c999 refactor(citycorners): switch city pages to local-first data layer
Remove API fetch calls from city-scoped pages since CityCorners
has no backend server — all CRUD goes through IndexedDB via
@manacore/local-store with mana-sync for server synchronization.

- City home: use useAllLocations() + filterByCity() instead of API
- Map: read locations from IndexedDB reactive queries
- Detail: load from locationCollection.getById(), compute nearby
  locations locally with haversine distance
- Edit: read/write via locationCollection
- Add: insert via locationCollection instead of POST to API
- Delete: use locationCollection.delete() instead of API call
- Remove review/gallery API calls (no backend for these yet)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 14:27:15 +02:00
..
apps refactor(citycorners): switch city pages to local-first data layer 2026-03-29 14:27:15 +02:00
CLAUDE.md feat(citycorners): add 7 new location categories with 35 seed entries 2026-03-25 12:53:04 +01:00