Skip to content

Frontend/swap account selection#3954

Closed
bznein wants to merge 52 commits intoBitBoxSwiss:staging-swapfrom
bznein:frontend/swap-account-selection
Closed

Frontend/swap account selection#3954
bznein wants to merge 52 commits intoBitBoxSwiss:staging-swapfrom
bznein:frontend/swap-account-selection

Conversation

@bznein
Copy link
Copy Markdown
Collaborator

@bznein bznein commented Mar 25, 2026

Before asking for reviews, here is a check list of the most common things you might need to consider:

  • updating the Changelog
  • writing unit tests
  • checking if your changes affect other coins or tokens in unintended ways
  • testing on multiple environments (Qt, Android, ...)
  • having an AI review your changes

If we return the unmarshaling error, the fronted might show the user an
error that is confusing and not helpful. By returning the actual error,
there is a change the user might figure out what's wrong on their own.
And even if they don't, it would be easier for support to troubleshoot.
@bznein bznein force-pushed the frontend/swap-account-selection branch from e7573ab to 83ef05d Compare March 25, 2026 15:34
Drop the unnecessary vi.importActual call in tests.

These mocks were starting async module loads from synchronous mock
factories without awaiting them, which could leave a Vite module fetch
pending during worker shutdown and intermittently fail CI.
@bznein bznein force-pushed the frontend/swap-account-selection branch 5 times, most recently from 87c9709 to ab3ea61 Compare March 30, 2026 15:35
Keep zero-value chart history when there was
account activity, so My Portfolio does not appear
empty after funds were received and later sent
out within the same chart interval.
@bznein bznein marked this pull request as ready for review March 30, 2026 15:52
@bznein bznein changed the title [WIP] Frontend/swap account selection Frontend/swap account selection Mar 31, 2026
thisconnect and others added 18 commits March 31, 2026 13:40
- removed exporting updateRatesConfig as it's only used internally
- changed to named ES6 export
- updated typed imports
Fixed some rendering bug that caused the UTXO view to be empty
after selecting an UTXO.

Steps to reproduce:
1) open coincontrol utxo view on mobile
2) scroll down
3) select an UTXO

result: empty dialog

expected: same utxo view with selected UTXO
Fixed sleeps were causing failures whenever startup or sync took longer than
expected, transaction assertions were racing backend/account updates, and
teardown could trip over processes that had already exited. Some
scenarios were also influenced by state left behind by previous runs.

Make the suite wait for real readiness and sync boundaries, and tighten cleanup
and state isolation so the tests fail for actual behavior changes.
We want different retries to save servewallet and simulator logs in
different directories, so that in case of flaky tests, we can analyze
older runs.
Temporarily disable this test until we can figure out why it fails.
This is the cause of the vast majority of our CI failures for Playwright.
To guide the user to focus on the device for address verification.
Keep allowing users to resize textarea elements, but only vertically
as the UI does not adopt to horizontal resizing.
Updated styling of all textarea elements to have same look and feel
(border-radius, focus color).
Wallet groups were previously sorted by root fingerprint.
When wallets have different names, the UI hides the root
fingerprint, which makes the ordering look arbitrary. Sort
wallets by name before root fingerprint so users can
control display order through naming.
- Sorts the accounts again, as they are first sorted by keystore name
- Updates sidebar and other accounts views with updated keystore name
thisconnect and others added 18 commits April 1, 2026 17:11
Long text strings in dialog and wait-dialog did not break to new
lines but caused a horizontal scrollbar.
To guide the user to focus on the device to confirm the address.
Long text multiline text should be left aligned and not centered.
Was removed in revamp:
- d96ed35

And added in:
- d96ed35
Fixed account-name not visible on mobile for coins with 9+ decimals.
Similar to all-accounts  account-names should be shortened with …
on small screens.
@bznein bznein requested a review from thisconnect April 7, 2026 12:09
@bznein
Copy link
Copy Markdown
Collaborator Author

bznein commented Apr 7, 2026

Sorry @thisconnect, added you as reviewer before realizing there are merge conflicts, will solve them first and ping you when ready

@bznein bznein force-pushed the frontend/swap-account-selection branch from ab3ea61 to 0bc32cf Compare April 7, 2026 12:33
@bznein
Copy link
Copy Markdown
Collaborator Author

bznein commented Apr 7, 2026

This branch became a mess, sorry about that, will open a different PR

@bznein bznein closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants