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

[sync-v2 base] Sync: Show an infobar at startup for sync v1 users #5804

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

petemill
Copy link
Member

@petemill petemill commented Jun 10, 2020

The infobar displays a notice that sync v2 must be setup in order to continue syncing.
In this infobar, the user can

  • perform an action to begin sync v2 setup, or;
  • dismiss the infobar.

Test Plan

We want a profile with sync v1 enabled, and then open a browser with sync v2 code to test the infobar shows:

  1. Open release version of Brave with a new profile:
    [macos]/Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser --user-data-dir=$HOME/Library/Application\ Support/BraveSoftware/5804-sync-v2-infobar-test-1

  2. Turn on brave sync flag in chrome://flags

  3. Quit (don't use relaunch button)

  4. Run again release brave with above user data dir command, and enable sync v1 at brave://sync

  5. Quit again

  6. Launch local / nightly / PR build (with sync v2) with same profile via above command (replacing with nightly), or for local build: yarn start --user_data_dir_name=5804-sync-v2-infobar-test-1

  7. Setup sync v2 via brave://settings

  8. Quit

  9. Relaunch and observe infobar

image

@petemill petemill requested review from bsclifton and darkdh June 10, 2020 07:11
@petemill petemill requested a review from bridiver as a code owner June 10, 2020 07:11
@petemill petemill self-assigned this Jun 10, 2020
Copy link
Member

@darkdh darkdh left a comment

Choose a reason for hiding this comment

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

++
Could you also update the test plan in sync-v2 PR when you merge this?

@petemill
Copy link
Member Author

Updated description to include test plan and removed some unused params. Will merge and move test plan to sync-v2 next

@darkdh darkdh mentioned this pull request Jun 11, 2020
32 tasks
The infobar displays a notice that sync v2 must be setup in order to continue syncing.
In this infobar, the user can
- perform an action to begin sync v2 setup, or;
- dismiss the infobar.
@darkdh darkdh merged commit 9ce2485 into sync-v2 Jun 11, 2020
@darkdh darkdh deleted the sync-v2-infobar branch June 11, 2020 18:12
Brandon-T added a commit that referenced this pull request Aug 9, 2022
Cleanup brave-core only in dealloc. Doing it in applicationWillTerminate crashes :(
Chromium has a `kFastTerminate` flag that they use to disable it due to the same crash.
kjozwiak added a commit that referenced this pull request Aug 10, 2022
kjozwiak added a commit that referenced this pull request Aug 10, 2022
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