Skip to content

frontend: show offline error and scanning info on account-summary #3749

Draft
thisconnect wants to merge 5 commits intoBitBoxSwiss:masterfrom
thisconnect:frontend-sync-status
Draft

frontend: show offline error and scanning info on account-summary #3749
thisconnect wants to merge 5 commits intoBitBoxSwiss:masterfrom
thisconnect:frontend-sync-status

Conversation

@thisconnect
Copy link
Copy Markdown
Collaborator

@thisconnect thisconnect commented Jan 9, 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

Changed the component to work standalone without necessity to have
the parent component subscribe to status changed events.
Changed to show offlineError message in the account-summary view,
for example if the node cannot be reached or is misconfigured.

Also added 'scanning blockchain' string which is shown for account
based blockchains or before address scanning started.
In case when status.synced is true but the balance on account
summary is not ready fallback to 'scanning blockchain' message.
@thisconnect
Copy link
Copy Markdown
Collaborator Author

Tested by removing different files/dirs in appfolder.dev and misconfiguring ltc node.

I'm not sure about the last commit. There seems to be a brief situation where status.synced is true, but it's not read to render the balance yet. I'm not sure what it is doing. For this case it is better to fallback to "scanning blockchain" than showing empty space.

@thisconnect
Copy link
Copy Markdown
Collaborator Author

Screenshot 2026-01-09 at 12 57 02

@thisconnect
Copy link
Copy Markdown
Collaborator Author

when offline

(not sure why the eth status.offlineError doesn't contain the error.)

Screenshot 2026-01-09 at 14 03 04

@NickeZ
Copy link
Copy Markdown
Collaborator

NickeZ commented Jan 10, 2026

Isn't it better to see the last known balance and a more subtle warning somewhere else for connection status? Like for example to the left of the "hide/show balances eye"?

@thisconnect thisconnect marked this pull request as draft January 17, 2026 08:01
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.

2 participants