Skip to content
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 error about wrong time on sync init #2076

Merged
merged 2 commits into from
Apr 3, 2019

Conversation

AlexeyBarabash
Copy link
Contributor

@AlexeyBarabash AlexeyBarabash commented Mar 26, 2019

Submitter Checklist:

Fixes brave/brave-browser#3962.

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Verified that these changes build without errors on
    • Windows
    • macOS
    • Linux
  • Verified that these changes pass automated tests (npm test brave_unit_tests && npm test brave_browser_tests && npm run test-security) on
    • Windows
    • macOS
    • Linux
  • Verified that all lint errors/warnings are resolved (npm run lint)
  • Ran git rebase master (if needed).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.
  • Add appropriate QA labels (QA/Yes or QA/No) to include the closed issue in milestone

Test Plan:

  1. Adjust computer time 20 minutes forward.
  2. Create a sync chain
  3. Should see:You might be having wrong system time or timezone setup on your device. Please setup the correct time and timezone

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

@AlexeyBarabash
Copy link
Contributor Author

Linked brave-sync PR brave/sync#290 .

@AlexeyBarabash AlexeyBarabash force-pushed the sync_show_wrong_time_info branch 2 times, most recently from 1259a9e to 74243f5 Compare April 1, 2019 20:38
@AlexeyBarabash AlexeyBarabash marked this pull request as ready for review April 1, 2019 20:38
@AlexeyBarabash
Copy link
Contributor Author

CI build succeeded on Windows and Linux, and failed on MacOS with an error of applying patches.

Copy link
Contributor

@cezaraugusto cezaraugusto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. good one!

@bbondy
Copy link
Member

bbondy commented Apr 4, 2019

Hey guys, for text changes let's please include someone from #product for review. Thanks!

@bbondy
Copy link
Member

bbondy commented Apr 4, 2019

This will need some adjusting please, please check with the product team to get the wording.

@kjozwiak
Copy link
Member

kjozwiak commented Apr 4, 2019

Created brave/brave-browser#4011 to clean up the text 👍

AlexeyBarabash pushed a commit that referenced this pull request Apr 11, 2019
AlexeyBarabash added a commit that referenced this pull request Apr 11, 2019
Show error about wrong time on sync init
AlexeyBarabash pushed a commit that referenced this pull request Apr 19, 2019
AlexeyBarabash added a commit that referenced this pull request Apr 19, 2019
Show error about wrong time on sync init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Sync: proper message on wrong device time
5 participants