Plants mode: recent-plants quick strip + clump/grid fill toggle #100

Closed
opened 2026-07-22 04:36:39 +00:00 by steve · 0 comments
Owner

Part of #96. Depends on the editor-mode-model issue. Carries the #77 fill-mode UI.

Problem. Picking a plant to place means opening the full PlantPicker or curating the manual per-garden seed tray (insertion-ordered). There's no "here are the plants you've actually been planting" quick access — Steve asked specifically for a most-recently-planted quick view. And the #77 grid/clump fill layout is backend-only with no UI.

Do.

  • Recent-plants quick strip in Plants mode: the plants most recently planted in this garden (or across the account), newest first, as tap-to-arm chips. Prefer deriving "recently planted" from real planting activity rather than only the localStorage recents — a plop's plant + plantedAt is already in the /full payload and pansy:recent-plants exists as a fallback. Keep "All plants…" → the existing PlantPicker for the long tail.
  • Fill-mode toggle (clump ↔ grid) surfaced where a region fill is triggered, wired to the layout field on POST /objects/:id/fill (already supports clump|grid from #95). Explain the two in one line of UI copy ("Clump: quick blobs · Grid: rows you can plant from"). This finally gives the app UI a way to run a grid fill (today only the agent/REST can).
  • Fits the mode framework: when Plants mode is active and a plantable object is focused, the strip + fill control are the bottom tool bar; when none is focused, the empty-state prompts to pick a bed.

Acceptance.

  • In Plants mode, the plants you've recently planted are one tap away, without opening the full picker.
  • A bed can be filled as grid (rows) or clump from the UI, and the result matches what the agent's mode arg produces.
  • Placing a plant still records it to recents so the strip stays fresh.

Product note for the deferred list: "recent" = recently-planted-in-this-garden vs account-wide vs the manual tray — I'll pick recently-planted-in-garden and note it for confirmation.

Part of #96. Depends on the editor-mode-model issue. Carries the **#77 fill-mode UI**. **Problem.** Picking a plant to place means opening the full PlantPicker or curating the manual per-garden seed tray (insertion-ordered). There's no "here are the plants you've actually been planting" quick access — Steve asked specifically for a most-recently-planted quick view. And the #77 grid/clump fill layout is backend-only with no UI. **Do.** - **Recent-plants quick strip** in Plants mode: the plants most recently *planted in this garden* (or across the account), newest first, as tap-to-arm chips. Prefer deriving "recently planted" from real planting activity rather than only the localStorage recents — a plop's plant + `plantedAt` is already in the `/full` payload and `pansy:recent-plants` exists as a fallback. Keep "All plants…" → the existing PlantPicker for the long tail. - **Fill-mode toggle** (clump ↔ grid) surfaced where a region fill is triggered, wired to the `layout` field on `POST /objects/:id/fill` (already supports `clump|grid` from #95). Explain the two in one line of UI copy ("Clump: quick blobs · Grid: rows you can plant from"). This finally gives the app UI a way to run a grid fill (today only the agent/REST can). - Fits the mode framework: when Plants mode is active and a plantable object is focused, the strip + fill control are the bottom tool bar; when none is focused, the empty-state prompts to pick a bed. **Acceptance.** - In Plants mode, the plants you've recently planted are one tap away, without opening the full picker. - A bed can be filled as **grid** (rows) or **clump** from the UI, and the result matches what the agent's `mode` arg produces. - Placing a plant still records it to recents so the strip stays fresh. Product note for the deferred list: "recent" = recently-planted-in-this-garden vs account-wide vs the manual tray — I'll pick recently-planted-in-garden and note it for confirmation.
steve added the frontenddrawingplants labels 2026-07-22 04:36:39 +00:00
steve closed this issue 2026-07-22 05:58:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: steve/pansy#100