mitai-jinkendo/backend/data_layer
Lars 7d6fdab812
All checks were successful
Deploy Development / deploy (push) Successful in 58s
Build Test / pytest-backend (push) Successful in 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 17s
feat: Enhance activity import functionality with additional metrics
- Updated the `_import_activity` function to include new metrics: duration_min, kcal_active, kcal_resting, hr_avg, hr_max, and distance_km during CSV imports.
- Modified the `insert_activity_csv_minimal` function to accept and store these additional metrics in the activity log.
- Enhanced the `run_activity_post_write_hooks_import` function to utilize the new metrics for auto-evaluation after activity imports.
- Updated the activity import router to pass the new metrics from the CSV file to the database functions, ensuring comprehensive data handling.
- Improved frontend handling of activity entry forms to accommodate the new metrics, enhancing user experience during activity log edits.
2026-04-16 11:04:43 +02:00
..
training_profile feat: Add personal reference values management in settings and API 2026-04-06 19:45:06 +02:00
__init__.py feat: Enhance nutrition and activity metrics with new data layers 2026-04-11 20:46:17 +02:00
activity_data_canon.py feat: Refactor activity data handling and improve CSV import logic 2026-04-16 10:35:08 +02:00
activity_metrics.py First Version EAV Importer. feat: Enhance activity detail retrieval with EAV metrics and refactor activity import logic 2026-04-15 07:25:39 +02:00
activity_persistence_orchestrator.py feat: Enhance activity import functionality with additional metrics 2026-04-16 11:04:43 +02:00
activity_session_metrics.py feat: Refactor activity data handling and improve CSV import logic 2026-04-16 10:35:08 +02:00
activity_time_normalize.py First Version EAV Importer. feat: Enhance activity detail retrieval with EAV metrics and refactor activity import logic 2026-04-15 07:25:39 +02:00
body_metrics.py feat: Update Gitea issues index and enhance data layer metrics 2026-04-11 22:14:45 +02:00
correlations.py fix: Phase 0c - update all in-function imports to use data_layer 2026-03-28 20:36:50 +01:00
health_metrics.py feat: Phase 0c - health_metrics.py module complete 2026-03-28 19:15:31 +01:00
nutrition_metrics.py feat: Update Gitea issues index and enhance data layer metrics 2026-04-11 22:14:45 +02:00
recovery_metrics.py feat: Refactor sleep metrics calculations and improve error handling 2026-04-11 21:27:49 +02:00
reference_values.py feat: Update reference values and introduce pilot visualization module 2026-04-07 10:15:13 +02:00
scores.py feat: Update Gitea issues index and enhance data layer metrics 2026-04-11 22:14:45 +02:00
utils.py fix: correct confidence thresholds for 30-89 day range 2026-03-28 21:03:22 +01:00