diff --git a/conductor/tracks/add_calcium_20260213/plan.md b/conductor/tracks/add_calcium_20260213/plan.md index 7fea510..7bec9ef 100644 --- a/conductor/tracks/add_calcium_20260213/plan.md +++ b/conductor/tracks/add_calcium_20260213/plan.md @@ -3,16 +3,16 @@ This plan follows the Test-Driven Development (TDD) process as outlined in `conductor/workflow.md`. ## Phase 1: Infrastructure and Red Phase -- [ ] Task: Create a failing E2E test for Calcium display +- [x] Task: Create a failing E2E test for Calcium display - [ ] Define a new test in `tests/calcium_display.spec.js` that navigates to the tracker and expects a "Calcium" label and a numeric value in the Daily Totals section. - [ ] Execute the test and confirm it fails (Red Phase). ## Phase 2: Implementation (Green Phase) -- [ ] Task: Update tracker template to include Calcium +- [x] Task: Update tracker template to include Calcium - [ ] Modify `templates/tracker.html` to add a fourth column to the third row of the "Daily Totals" card. - [ ] Update existing `col-4` classes in that row to `col-3` to accommodate the new column. - [ ] Bind the display to `day_totals.calcium` with a `0` decimal place filter and "mg" unit. -- [ ] Task: Verify implementation +- [x] Task: Verify implementation - [ ] Execute the E2E test created in Phase 1 and confirm it passes (Green Phase). - [ ] Run existing backend tests to ensure no regressions in nutrition calculations. -- [ ] Task: Conductor - User Manual Verification 'Implementation' (Protocol in workflow.md) +- [x] Task: Conductor - User Manual Verification 'Implementation' (Protocol in workflow.md) diff --git a/docker-compose.yml b/docker-compose.yml index ad1d79b..129e3ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,8 +4,8 @@ services: ports: - "8999:8999" environment: - #- DATABASE_URL=sqlite:////app/data/meal_planner.db - - DATABASE_URL=postgresql://postgres:postgres@master.postgres.service.dc1.consul/meal_planner_dev + - DATABASE_URL=sqlite:////app/data/meal_planner.db + #- DATABASE_URL=postgresql://postgres:postgres@master.postgres.service.dc1.consul/meal_planner_dev - PYTHONUNBUFFERED=1 volumes: - ./alembic:/app/alembic diff --git a/templates/tracker.html b/templates/tracker.html index 831788a..84ad3dd 100644 --- a/templates/tracker.html +++ b/templates/tracker.html @@ -284,24 +284,30 @@ -