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 /src/swarm/members.rs | |
| 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 'src/swarm/members.rs')
0 files changed, 0 insertions, 0 deletions
