diff options
| author | tv <tv@krebsco.de> | 2026-11-09 01:26:15 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 02:27:26 +0100 |
| commit | dee32092163bddddab11d6d6c282851643a75acb (patch) | |
| tree | 5f352c47fa805c2b0e3575b461e11944a2da9199 /docs/dashboard.md | |
| parent | dc118dcb2beb372b6914317238c5c81629124773 (diff) | |
dashboard: an entry's menu in the document box
The document box edited an entry by a double-click and added to a map
or list by the `+` on its row; a key couldn't be renamed, and a list's
`+` always asked for an index.
A right-click on an entry, or a finger held on it half a second, opens
its menu: `Edit value` (as the double-click), `Rename key` for a map's
key, and on a map `Add a key`, on a list `Append an item` or `Insert
an item at…`. Renaming reads the value, writes it under the new key
and deletes the old one (two writes, the value as JSON; a key that
exists already isn't overwritten). Inside a field being edited, and
where an entry offers nothing, the browser's own menu shows.
Diffstat (limited to 'docs/dashboard.md')
| -rw-r--r-- | docs/dashboard.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/dashboard.md b/docs/dashboard.md index 28f31a1..e0e2acc 100644 --- a/docs/dashboard.md +++ b/docs/dashboard.md @@ -338,6 +338,11 @@ to the whole swarm like any other: 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. 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`) |
