From 393fb4d70fc6bf88debc4ca13d644ea7de9602f5 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Nov 2026 16:32:23 +0000 Subject: dashboard: the federation, in a swarm holding a store MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In a swarm holding a store, the snapshot names the node's party, and the document box shows what counts as the node reads it, read every 5 s: the current version, the parties with their keys and nodes, the rules, the values at places as a tree with who writes there, the proposals on the version with where each stands, who voted what and what its version changes, and what the node refused. `document` beside `remake…` shows the document underneath. Where the node votes for its party by itself, a proposal that can still pass has a vote of each kind, cast through the node on a second click. The page writes no values: a party signs its writes with its key. --- src/api/dashboard/dashboard.html | 383 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 378 insertions(+), 5 deletions(-) (limited to 'src/api/dashboard/dashboard.html') diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index a20e64c..a918532 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -328,6 +328,15 @@ .tree details[open] > summary::before { content: "▾"; } .tree details > .note { padding-left: 1.1em; } .key { color: var(--muted); } + /* The federation (`#federation`): where a proposal stands, its votes, the filter. */ + #federation .standing { font-weight: 600; } + #federation .standing.passed { color: var(--ok); } + #federation .standing.dead { color: var(--bad); } + #federation .leaf { overflow-wrap: anywhere; } + #federation input.filter { width: 100%; box-sizing: border-box; font: inherit; + color: var(--fg); background: var(--bg); border: 1px solid var(--line); + border-radius: 4px; padding: 2px 4px; margin: 2px 0 4px; } + #federation .votes button.toggle { float: none; margin: 2px 6px 2px 0; } /* What a value or key means, after it (`gloss`): an alias, a time, a size. */ .gloss { color: var(--muted); } @@ -387,8 +396,9 @@
-

Document

+

Document