diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-10-18 21:26:24 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-10-18 21:26:24 +0200 |
| commit | 031f99e626f52ea7baac9155b0cbe6e4fcfbfb31 (patch) | |
| tree | 5c6851213527ce7c8f5945c56a11448c7e8fdeac /README.md | |
| parent | 66939bab93cdcb9b7732c45d7bc3b99b6951fe15 (diff) | |
feat: poll server data so shared pages stay near-live
Refetch the current page every 15s while the tab is visible, gated by a
pure refresh policy: edit pages, hidden or offline tabs and in-flight
navigations are left alone. Replaces refresh-on-refocus with auto-refresh.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3,13 +3,15 @@ chores). ## Features -- **Refocus refresh** — returning to the app after 10 seconds away refetches - the current page's data; edit pages are left untouched. +- **Auto refresh** — the current page's data is refetched every 15 seconds + while the tab is visible, and on returning to the app after at least 10 + seconds away; edit pages, hidden or offline tabs and in-flight navigations + are left untouched. No server push: polling. - **Groceries** — two concepts: the **catalog** (every item ever added) and the **list** (unchecked items — what to buy next). Quick add with autocomplete, bulk category updates while planning, aisle-grouped view - while shopping. Shared across devices, but live sync is not implemented — - refresh to see your partner's changes. + while shopping. Shared across devices — every tab polls the server, so your + partner's changes land within ~15 seconds. - **Product references** — for items like "coffee" or "pasta": one or more reference brands with a price per unit (€/kg or €/L) and a quality score (0–100), comparable from the item while in the store. One reference can be @@ -79,7 +81,6 @@ mise run deploy ## TODO -- Live updates from server - Auto-categorize new items (LLM-assisted) - https://automerge.org/docs/tutorial/ - Shared > Modal actions |
