You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pay-card): add a Balance screen to the devtool
The linked-wallet total has no UI that shows the number itself, so a wrong
total cannot be told apart from a wrong formatter. The devtool shows what the
calculation returned.
- Opening the screen requests the wallets: the queries are skipped until then,
so the tool does not fetch a cardholder's wallets to render a list of flags.
- The total is rendered raw, in the counter-value currency's smallest unit.
Formatting it would hide the unit bug this screen exists to catch.
- A partial total says so. A wallet the rates could not price is left out of the
sum rather than counted as zero, which otherwise reads as a complete total.
- Pricing needs the app's rates and currency settings, so the host passes its
resolver in, the same way the card visual gets one.
- Opening it requests the card-linked wallets and shows the total the balance calculation returned, unformatted, in the counter-value currency's smallest unit.
10
+
- A refresh button refetches them.
11
+
- Says when the total is partial, so a wallet the rates could not price does not read as a complete total.
12
+
- Pricing needs the app's rates and currency settings, so the host passes `resolveCounterValue` in; without one the wallets are never requested.
0 commit comments