Mainnet and testnets have equal weight in the chain nav #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
QuantusandHeisenbergsit side by side, identically styled. One is the realnetwork and one is a testnet, and nothing on the page says which. Planck makes
it three, and two of the three will be testnets.
Somebody reading a balance, a reward or a transfer has no way to know from the
chrome whether the number means anything.
What already exists
ChainInfo.mainnetis on the wire and reaches the browser today — the frontendignores it.
registry.rssets it from the operator-asserted[[chains]]entryand never infers it from the name, deliberately: a chain calling itself
"Quantus Staging Mainnet" must not get the badge by having the word in its
title.
So this is a render change with no backend work.
Shape
Two labelled groups rather than a styling difference alone:
The nav already carries a
CHAINSeyebrow; splitting it into two says which iswhich without a legend, and without the reader having to know a convention.
Dashed borders on testnet chips as a second channel, per the rule already in
force elsewhere in this file — "not colour-alone: the disabled chains carry a
word", because a single visual channel reads as decoration to anyone who has not
been told what it means.
Degrade sensibly when there is only one group: a chain list with no mainnet in
it should say
TESTNETSand not render an emptyMAINNETheading.