mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-22 10:31:37 +01:00
- `Workspace` fields are private. `revision()` moves with every write (a clone is a new source); `generation()` moves only on `replace` and ends drags as the old revision did. A trial walks every `&mut self` method, read from the source. - Panel specs and permissions leave `DockPanels` for `PanelSpecs`, a plain-data model the host keeps in a `Tracked`. `DockArea` binds `Arc<Workspace>` and derives specs, permissions and keys from the workspace revision, the specs revision and the lock: an idle pass reads no spec, read-only docks included. - `DockGrid::rail(cells)` is sized by the dock from its own tokens. - Floating window ids come from a counter the layout owns; `replace` gives incoming windows ids the replaced layout never gave out. The dock's global id counter and its `no-global-state` allowlist entry are gone. Part of #2336.