-
Notifications
You must be signed in to change notification settings - Fork 23
Show Backup Progress #1466
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
Show Backup Progress #1466
Conversation
Hirobreak
commented
Jun 8, 2020
- Showing backup progress in a snackbar
| errorTitle: '', | ||
| errorInfo: '', | ||
| counter: 11 | ||
| counter: 200 |
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.
counter 200 (?)
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.
actually you change it from 1100 to 11
email_mailbox/src/lang/es.json
Outdated
| "exporting_contacts": "Exporting Contacts...", | ||
| "saving_contacts": "Saving Contacts...", | ||
| "exporting_labels": "Exporting Labels...", | ||
| "saving_labels": "Saving Labels...", |
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 sure, but even es.json have to be in english?
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.
No. It needs translations.
|
|
||
| const customDomains = await exportCustomDomainsTable(accountId); | ||
|
|
||
| exportProgress += 100 / PROGRESS_TOTAL_STEPS; |
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.
encapsulate this code 🙏🏻
| errorTitle: '', | ||
| errorInfo: '', | ||
| counter: 11 | ||
| counter: 200 |
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.
actually you change it from 1100 to 11
email_mailbox/src/lang/es.json
Outdated
| "exporting_contacts": "Exporting Contacts...", | ||
| "saving_contacts": "Saving Contacts...", | ||
| "exporting_labels": "Exporting Labels...", | ||
| "saving_labels": "Saving Labels...", |
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.
No. It needs translations.
20b6b92 to
e86a5f5
Compare
64bff56 to
1879315
Compare
electron_app/src/ipc/backup.js
Outdated
| } | ||
| return backupSize; | ||
| } catch (error) { | ||
| console.error(error); |
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.
merge the PR #1467, and then change this to logger.error
|
|
||
| backupDone(); | ||
| } catch (backupErr) { | ||
| log( |
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.
same comment
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.
This log function wraps all console logs in the file, I even use it in PR #1467
1879315 to
49114cc
Compare
