diff options
| author | tv <tv@krebsco.de> | 2026-11-09 01:32:24 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 02:33:13 +0100 |
| commit | 5f2ea365cfd09d54b5ac8af3e5146e6d881c7554 (patch) | |
| tree | 8cf6db9928d432535f0aa96ff2bad75f053c8776 /docs/dashboard.md | |
| parent | dee32092163bddddab11d6d6c282851643a75acb (diff) | |
dashboard: the document box edited from its menus alone
With the entries' menus (1238), editing had three ways in: the
double-click, the `+` on a map's or list's row, and the menu. The
double-click and the `+` go; the menu does all of it. The title,
which stands for the root (its row isn't shown), now takes the
right-click too: its menu adds a key at the top level.
Diffstat (limited to 'docs/dashboard.md')
| -rw-r--r-- | docs/dashboard.md | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/docs/dashboard.md b/docs/dashboard.md index e0e2acc..bf45919 100644 --- a/docs/dashboard.md +++ b/docs/dashboard.md @@ -323,26 +323,25 @@ second likewise (`…BytesPerSec`, `bytesPerSec`). ## Document The swarm's document, as this node holds it: its keys listed at the top level, how -many beside the title, with the `+` that adds one. A branch is read +many beside the title. A branch is read when opened, and read again when the document changes there; what changed or came breathes once, as the map's labels do: its row glows and fades. Editing writes to the document, as the user the page was opened as, and the write goes to the whole swarm like any other: -* **Double-click an entry** to edit it: a string as text, anything else as JSON, a map - or list whole. Saved, it is shown open. The red `Delete` beside `Save` deletes the - entry instead, on a second click (`Delete: sure?`) from half a second to 3 s later: a - double-click doesn't delete. -* **`+` on a map's row** adds a key and its value (beside the title: a key at the top - level). -* **`+` on a list's row** inserts an item at an index (`-1`: at the end); the items - from there on move up. -* **Right-click an entry** (or hold a finger on it) for its menu: `Edit value` (as the - double-click), `Rename key` (a map's key), and on a map `Add a key`, on a list - `Append an item` or `Insert an item at…` (as the `+`, the index asked for). Renaming - reads the value, writes it under the new key and deletes the old one: two writes, the - value as JSON, as the store reads it; a key that exists already isn't overwritten. +Right-click an entry (or hold a finger on it) for its menu; the title's menu is the +root's: + +* **`Edit value`**: a string as text, anything else as JSON, a map or list whole. + Saved, it is shown open. The red `Delete` beside `Save` deletes the entry instead, on + a second click (`Delete: sure?`) from half a second to 3 s later. +* **`Rename key`** (a map's key): the value is read, written under the new key, and the + old key deleted: two writes, the value as JSON, as the store reads it; a key that + exists already isn't overwritten. +* **`Add a key`** (a map; the title's: a key at the top level): a key and its value. +* **`Append an item`**, **`Insert an item at…`** (a list): an item at the end, or at + the index asked for (`-1`: at the end); the items from there on move up. Each user sees and edits what its capabilities let it ([`access.md`](access.md)): of a part it may only partly read, the keys on the way to what it may. Protocol data (`_continuum`) |
