Aegis — the multi-chain wallet built into Theseus (BCH, BTC, DGB, ETH, SOL, TRX, SC)
"+ Add another BCH" created a fresh wallet on the spot. The old comment argued that being inside a coin's address list made the intent unambiguous; it isn't. "Add another BCH wallet" is just as often "bring in the one I already have somewhere else", and guessing wrong is not harmless — the user gets an empty new address and has to work out for themselves why their funds aren't in it. Adds aegisChoose(), a pick-one sibling of aegisConfirm for branches where the honest answer is a question rather than a yes/no, and puts it in front of every path that reached addWallet: - + Add another <TICKER> in the coin drilldown - + Add on an unowned coin in the browse picker (now routes to the existing New / Import / Connect chooser, with the coin still preselected through whichever branch is taken) - + Add your first wallet on the empty state — the most important one, since someone arriving with an existing seed was being handed a create-only flow The empty-state copy claimed "there's no separate seed to import", which stopped being true when imports shipped and actively told users the feature they wanted did not exist. Verified in a rendered panel: the chooser appears, addWallet is not called until Create is picked, Import opens the import modal, and Cancel does nothing. |
||
|---|---|---|
| lib | ||
| addon.json | ||
| electrum-servers.json | ||
| index.js | ||
| panel.html | ||
| panel.js | ||
| qr.js | ||
| wallet-inject.js | ||