docs: the badge bar, the slide-over and the dock (step 1 of the redesign)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
a1672acc70
commit
0c94caf866
7 files changed
+203
-70
No files matched your search
@@ -30,10 +30,14 @@ Part of [CLAUDE.md](../../CLAUDE.md). These are rules that cost a defect to lear
|
||||
not freeze a colour that is meant to follow the signal list), **the math channels with their
|
||||
graphs**, **the measurements pane**, and **`measure_stats`** — the measurements statistics
|
||||
toggle; written as a bare top-level boolean (`measure_stats = true/false`), defaults to `false`
|
||||
when absent, and **`dock`** -- the Dock button's state (the user's last word on it, `sidebar_wanted`),
|
||||
a bare top-level boolean written where the sidebar's `side_tab` used to be, default `true`. The parser
|
||||
ignores unknown keys, so a file written before the tabs became a dock (`side_tab = "measure"`) still loads
|
||||
and simply opens with the dock shown; nothing needs to read the old key. Signal identity
|
||||
when absent, and **`dock`** -- `LayoutState::dock_shown`, the Dock button's state (the user's last word on it,
|
||||
`App::sidebar_wanted`): a bare top-level boolean written where `side_tab` used to be, default `true`.
|
||||
It is the **only** thing the dock persists -- its 320 px width is fixed, so there is nothing to store --
|
||||
and **the open slide-over page is deliberately not persisted** (a panel that opens by itself at start-up
|
||||
is a surprise, and a page id from another source kind may not exist). The parser ignores unknown keys
|
||||
(its key chain has no erroring final `else`), so a file written before the tabs became a dock
|
||||
(`side_tab = "measure"`, or `side_tab = "source-ao"`) still loads and opens with the dock shown;
|
||||
nothing reads the old key, and `[dock-session]` asserts it. Signal identity
|
||||
is the *name* throughout (a CONFIG renumbers channels), 'enabled' is read off the channels the
|
||||
model built -- an enabled signal is exactly one that produced a channel -- and `apply_layout()`
|
||||
installs the graphs **before** assigning the rows, since a row may hold a math channel's name and
|
||||
|
||||
Reference in new issue
Block a user