Show store manager counts #16

Merged
nalalangan merged 1 commits from feature/show-store-manager-counts into feature-custom-store-locations 2026-05-31 19:22:54 -09:00
Owner

Owner: Codex
Status: review
Branch: feature/show-store-manager-counts
Branch relationship: stacked on parent branch feature-custom-store-locations
Likely modified areas: store management UI, store list API model, manage UI tests
Actual modified files: backend/models/store.model.js; backend/tests/store.model.test.js; frontend/src/components/manage/ManageStores.jsx; frontend/src/components/manage/StoreAvailableItemsManager.jsx; frontend/src/components/manage/StoreLocationManager.jsx; frontend/src/components/manage/StoreZoneManager.jsx; frontend/tests/available-items-catalog.spec.ts
Collision risk: medium
Last meaningful update: 2026-05-31 - Added store manager count labels and verification.

Summary:

  • Adds active zone and item counts to the household store list response.
  • Shows counts on Manage Locations, Manage Zones, and Manage Items buttons.
  • Refreshes store count data after zone and catalog item changes from the modals.
  • Updates focused backend and Playwright coverage for the new button labels.

Tests:

  • npm test -- store.model.test.js
  • npm run lint
  • npm run typecheck
  • npm test
  • npm run build:backend
  • npm run build:frontend
  • PLAYWRIGHT_BASE_URL=http://127.0.0.1:3921 npm run test:e2e -- available-items-catalog.spec.ts

Notes:

  • Docker dev backend was rebuilt with docker compose -f docker-compose.dev.yml up -d --build backend.
  • Verified GET http://127.0.0.1:5000/ and GET http://127.0.0.1:5000/config returned 200.
  • Frontend build completed, but Vite warned the shell Node.js version is 20.13.1 while the project expects 20.19+ or 22.12+.
  • In-app browser verification was blocked by the existing Windows sandbox startup failure; focused Playwright coverage passed.
Owner: Codex Status: review Branch: feature/show-store-manager-counts Branch relationship: stacked on parent branch feature-custom-store-locations Likely modified areas: store management UI, store list API model, manage UI tests Actual modified files: backend/models/store.model.js; backend/tests/store.model.test.js; frontend/src/components/manage/ManageStores.jsx; frontend/src/components/manage/StoreAvailableItemsManager.jsx; frontend/src/components/manage/StoreLocationManager.jsx; frontend/src/components/manage/StoreZoneManager.jsx; frontend/tests/available-items-catalog.spec.ts Collision risk: medium Last meaningful update: 2026-05-31 - Added store manager count labels and verification. Summary: - Adds active zone and item counts to the household store list response. - Shows counts on Manage Locations, Manage Zones, and Manage Items buttons. - Refreshes store count data after zone and catalog item changes from the modals. - Updates focused backend and Playwright coverage for the new button labels. Tests: - npm test -- store.model.test.js - npm run lint - npm run typecheck - npm test - npm run build:backend - npm run build:frontend - PLAYWRIGHT_BASE_URL=http://127.0.0.1:3921 npm run test:e2e -- available-items-catalog.spec.ts Notes: - Docker dev backend was rebuilt with docker compose -f docker-compose.dev.yml up -d --build backend. - Verified GET http://127.0.0.1:5000/ and GET http://127.0.0.1:5000/config returned 200. - Frontend build completed, but Vite warned the shell Node.js version is 20.13.1 while the project expects 20.19+ or 22.12+. - In-app browser verification was blocked by the existing Windows sandbox startup failure; focused Playwright coverage passed.
nalalangan added 1 commit 2026-05-31 19:22:23 -09:00
nalalangan merged commit bafbc0fdac into feature-custom-store-locations 2026-05-31 19:22:54 -09:00
nalalangan deleted branch feature/show-store-manager-counts 2026-05-31 19:22:54 -09:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nalalangan/grocery-app#16
No description provided.