Floating notes become a second class of hex head window

Featurekamo-internal
Shipped
14 Agosti 2026, 15:56 UTC
Author
kamo
Commit
7abd0a2

Hex heads now back two kinds of window: the popup tool windows they always did, and floating notes. Minimize replaces the old roll-up — a minimized sticky leaves the overlay entirely and lands in the hex head dock wearing its own note colour, where the popover's open/close and throw-to-goal drive it exactly as they drive a tool window. The integration is the event contract, nothing more: heads are keyed by window id, so notes take a `floating-note:<id>` namespace inside that shared id space and answer `tool:focus` / `tool:close` for their own. `tool:requestClose` is deliberately not vetoed — that veto protects unsent drafts, and a sticky autosaves and flushes on unmount. Also: - The whole title bar drags. The title is a label rather than an input, which is what was stealing every pixel but the top-left corner; double-clicking it renames, double-clicking anywhere else maximizes. - Maximize to full screen, from the button or a double-click. - A note is live in one place or the other, never both. While floating, its card in /notes is dimmed and inert (only re-attach stays live) and detaching from the editor closes the editor. "Open in Notes" hands the note back and closes the sticky. - The deep-link latch was a single boolean, so a note handed back a second time never reopened. It is keyed per id now. - A sticky left minimized re-spawns its head after a reload, and a legacy `collapsed` sticky migrates to minimized rather than vanishing.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei