Session count alone says nothing about consistency, which is what makes pelvic floor training work. Record every completion timestamp and derive streaks from local calendar days: current streak (survives until a full day is missed), best streak, and a 14-day dot strip on the home screen. The done screen now shows the streak so finishing is rewarded. - src/lib/streak.ts: pure day-key / streak logic, covered by node --test - store: new `sessions` array, defaulted for pre-existing installs - home: StreakCard, screen now scrolls for smaller phones - tsconfig: TS 6 no longer auto-includes @types, so declare node types Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
40 lines
394 B
Plaintext
40 lines
394 B
Plaintext
# dependencies
|
|
node_modules/
|
|
|
|
# Expo
|
|
.expo/
|
|
dist/
|
|
web-build/
|
|
expo-env.d.ts
|
|
|
|
# Native
|
|
.kotlin/
|
|
*.orig.*
|
|
*.jks
|
|
*.p8
|
|
*.p12
|
|
*.key
|
|
*.mobileprovision
|
|
|
|
# Metro
|
|
.metro-health-check*
|
|
|
|
# debug
|
|
npm-debug.*
|
|
|
|
# macOS
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# local env files
|
|
.env*.local
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
|
|
# generated native folders (android/ is committed — CI builds it)
|
|
/ios
|
|
|
|
# Claude Code local dev config
|
|
.claude/
|