Commit graph

6 commits

Author SHA1 Message Date
Daniel
fcef0d48db Add personalized plans with Postgres storage
Some checks failed
Android CI / build (push) Successful in 1m34s
Web CI / test (push) Successful in 58s
Android Release / release-apk (push) Failing after 22s
2026-05-20 23:43:03 +02:00
Daniel
f14b433085 Replace Kotlin app with Capacitor WebView wrapper
Some checks failed
Android CI / build (push) Successful in 1m33s
Web CI / test (push) Failing after 1m23s
Android Release / release-apk (push) Failing after 22s
The native Kotlin/Compose app is replaced by a Capacitor shell that
loads the existing Svelte web app from the self-hosted server URL,
set via APP_SERVER_URL secret at build time.

- web/capacitor.config.ts: appId com.danvics.calorieai, reads
  APP_SERVER_URL env var so the WebView points at the live server
- web/android/: Capacitor-generated Android project (gradlew included)
- AndroidManifest.xml: added CAMERA, READ_MEDIA_IMAGES, READ_EXTERNAL_STORAGE
- MealForm.svelte: split file input into Camera (capture=environment)
  and Gallery buttons so both options are accessible natively
- release.yml: npm ci → npm run build → cap sync → gradlew assembleDebug;
  removed manual Gradle installation, uses bundled gradlew instead
- package.json: Capacitor packages as devDependencies (not shipped in
  the Docker server image)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 18:14:53 +02:00
Daniel
5fa4b59335 Update web plans and app capture
All checks were successful
Android CI / build (push) Successful in 1m12s
Web CI / test (push) Successful in 49s
2026-05-20 00:48:52 +02:00
Daniel
2e2ba12cf3 Update web model management and meal diary
All checks were successful
Android CI / build (push) Successful in 1m6s
Web CI / test (push) Successful in 50s
2026-05-19 19:47:30 +02:00
Daniel
5837b1c8dc Revamp web app with Svelte and Tailwind
All checks were successful
Android CI / build (push) Successful in 28s
Web CI / test (push) Successful in 48s
2026-05-19 18:53:03 +02:00
Daniel
71c8837b48 Add web calorie tracker and analytics 2026-05-19 17:13:41 +02:00