From 7404dcef34dbad11a5ac2a6b8a27836b01c82635 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2026 20:12:04 +0000 Subject: events: why no party's client backs a proposal `GET /events/counts` gives each proposal on the current version `none`: why a party's client backs it not (`client::backable`), where it is no version as this node reads it, none changing the current one, or one naming the heads of the current one's checkpoint; else `null`. So a node shows that a proposal is none, and why, before it passes: one that passes all the same is never written, or, no version here, the node stops at its version event. The dashboard shows it with the proposal, and `continuum-party proposals` says it by the federation the client knows. Row 48's test checks what a node shows of the proposal. --- src/api/dashboard/dashboard.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/api/dashboard/dashboard.html') diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index f5d258b..99434e0 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -4251,8 +4251,8 @@ function connect() { // `/events/refused`; docs/guides/federation/) instead of the document, until `document` // says otherwise: the current version, the event the store stopped at, if any, the // parties, the rules, the values at places (each with who writes there), the proposals on -// the version (where each stands, who voted what, and what its version changes) and what -// the node refused. A vote goes through +// the version (where each stands, who voted what, why no client backs it, where none +// does, and what its version changes) and what the node refused. A vote goes through // this node (`POST /admin/events/vote`), which casts it only where it votes for its party // by itself (`votesByItself`). Read every 5 s while shown, what counts anew where the // store's heads changed. Writing values takes a key of the party, which the page has @@ -4509,6 +4509,9 @@ function federationProposals(counts, summary) { const parts = [federationLeaf("proposed by " + count(proposal.proposals.length, "event") + " ยท " + count(proposal.votes.length, "vote"), null, [...proposal.proposals, ...proposal.votes].join("\n"))]; + if (proposal.none) { + parts.push(el("div", { class: "note error" }, "Backed by no client: " + proposal.none)); + } const proposed = federation.versions.get(hash); if (proposed === undefined) { parts.push(el("div", { class: "note" }, "Its version isn't read yet.")); -- cgit v1.3.1