From a04eb5406ae8a37ec512e51c766c3fe47c568908 Mon Sep 17 00:00:00 2001 From: Local Dev Date: Fri, 2 Oct 2026 18:24:42 +0200 Subject: [PATCH] =?UTF-8?q?feat(aegis):=200.25.0=20=E2=80=94=20balance=20f?= =?UTF-8?q?irst,=20one=20network=20control,=20status=20last?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header read bottom-up. The balance sat under a row of connection detail, and the network you were on was reported in that status row while the control that could actually change it was a chip row buried in the picker's coin drilldown — two places for one idea, with the useful half two clicks deep and only reachable from inside a wallet list. Reordered to match what people open the panel for: 1. wallet label 2. balance and portfolio 3. network selector 4. connection status and the per-wallet verbs (Explorer, Faucet) The selector and the indicator are now the same control: a chip per network this coin has wallets on, the active one marked, always present while a wallet is selected. Switching picks a wallet on that network and keeps the picker's per-chain network memory in step, so the two views cannot disagree. A single-network chain still renders its one chip. It is the indicator the status row used to carry, and hiding it would make the header height jump as you move between chains. A testnet whose label already says so (Chipnet testnet) no longer also gets a TEST tag; Nile and Sepolia still do. --- bundled-addons/aegis/addon.json | 2 +- bundled-addons/aegis/panel.html | 48 ++++++++++++++++------ bundled-addons/aegis/panel.js | 71 +++++++++++++++++++++++---------- 3 files changed, 88 insertions(+), 33 deletions(-) diff --git a/bundled-addons/aegis/addon.json b/bundled-addons/aegis/addon.json index 4e7b6d76..59b04733 100644 --- a/bundled-addons/aegis/addon.json +++ b/bundled-addons/aegis/addon.json @@ -1,7 +1,7 @@ { "id": "aegis", "name": "Aegis Wallet", - "version": "0.24.0", + "version": "0.25.0", "category": "plugin", "description": "Multi-chain wallet (BCH, BTC, TRX, ETH, SOL, SC, DGB) derived from your Theseus vault. Dapps get window.bitcoincash on .x sites; window.tronWeb / window.tronLink / window.ethereum / window.solana on any https page.", "author": "Silent Mode", diff --git a/bundled-addons/aegis/panel.html b/bundled-addons/aegis/panel.html index 7e372149..ae997e6a 100644 --- a/bundled-addons/aegis/panel.html +++ b/bundled-addons/aegis/panel.html @@ -113,8 +113,26 @@ one row now: [network] [state] ........ [Explorer] [Faucet], above the balance. The whole row hides together when there is no wallet context, which is the only case the old .netrow hid in. */ - .netrow { display: flex; align-items: center; gap: 7px; margin-top: 8px; + /* 0.25.0: the network chip left this row to become the selector below the + balance, so what remains is purely connection state plus the per-wallet + verbs. */ + .netrow { display: flex; align-items: center; gap: 7px; margin-top: 6px; padding: 0 2px; min-width: 0; } + /* Network selector — indicator and switch in one control, directly under + the balance and present whenever a wallet is. The active chip IS the + "you are here" marker the status row used to carry. */ + .netsel { display: flex; gap: 6px; margin-top: 12px; padding: 0 2px; flex-wrap: wrap; } + .netsel[hidden] { display: none; } + .netselchip { background: transparent; border: 1px solid var(--line); color: var(--mut); + border-radius: 999px; padding: 4px 11px; font: inherit; font-size: 12px; + line-height: 1.15; cursor: pointer; display: inline-flex; align-items: center; + gap: 6px; white-space: nowrap; } + .netselchip:hover { border-color: var(--acid, #d6ff3d); color: var(--acid, #d6ff3d); } + .netselchip.on { background: rgb(from var(--acid, #d6ff3d) r g b / .14); + border-color: rgb(from var(--acid, #d6ff3d) r g b / .50); + color: var(--ink); font-weight: 600; cursor: default; } + .netselchip .cnt { color: var(--dim); font-size: 10.5px; font-weight: 400; } + .netselchip.on .cnt { color: var(--mut); } /* Only the hostname may shrink. Without this the flexbox took width off the network chip first, clipping "Chipnet testnet" to "Chipnet" — the one label on the row that must never be ambiguous, since it is what @@ -722,11 +740,24 @@ - + +
+
+ —— + +
+ +
+ +