Commit Graph

24 Commits

Author SHA1 Message Date
felixfoertsch 54291f450b update antrag checklist, scenarios, settings, barrel export, delete obsolete test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:50:48 +01:00
felixfoertsch a3a331cc0c update prozess route: pass process status from data queries
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:44:02 +01:00
felixfoertsch c6db9cec65 rewrite process stepper: data-driven steps, erstgespräch list/form, conditional TSS
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:42:57 +01:00
felixfoertsch 054f2bb3d1 phase-card: replace index prop with explicit stepNumber
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:41:40 +01:00
felixfoertsch 866d7c377e rewrite process hooks: data-driven status derivation, erstgespräch CRUD
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:41:04 +01:00
felixfoertsch 3da65ee754 remove aktueller_schritt from onboarding form, schema, tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:40:03 +01:00
felixfoertsch b09a9855c9 add tappable PWA install banner, tab bar safe area for notched devices
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:40:11 +01:00
felixfoertsch 795662461a detect PWA install state, skip install screen if installed, show warning banner in browser
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:17:13 +01:00
felixfoertsch 8c79aa14b7 fix onboarding: consistent text-sm body font, correct iOS share icon
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:08:35 +01:00
felixfoertsch fbbfb9e7a5 rework onboarding screen 2: PWA install instructions with platform detection
screen 1 now combines app intro + endurance message + privacy note.
screen 2 shows platform-specific PWA install steps (iOS/Android/fallback)
with warning to install before entering data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 14:57:44 +01:00
felixfoertsch 88933e9c13 rework onboarding as 3-screen wizard, mask PGlite download
two intro screens explain the app purpose, third screen is the
form. remove step selector, always start at neu. dot indicators
for progress, "App wird vorbereitet" while DB loads.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 14:43:14 +01:00
felixfoertsch 45bee68f52 rename nav tab to Einstellungen, remove Antrag tab, fix step label voice
active voice for section titles, done voice for buttons, spell out
Terminservicestelle in step title, 3-tab bottom nav

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 14:04:27 +01:00
felixfoertsch 8c368bd7c9 remove seedMockData from barrel export
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 12:29:38 +01:00
felixfoertsch e3c04723c3 fix process flow data integrity, add step-wise scenario seeding
SprechstundeForm now syncs nutzer.dringlichkeitscode, TSS advance
button sets nutzer.tss_beantragt. replace single mock-data button
with step-wise scenario dropdown in dev settings. move mock data
to dedicated scenarios module, fix stale test expecting 6 steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 12:28:30 +01:00
felixfoertsch 496cf40989 add ISO 8601 date picker, replace all native date inputs
custom DateInput component using react-day-picker + date-fns with
Calendar popover, always displays YYYY-MM-DD regardless of browser
locale. adds shadcn Popover and Calendar components. replaces all
<input type="date"> across process-stepper, contact-detail, contact-form

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 20:49:00 +01:00
felixfoertsch 7032f43295 rework process flow, compact contact cards, add GKV autocomplete
remove sprechstunde_absolviert as separate step, merge diagnosis +
dringlichkeitscode into erstgespräch form, add 116117 hint, fix TSS
wording, make process steps expandable/collapsible, align advance
buttons right, compact contact list with status-encoded icon buttons,
add delete button on kontaktversuche, add GKV krankenkasse autocomplete
with datalist, add deleteKontakt hook

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 20:15:12 +01:00
felixfoertsch 16de72c017 add settings page, contact editing, process flow, PWA updates
- settings tab with theme picker, data management, developer mode (mock data), PWA version/update
- contact detail page with inline editing of therapist info and contact attempts
- quick-action buttons on contact cards (update latest kontakt instead of creating duplicates)
- process stepper with inline step actions, Erstgespräch form embedded in step 1
- sticky bottom tab bar, Switch component, .htaccess in build output
- pre-warm PGlite on onboarding mount, spinner feedback on submit
- move DB init out of beforeLoad for faster initial page render
- bump to 2026.03.11.1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:08:48 +01:00
felixfoertsch c31948b997 add playwright e2e tests for onboarding, contact tracker
- install playwright, configure for chromium with vite dev server
- add onboarding flow test: redirect, form fill, navigation to prozess
- add contact tracker test: create contact, verify in list
- fix onboarding form navigating to /onboarding instead of /prozess
- fix date rendering crash in contact list (cast datum to text)
- exclude @electric-sql/pglite from vite optimizeDeps (WASM bundle)
- add test-results/, playwright-report/ to .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:42:00 +01:00
felixfoertsch 651dd4a255 add kostenerstattungs-assistent with checklist, pdf export
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:27:03 +01:00
felixfoertsch a84fe1c5f8 add contact tracker: list, form, cards, bottom navigation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:21:06 +01:00
felixfoertsch 4e4be03466 add contact tracker data layer: schemas, hooks, db queries
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:15:17 +01:00
felixfoertsch b884e4e8c4 add process stepper dashboard with phase cards, contact stats
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:13:37 +01:00
felixfoertsch 39060c4e8e fix onboarding form type errors, remove unused imports
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:11:16 +01:00
felixfoertsch 780e9816c1 add onboarding flow with form, validation, db persistence
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:08:01 +01:00