Skip to content

feat: firebase telemetry, feedback forms, and UI fixes#15

Merged
cortexark merged 3 commits intomainfrom
claude/affectionate-bhabha
Mar 15, 2026
Merged

feat: firebase telemetry, feedback forms, and UI fixes#15
cortexark merged 3 commits intomainfrom
claude/affectionate-bhabha

Conversation

@cortexark
Copy link
Copy Markdown
Owner

Summary

  • Add Firebase Firestore engine telemetry with pipeline traces and categorized health stats (HealthKit 5.1.3 compliant)
  • Add in-app bug report and feature request forms with Firestore upload
  • Add debug trace JSON export via share sheet for local debugging
  • Add 1-year free launch offer flow, privacy policy, and terms of service
  • Change Trends metric picker to two-row grid (fixes swipe conflict with tab navigation)
  • Show numerical scores in Thump Check status pills (Recovery, Activity, Stress)

Test plan

  • Verify Firestore telemetry traces upload on dashboard refresh
  • Submit bug report in Settings — confirm document in Firestore bug-reports/
  • Submit feature request in Settings — confirm document in Firestore feature-requests/
  • Export debug trace JSON — verify file contains raw data + engine outputs
  • Tap Trends metric chips — verify two-row layout, no swipe conflict
  • Check Thump Check pills show numerical scores with correct colors
  • Run FeedbackFirestoreTests and FirestoreTelemetryIntegrationTests

Add per-engine timing and trace upload to Firestore for remote quality
baselining. Each dashboard refresh records computed scores, confidence
levels, and durations — never raw HealthKit values — tied to a SHA256-
hashed Apple Sign-In user ID.

- Add Firebase SDK (FirebaseFirestore) to iOS target via SPM
- Create PipelineTrace model with per-engine sub-structs
- Create EngineTelemetryService singleton for Firestore uploads
- Create FirestoreAnalyticsProvider for general analytics events
- Instrument DashboardViewModel.refresh() with per-engine timing
- Add telemetry consent toggle in Settings (always on in DEBUG)
- Initialize Firebase and telemetry service at app startup
…l docs

- Add launch free year: all users get full Coach access for 1 year
  from first sign-in with no subscription required
- Add LaunchCongratsView shown once after first sign-in
- Update Settings subscription section to show free year status
  with days remaining instead of upgrade button
- Add Firestore telemetry integration tests that upload mock
  health data through all 9 engines and read back to validate
- Add privacy policy and terms of service covering HealthKit,
  Firebase telemetry, push notifications, and solo dev protections
- Add GoogleService-Info.plist to .gitignore
- Add FeedbackService for bug report and feature request upload to Firestore
- Add in-app feature request sheet in Settings (replaces external link)
- Upload bug reports to Firestore alongside email fallback
- Add InputSummaryTrace for categorized health stats in telemetry (HealthKit 5.1.3 compliant)
- Add debug trace JSON export with raw data + engine outputs via share sheet
- Change Trends metric picker from horizontal scroll to two-row grid
- Show numerical scores in Thump Check status pills (Recovery, Activity, Stress)
- Add E2E Firestore integration tests for feedback uploads
@cortexark cortexark merged commit 2f15bb2 into main Mar 15, 2026
1 check failed
@cortexark cortexark deleted the claude/affectionate-bhabha branch March 15, 2026 08:48
cortexark added a commit that referenced this pull request Mar 19, 2026
* feat: add Firebase Firestore engine telemetry

Add per-engine timing and trace upload to Firestore for remote quality
baselining. Each dashboard refresh records computed scores, confidence
levels, and durations — never raw HealthKit values — tied to a SHA256-
hashed Apple Sign-In user ID.

- Add Firebase SDK (FirebaseFirestore) to iOS target via SPM
- Create PipelineTrace model with per-engine sub-structs
- Create EngineTelemetryService singleton for Firestore uploads
- Create FirestoreAnalyticsProvider for general analytics events
- Instrument DashboardViewModel.refresh() with per-engine timing
- Add telemetry consent toggle in Settings (always on in DEBUG)
- Initialize Firebase and telemetry service at app startup

* feat: 1-year free launch offer, Firestore integration tests, and legal docs

- Add launch free year: all users get full Coach access for 1 year
  from first sign-in with no subscription required
- Add LaunchCongratsView shown once after first sign-in
- Update Settings subscription section to show free year status
  with days remaining instead of upgrade button
- Add Firestore telemetry integration tests that upload mock
  health data through all 9 engines and read back to validate
- Add privacy policy and terms of service covering HealthKit,
  Firebase telemetry, push notifications, and solo dev protections
- Add GoogleService-Info.plist to .gitignore

* feat: feedback forms, telemetry summaries, debug export, UI fixes

- Add FeedbackService for bug report and feature request upload to Firestore
- Add in-app feature request sheet in Settings (replaces external link)
- Upload bug reports to Firestore alongside email fallback
- Add InputSummaryTrace for categorized health stats in telemetry (HealthKit 5.1.3 compliant)
- Add debug trace JSON export with raw data + engine outputs via share sheet
- Change Trends metric picker from horizontal scroll to two-row grid
- Show numerical scores in Thump Check status pills (Recovery, Activity, Stress)
- Add E2E Firestore integration tests for feedback uploads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant