-
Notifications
You must be signed in to change notification settings - Fork 920
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
fix multiple sync issues #1193
fix multiple sync issues #1193
Conversation
001d68f
to
5ea6a06
Compare
6f8c560
to
d678ef6
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.
Feedback left - noticed some odd behavior. I doubt the crash I found is related to this PR (seems we may need to harden the sync library, so that bad users like me don't cause a crash 😄)
I cannot review tsx files, so built and launched. |
@AlexeyBarabash you are correct! Just for reference, here's the issue capturing that: |
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.
++! (after discussion on Slack; link below)
for those interested: the issues mentioned by @bsclifton were discussed at https://bravesoftware.slack.com/archives/C2HJYB45N/p1546637100018400 and brave/brave-browser#2604 was re-opened |
This is a bundle of fixes for sync and is included together in one PR for convenience since the spec was fully updated and wouldn't make sense to have them separated.
Design spec: https://share.goabstract.com/ef5f3ea9-3aec-472e-81d0-1ad72d2a70e5
1) Update spec of Sync enabled view
Fix Clicking anywhere on the same line as 'Bookmarks' toggles Bookmark Sync on/off
Close brave/brave-browser#2574
Test plan
2) Update spec of sync disabled view
Fix Text in the first screen (disabled content) feels extremely cramped and uneven
Close brave/brave-browser#2675
Test plan
3) Update spec of Sync Devices/QR code/Sync Words modals
Fix Disable Phone/Computer buttons until the device name is queried
Close brave/brave-browser#2724
Fix Padding is too small between
Word Code
andQR Code
inView Sync Code
modalClose brave/brave-browser#2591
Test plan
Note: This was addressed by the new design spec by removing the device name from the device type modal and the remake of the QR code and sync words.
First fix (brave/brave-browser#2724)
Second fix (brave/brave-browser#2591)
word code
andQR code
are different modals.4) Add a loading state for adddin, removing and resetting Sync
Fix Sync needs a 'waiter' message when reset/confirm/remove
Close brave/brave-browser#2567
Fix Looking for device button is missing when QR code is shown
Close brave/brave-browser#2801
Fix Prevent the user from firing device removal multiple times
Close brave/brave-browser#2629
Test plan
First fix (brave/brave-browser#2567)
Second fix (brave/brave-browser#2629)
confirm removal
modal should self-close once the operation is completed
5) Add extra dialog to prevent the user from aborting a new sync chain
Fix when the user starts a new sync chain the modal needs to disable cancelation
Close brave/brave-browser#2564
Test plan
Repeat the same process but this time clicking "computer".
6) Properly set the state for
view code words
andscan words
Fix Children of Sync device type modal should use the same modal
Close brave/brave-browser#2677
Test plan
Repeat the same process with a sync chain set up by clicking "Add New Device" in the devices table screen.
7) Auto-close code modals when a new device is found
Fix
Cancel
andOK
yield the same action inadd device
Close brave/brave-browser#2550
Fix Looking for devices seems to be a dead UI on sync page question
Close brave/brave-browser#2528
Test plan
First fix (brave/brave-browser#2550)
Second fix (brave/brave-browser#2528)
8) Rename resetSyncSetupError to clearSyncSetupError
Fix Sync: rename resetSyncSetupError to clearSyncSetupError
Close brave/brave-browser#2779
Test plan
n/a