Map design IDs to Gitea #1-#37, add tasks 80-88, stub ADRs 0004-0006, and point STATUS at the P1 batch order.
938 B
938 B
82 — Garden container plant count
Goal
Fix container plant counts so a container with N plants displays N, and audit sibling counts for the same bug.
Why
Containers (e.g. "plantie cabinet") show "0 plants" despite containing plants — likely a query/join or association bug.
Depends on
- 71 (garden containers), 72 (garden plants)
Scope
- Find and fix the count query in
src/modules/garden/server/queries.ts(and related UI). - Audit other garden counts (lists, widgets) for the same pattern; fix or file follow-ups.
- Playwright: extend
tests/e2e/garden.spec.ts— plant in container → count ≥ 1.
Out of scope
- New garden features.
Acceptance criteria
- Container with N plants displays N (not 0).
- Sibling counts audited; fixed or follow-ups filed.
- E2E covers plant-in-container count.
Notes
- Gitea: ginnoir/famapp#3