-
Notifications
You must be signed in to change notification settings - Fork 900
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 1.11.x beta] Sync: Display a deprecation warning for users of sync v1 #5806
Conversation
a58bec3
to
5f47119
Compare
93803c5
to
be445dc
Compare
be445dc
to
6c9e9be
Compare
c958980
to
22e3f4b
Compare
22e3f4b
to
e85594c
Compare
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.
++
return; | ||
} | ||
|
||
// Only show the bar once, ever |
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.
If user uses multiple profile, maybe that user could see this infobar multiple times.
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'm ok with that, the other profiles must have sync enabled too. We can't assume that the other profiles are not other people perhaps.
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.
LGTM with nits.
@@ -0,0 +1,92 @@ | |||
/* Copyright (c) 2019 The Brave Authors. All rights reserved. |
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.
nit: 2020
@@ -0,0 +1,38 @@ | |||
/* Copyright (c) 2019 The Brave Authors. All rights reserved. |
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.
nit: 2020
Looks like |
Resolves brave/brave-browser#10231
Test Plan
A
brave://flags
flag for brave syncbrave://sync
B
C
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Reviewer Checklist:
After-merge Checklist:
changes has landed on.