Native-feel polish: autosaving settings, stacked sheets, desktop type scale
All checks were successful
Verify and publish Calio container / build-and-push (push) Successful in 28s

- Settings apply as they change; theme/accent preview instantly and a
  background sync no longer discards in-progress edits
- Food journal stays open beneath edit/add/delete sheets
- Toasts render in the top layer above open sheets, with an error tone
- Follow the new day when the PWA resumes after midnight
- Add-food sheet: day/time row, one-tap meal picker, blank nutrient fields
- Library cards gain a Log action; compact rows on phones
- Desktop type scale raised from 7-12px to 10-15px (desktop.css)
- Hover styles limited to hover-capable devices; touch press dimming and
  no text selection on app chrome
- Sheets slide opaque on the UIKit curve; drag-to-dismiss tracks 1:1,
  supports flicks and departs from the dragged position
- Removed calorie bubbles fade out; no progress dot at 0 kcal
- Friendly network/proxy error messages; fresh outbox check before update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-10-22 10:57:36 -07:00
parent 3c0d6560f1
commit c3b9376508
16 changed files with 1043 additions and 290 deletions

View file

@ -1,6 +1,7 @@
// Development-only browser regression probe. Run on an unlocked localhost preview
// with Runtime.evaluate (awaitPromise: true). It changes navigation and draft input
// only, restores the draft, and never saves or deletes journal records.
// only. Settings autosave, so the cutoff it edits is saved and then restored;
// it never deletes journal records.
(async () => {
const checks = {};
const pause = (ms = 380) => new Promise(resolve => setTimeout(resolve, ms));
@ -58,7 +59,7 @@
checks.lastTabDoesNotWrap = page() === 'Settings';
await nav('Weight');
await nav('Settings');
checks.unsavedPreferencesSurviveNavigation = cutoff.value === '987';
checks.preferenceEditsSurviveNavigation = cutoff.value === '987';
changeValue(original);
visible('.bottom-nav button').find(e => e.textContent.trim() === 'Library').click();
visible('.bottom-nav button').find(e => e.textContent.trim() === 'Weight').click();