4 Commits

Author SHA1 Message Date
Riaan Doorduin
0d3da5f2df Blood test spreadsheets: ferritin, Hb, iron in the health section
- sources/labs.py reads .xlsx/.csv sheets with a Date column; columns are
  recognised by header (ferritin, Hb, serum iron, transferrin saturation),
  with the lab's reference range and the user's Min/Max target. Formula
  cells are skipped.
- Importing a sheet from disk remembers it in settings "lab_files"; every
  dashboard build reads it again. Editable in the app's settings.
- Dashboard: ferritin chart (log scale, main lab as a line, a second lab
  as points, target range dashed), results table and a finding.
- openpyxl added as a dependency and to the installer bundle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:20:25 +02:00
39ce4e73a0 Windows installer; ship the dashboard template
- packaging/: PyInstaller spec (one folder, windowed, Python included), Inno Setup script
  (per-user install, Start menu, optional desktop icon, WebView2 check), build.ps1, app icon.
- Bundled exe also runs the CLI (output to %LOCALAPPDATA%\myGarmin\cli.log).
- Fix: .gitignore pattern dashboard*.html also hid src/mygarmin/report/dashboard.html, so the
  template was never committed and fresh clones could not build a dashboard. Patterns anchored;
  data file types (*.gpx, *.csv, *.json, *.gz, *.log) ignored too.
- Self-test runs beside an open app (own WebView2 data folder, no single-instance check).
- Neutral example values in a docstring and the tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 14:10:05 +02:00
462d23ba9d Phase 2 start: desktop window (pywebview)
Setup screen (create/open library), update buttons, drag-and-drop import, Garmin Connect
login with MFA prompt, sources overview, settings, live log. Jobs run one at a time in a
worker thread. Single instance on Windows. Dashboard can be copied to extra paths
(copy_dashboard_to). App API test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:56:32 +02:00
1075698321 Phase 0: mygarmin package — library, importers, dedupe, dashboard, exports, CLI
Generalised from personal scripts: SQLite library with untouched originals, importers for FIT, TCX,
GPX, AlpineQuest .trk, Strava and Garmin Connect exports, the Garmin Connect API and a USB watch;
cross-source de-duplication; time zones from GPS; data-driven dashboard and GPX/.trk exports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 12:35:08 +02:00