The Background tab fills in — facets rendered to order, eight hues in a carousel
Claude-Session: https://claude.ai/code/session_01SR4XGjmBE16ZUYWpfFHXwY
This commit is contained in:
@@ -53,7 +53,9 @@ One **style editor** component — a background palette grid and a curated symbo
|
||||
|
||||
## Board popover
|
||||
|
||||
**Restructure in progress (2026-08-07): the popover is going tabbed.** The symbol/name header stays at the top; below it sit three tabs — **Info**, **Background**, **Git** — each the settings surface for one aspect of board configuration, each designed in its own dedicated session (Background and Git are empty placeholders until theirs). The bullets below describe the popover's pre-tab content; what of it rehomes into which tab — and where the embedded style editor lands — is those sessions' to settle. The rulings inside the bullets (rename semantics, the git postures, the popover/sheet split) stand; only their placement is in motion.
|
||||
**Restructure in progress (2026-08-07): the popover is going tabbed.** The symbol/name header stays at the top; below it sit three tabs — **Info**, **Background**, **Git** — each the settings surface for one aspect of board configuration, each designed in its own dedicated session (Git is an empty placeholder until its; Info and Background are settled). The bullets below describe the popover's pre-tab content; what of it rehomes into which tab — and where the git section lands — is the Git session's to settle. The rulings inside the bullets (rename semantics, the git postures, the popover/sheet split) stand; only their placement is in motion.
|
||||
|
||||
**The Background tab** (settled 2026-08-07, its dedicated session): two surfaces, manual then generated. The **Color** section is the re-homed style-editor embed — background half only, `showsSymbols: false`, exactly the pre-tab composition rule (§ Styling ▸ Controls: the popover's symbol picker beside the rename field owns the board glyph) — same write path, same recents, so the embed's re-homing changed its address and nothing else. The **Generated** section is the faceted-background picker (DESIGN/explorations/board-backgrounds.md ▸ Faceted gallery, the reviewed recipe): four segmented filters — Tone (defaults to the current appearance), Colors mono/duo/trio, Mesh coarse/medium/fine, Saturation soft/mid/rich — over a horizontal carousel of the eight wheel hues, one seed per hue, plus a Reroll button that re-mints the seeds (filters change the treatment, Reroll changes the geometry; the preview and the applied file share a seed, so what's clicked is what lands). Clicking a swatch renders the recipe at the 3072 px decode ceiling off-main and lands it in one write: the PNG into the board root as `facets.png` (Finder-ladder rename only when a foreign file owns the name), `background.image` pointed at it, and `background.color` set to the recipe's primary color — the underlay that stands in while the image decodes or if the file ever goes missing. **Backgrounds ship as static pixels, never live-rendered views** (the perf/sync ruling, 2026-08-07): the generator runs at pick time, the render loop only ever composites a decoded bitmap. Native undo restores the two fields, not the overwritten bytes — regenerating over our own PNG is destructive, documented, and accepted (the escape hatch remains the raw file). The whole tab disables under the read-only lock as one surface.
|
||||
|
||||
### Info tab (settled 2026-08-07)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user