feat(csv-import): Refactor CSV import logic and enhance data handling
- Updated the CSV import architecture to clarify the distinction between import and data layer responsibilities, as outlined in the new section of ARCHITECTURE.md. - Enhanced the build_row_after_mapping function to include module-specific context for improved data processing. - Introduced source unit options in the admin CSV template editor to facilitate user-defined conversions, improving flexibility in handling various data formats. - Added new tests to validate the handling of source units and ensure accurate conversions during CSV imports. - Updated module definitions to include unit specifications for nutritional and activity data fields, enhancing data integrity.
This commit is contained in:
1 parent
41cc0ed2a8
commit
d6d7e738a5
10 files changed
+324
-27
No files matched your search
@@ -14,6 +14,8 @@
|
||||
- ✅ Commits: 7 systematic commits (6 module migrations + 1 chart expansion)
|
||||
- ✅ charts.py: 329 → 2246 lines (+1917 lines)
|
||||
|
||||
**Import vs. Auswertung:** Leitlinie „was beim Ingest erlaubt ist“ und Einordnung bestehender Import-Pfade: `.claude/rules/ARCHITECTURE.md` Abschnitt **8. CSV-Import vs. Data Layer**.
|
||||
|
||||
---
|
||||
|
||||
## Executive Summary
|
||||
|
||||
Reference in new issue
Block a user