mitai-jinkendo/backend/csv_parser
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
..
__init__.py feat(csv-parser): Implement CSV import functionality with mapping and type conversion 2026-04-09 21:37:19 +02:00
core.py feat: Enhance CSV header normalization and mapping for activity data 2026-04-15 10:04:32 +02:00
executor.py feat: Enhance activity import functionality with additional metrics 2026-04-16 11:04:43 +02:00
field_units.py feat(csv-import): Enhance source unit handling and custom conversion options 2026-04-10 11:19:44 +02:00
import_errors.py feat(csv-templates): Add CSV template validation endpoint and enhance error handling 2026-04-11 06:47:27 +02:00
import_row_processing.py feat: Enhance CSV import and validation for activity module 2026-04-15 08:12:58 +02:00
mapping_suggest.py feat: Enhance CSV import and validation for activity module 2026-04-15 08:12:58 +02:00
module_registry.py feat: Enhance activity session metrics handling and CSV import logic 2026-04-16 07:25:39 +02:00
permissions.py feat(csv-parser): Implement CSV import functionality with mapping and type conversion 2026-04-09 21:37:19 +02:00
sleep_apple_import.py feat(csv-import): Enhance Apple sleep CSV import functionality 2026-04-10 07:52:04 +02:00
template_validator.py feat: Enhance CSV import and validation for activity module 2026-04-15 08:12:58 +02:00
type_converter.py feat: Enhance CSV header normalization and mapping for activity data 2026-04-15 10:04:32 +02:00