Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Show a message when opening the wallet while offline #147

Closed
Tracked by #71
mvaivre opened this issue Mar 9, 2022 · 2 comments
Closed
Tracked by #71

Show a message when opening the wallet while offline #147

mvaivre opened this issue Mar 9, 2022 · 2 comments
Assignees

Comments

@mvaivre
Copy link
Member

mvaivre commented Mar 9, 2022

As of today, the data is simply not loaded (no addresses, amounts etc.) but no error are shown.
Also, "refreshing" (using the dedicated header button) after getting back online doesn't work.

As a first step, when offline, we could show an error snackbar and replace the refresh icon with a "offline" icon.

In the future, we could cache previously loaded data to populate the UI, even when offline.

@mvaivre mvaivre changed the title Show a message when opening a wallet while offline Show a message when opening the wallet while offline Mar 9, 2022
@lf94
Copy link
Contributor

lf94 commented Mar 9, 2022

Should it be clear that the data presented is old?

@mvaivre
Copy link
Member Author

mvaivre commented Mar 10, 2022

Yes. An easy way could be to add a little state icon to the refresh button:

image

With an explanation on hover: "(Not) Synchronized"

@nop33 nop33 self-assigned this Mar 10, 2022
nop33 added a commit that referenced this issue Mar 10, 2022
@nop33 nop33 closed this as completed in cb75379 Mar 14, 2022
LeeAlephium pushed a commit that referenced this issue May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants