From dee32092163bddddab11d6d6c282851643a75acb Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 9 Nov 2026 01:26:15 +0000 Subject: dashboard: an entry's menu in the document box MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- docs/dashboard.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/dashboard.md') 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`) -- cgit v1.3.1