Trey T 8b3e3eb839 Make server the single source of truth for active location
Two devices on the same account each kept their own localStorage location and
re-asserted it onto Feeld's single shared account-location slot on every Discover
mount — so loading the site on device B would overwrite the location device A
had just set (San Antonio → Dallas).

- useLocation: on server sync, always adopt the server's current/custom location,
  overriding this device's local cache (was local-first via a `!location` guard).
  Devices now converge to the server value on load. Expose `locationReady`.
- Discover: wait for `locationReady` before pushing DeviceLocationUpdate, and push
  whenever the authoritative location changes (deduped by coords) instead of a
  one-shot stale-cache assert. Device B now stamps the server's value onto Feeld,
  not its own old location.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-07 10:46:43 -05:00
2026-03-20 18:49:48 -05:00
2026-03-20 18:49:48 -05:00
2026-03-20 18:51:39 -05:00
2026-03-20 18:49:48 -05:00
2026-03-20 18:49:48 -05:00
2026-03-20 18:49:48 -05:00
S
Description
No description provided
100 MiB
Languages
TypeScript 88.7%
JavaScript 9.7%
CSS 1.3%
Dockerfile 0.2%