v0.24.0 — Garden: harvest→pantry, structured amounts, UW Extension links
Harvest logs now carry a structured amount+unit (legacy freeform quantity kept for old rows) and can simultaneously create a GARDEN-source pantry item via addPlantLog's new pantry input. PlantTypes can link a UW–Madison Extension article, searched through /api/v1/plant-types/uw-search (proxy to hort.extension.wisc.edu's WordPress REST API); the link shows on the type page and each plant. The garden log dialog now posts to /api/v1. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,12 @@ user-facing overview.
|
||||
|
||||
- **Garden** — Plant registry + care/harvest logs, plant **groups**, reusable
|
||||
**PlantType** records, Wikipedia photos. Plants sit on the shared location tree.
|
||||
Harvest logs carry structured `amount`+`unit` (legacy freeform `quantity` kept
|
||||
for old rows — don't regress); a harvest can simultaneously create a pantry
|
||||
item (`addPlantLog`'s `pantry` input → GARDEN-source consumable). PlantTypes
|
||||
can link a UW–Madison Extension article (`uwExtensionUrl/Title`), searched via
|
||||
`/api/v1/plant-types/uw-search` (proxy to hort.extension.wisc.edu's WP REST
|
||||
API; helper `src/lib/garden/uw-extension.ts`).
|
||||
- **Inventory** — durable **Item**s that nest (`parentItemId`: a toolbox is an
|
||||
Item that holds Items, with a cycle guard), with **Label**s (M:N via
|
||||
`LabelOnItem`), `ItemAttachment` (PHOTO/MANUAL/RECEIPT/WARRANTY), and `ItemLog`.
|
||||
|
||||
Reference in New Issue
Block a user