Go to file
null 3ab76fbcdf feat(mobile): go fully native — native Tracker home over the JSON API (no WebView)
Replace the WebView SPA handoff with the app's own native screens that call the
same JSON API — hitting the on-device server in local mode or the remote server
in server mode (same code, base URL switches). Uses the api.ts client built earlier.

- api.ts: typed getTracker/toggleBillPaid/createBill/logout + a shared authed
  mutate() helper (fetches + echoes the CSRF token); SessionUser type.
- TrackerScreen.tsx: native monthly Tracker — month header, Paid/Needs-action/Bills/
  Remaining stat tiles, prev/next month nav, and bill rows with a one-tap mark-paid
  toggle that re-fetches. Loading/error/empty states. Currency + dates via Intl in
  the WebView (Chromium — full ICU, unlike the embedded server).
- MainApp.tsx + app.css: native app shell (top bar + avatar) and a bottom tab bar
  (Tracker built; Calendar/Insights/Account are placeholders/account for now).
- App.tsx: renders MainApp instead of window.location.replace to the SPA; native
  auth for both modes (local login shows 'this device'); 401 bounces to login.

Verified on the x86_64 emulator: two-doors setup -> native login -> native Tracker
with live bills -> tap to mark paid -> tiles + row update. No WebView.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 14:41:04 -05:00
nodejs-assets/nodejs-project feat(mobile): shared api/config layer, server-mode CSRF fix, robustness + update-safe DB (batch 10) 2026-07-11 10:48:23 -05:00
scripts feat(mobile): run the TypeScript backend on Node 18 in local mode (batch 7-9) 2026-07-11 09:42:53 -05:00
src feat(mobile): go fully native — native Tracker home over the JSON API (no WebView) 2026-07-11 14:41:04 -05:00
.gitignore feat: server-mode login, biometric unlock, CapacitorHttp native auth (batch 4.5) 2026-06-14 18:08:01 -05:00
capacitor.config.ts feat: server-mode login, biometric unlock, CapacitorHttp native auth (batch 4.5) 2026-06-14 18:08:01 -05:00
index.html feat: initial mobile app extracted from bill-tracker repo 2026-06-13 20:00:05 -05:00
package-lock.json feat: server-mode login, biometric unlock, CapacitorHttp native auth (batch 4.5) 2026-06-14 18:08:01 -05:00
package.json feat: server-mode login, biometric unlock, CapacitorHttp native auth (batch 4.5) 2026-06-14 18:08:01 -05:00
tsconfig.app.json feat: initial mobile app extracted from bill-tracker repo 2026-06-13 20:00:05 -05:00
tsconfig.json feat: initial mobile app extracted from bill-tracker repo 2026-06-13 20:00:05 -05:00
tsconfig.node.json feat: initial mobile app extracted from bill-tracker repo 2026-06-13 20:00:05 -05:00
vite.config.ts feat: initial mobile app extracted from bill-tracker repo 2026-06-13 20:00:05 -05:00