Allow household switcher reordering #3

Merged
nalalangan merged 8 commits from feature/household-reordering into feature-custom-store-locations 2026-05-31 00:26:48 -09:00
Owner

Owner: Codex
Status: review
Branch: feature/household-reordering
Branch relationship: stacked on parent branch feature-custom-store-locations
Likely modified areas: household APIs/models/context, household switcher UI, grocery list spacing, Gitea PR tooling, docs/tests, DB migration
Actual modified files: .gitignore; PROJECT_INSTRUCTIONS.md; backend/controllers/households.controller.js; backend/models/household.model.js; backend/routes/households.routes.js; backend/tests/available-items.routes.test.js; backend/tests/household.model.test.js; backend/tests/households.controller.test.js; backend/tests/store-locations.routes.test.js; docs/GITEA_PR_WORKFLOW.md; docs/guides/api-documentation.md; frontend/src/api/households.js; frontend/src/components/common/ListSearchInput.jsx; frontend/src/components/household/HouseholdSwitcher.jsx; frontend/src/context/HouseholdContext.jsx; frontend/src/styles/components/HouseholdSwitcher.css; frontend/src/styles/pages/GroceryList.css; frontend/tests/household-selection-persistence.spec.ts; package.json; packages/db/migrations/20260526_020000_add_household_member_sort_order.sql; scripts/gitea-pr.js
Collision risk: medium
Last meaningful update: 2026-05-31 - pushed branch and created PR through Gitea helper using local ignored token file.

Summary:

  • Adds persisted household member sort order with a reorder API and migration.
  • Adds household switcher reorder controls and keeps active household selection stable.
  • Polishes the household dropdown, removes redundant search labeling, and tightens grocery zone spacing.
  • Adds Gitea PR helper tooling for authenticated PR create/view/update/merge from Codex sandbox sessions.
  • Updates API docs and backend/frontend tests for household ordering and related flows.

Tests run:

  • npm test
  • npm run lint
  • npm run typecheck
  • npm run build:frontend
  • npm run build:backend
  • npm run db:migrate:status
  • npm run db:migrate
  • PLAYWRIGHT_BASE_URL=http://127.0.0.1:3910 npm run test:e2e -- household-selection-persistence.spec.ts
  • node --check scripts/gitea-pr.js
  • node scripts/gitea-pr.js help
  • npm run pr:auth
  • npm run pr:view -- --number 3
  • Browser DOM checks for dropdown alignment, search label cleanup, and zone spacing.

Notes:

  • Frontend build passes but still prints the existing Vite warning because the shell is on Node 20.13.1 and Vite wants Node 20.19+ or 22.12+.
  • PR auth is loaded from ignored .codex-local.env when sandbox-inherited env vars are unavailable.
Owner: Codex Status: review Branch: feature/household-reordering Branch relationship: stacked on parent branch feature-custom-store-locations Likely modified areas: household APIs/models/context, household switcher UI, grocery list spacing, Gitea PR tooling, docs/tests, DB migration Actual modified files: .gitignore; PROJECT_INSTRUCTIONS.md; backend/controllers/households.controller.js; backend/models/household.model.js; backend/routes/households.routes.js; backend/tests/available-items.routes.test.js; backend/tests/household.model.test.js; backend/tests/households.controller.test.js; backend/tests/store-locations.routes.test.js; docs/GITEA_PR_WORKFLOW.md; docs/guides/api-documentation.md; frontend/src/api/households.js; frontend/src/components/common/ListSearchInput.jsx; frontend/src/components/household/HouseholdSwitcher.jsx; frontend/src/context/HouseholdContext.jsx; frontend/src/styles/components/HouseholdSwitcher.css; frontend/src/styles/pages/GroceryList.css; frontend/tests/household-selection-persistence.spec.ts; package.json; packages/db/migrations/20260526_020000_add_household_member_sort_order.sql; scripts/gitea-pr.js Collision risk: medium Last meaningful update: 2026-05-31 - pushed branch and created PR through Gitea helper using local ignored token file. Summary: - Adds persisted household member sort order with a reorder API and migration. - Adds household switcher reorder controls and keeps active household selection stable. - Polishes the household dropdown, removes redundant search labeling, and tightens grocery zone spacing. - Adds Gitea PR helper tooling for authenticated PR create/view/update/merge from Codex sandbox sessions. - Updates API docs and backend/frontend tests for household ordering and related flows. Tests run: - npm test - npm run lint - npm run typecheck - npm run build:frontend - npm run build:backend - npm run db:migrate:status - npm run db:migrate - PLAYWRIGHT_BASE_URL=http://127.0.0.1:3910 npm run test:e2e -- household-selection-persistence.spec.ts - node --check scripts/gitea-pr.js - node scripts/gitea-pr.js help - npm run pr:auth - npm run pr:view -- --number 3 - Browser DOM checks for dropdown alignment, search label cleanup, and zone spacing. Notes: - Frontend build passes but still prints the existing Vite warning because the shell is on Node 20.13.1 and Vite wants Node 20.19+ or 22.12+. - PR auth is loaded from ignored .codex-local.env when sandbox-inherited env vars are unavailable.
nalalangan added 7 commits 2026-05-31 00:22:34 -09:00
nalalangan added 1 commit 2026-05-31 00:24:22 -09:00
nalalangan merged commit 35d0fc72cc into feature-custom-store-locations 2026-05-31 00:26:48 -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#3
No description provided.