Editor: the toolkit is a rail tab on desktop, and the rail is wider
The handoff drew the toolkit as a 216px card left of the plan. That width was better spent on the plan and the rail, so the toolkit is now the rail's first tab — Toolkit / Plot / Journal / History / Assistant — rendered `embedded` (no card chrome, no heading; the tab is the heading), the grid is two columns, and the rail grows from 336 to 400px. Focusing a bed (double-click) switches the rail to Toolkit, because that is where the plant palette now lives; a single click still selects into Plot. The phone chrome is untouched: it never used the card. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
@@ -90,6 +90,11 @@ Conventions that follow from it:
|
||||
- **The editor's breakpoint is container width** (`PHONE_BREAKPOINT` = 760 in
|
||||
`web/src/editor/shared.ts`, measured with a ResizeObserver), not a media
|
||||
query. One component tree, two chromes; don't build a second page.
|
||||
- **The desktop toolkit is a rail tab, not the handoff's left card** (Steve's
|
||||
call, 2026-08-23: the card's width was better spent on the plan and the
|
||||
rail). `Toolkit` renders `embedded` inside the rail as its first tab;
|
||||
focusing a bed (double-click) switches the rail to it, a single click
|
||||
selects into Plot. Don't bring the third column back.
|
||||
- **Plant markers are monograms** derived from the name (`web/src/lib/monogram.ts`);
|
||||
the collision set is the whole catalog so the letters match everywhere.
|
||||
`plant.icon` still exists in the API but nothing renders it.
|
||||
|
||||
Reference in New Issue
Block a user