-
Notifications
You must be signed in to change notification settings - Fork 114
frontend: improve backup check related messages #3726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
frontend: improve backup check related messages #3726
Conversation
| if (!check.success) { | ||
| setActiveDialog(true); | ||
| setMessage(t('backup.check.notOK')); | ||
| if (check.code === 104) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use errUserAbort from bitbox02.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| "checking": "Checking backup…", | ||
| "confirmTitle": "Check backup", | ||
| "notOK": "Backup does NOT match the wallet.", | ||
| "notOK": "No backups on the microSD card matched the wallet on the BitBox. This can occur if you inserted a microSD card that was used to set-up another BitBox. Please locate the correct microSD card used to set-up this BitBox and try again.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you change it on locize too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet, but once this is merged I will. I need to keep it here else I'll forget about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can remove it, if you approve the PR and I update locize. But then the issue isn't fixed until you pull.
The app only displayed "Backup does NOT match the wallet" without any further information. This message was shown in cases where the user aborted on the device, or also when there was no matching backup. Added a custom aborted message and improved the does-not-match message, with some more information.
60f177b to
af8004e
Compare

The app only displayed "Backup does NOT match the wallet" without any further information. This message was shown in cases where the user aborted on the device, or also when there was no matching backup.
Added a custom aborted message and improved the does-not-match message, with some more information.