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
fix(stats): address review feedback on accessibility, races and edge cases
- Pin balance scrapes to the account that opened the driver: both the on-launch
warmup refresh and the dashboard "Refresh balance" capture the account id +
StatsManager up front and only persist if the active account is unchanged, so
a mid-scrape account switch can't write one profile's balance into another's.
- Serialize ad-hoc balance refreshes through a dedicated lock held across the
whole driver lifecycle, so concurrent refreshes can't open two drivers on the
same Edge profile (the prior busy check was non-atomic).
- Accept a real balance of 0 in the scrape selector (was rejecting >= 0 as
"not found"), so a brand-new account's zero balance is captured correctly.
- Make the stats card keyboard-activatable (Enter / Space) in addition to
click, since it exposes role="button".
- Drop the quotes around the single-token Consolas font name in the dashboard
diagnostic list to satisfy Stylelint.
- Add bottom padding inside the dashboard content container so the "All
accounts" table isn't flush against the window edge.
0 commit comments