Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsync v2 #13197
sync v2 #13197
Conversation
25e4a30
to
75c689d
| @@ -347,10 +363,15 @@ syncResetMessageOtherDevices=If you've synced other devices, they will continue | |||
| syncResetMessageWhat=Resetting Sync clears data stored on the Sync server and resets this device's Sync settings. | |||
| syncResetMessageWhatNot=You will keep any bookmarks, history and other browsing data currently on this device. | |||
| syncRetryButton=Try again | |||
| syncScan=Scan the code | |||
| syncWelcome1=Brave Sync allows you to sync bookmarks, tabs, history and other data privately between your Brave Browsers on your varios devices. | |||
This comment has been minimized.
This comment has been minimized.
| @@ -1015,7 +1015,8 @@ module.exports.defaultAppState = () => { | |||
| lastFetchTimestamp: 0, | |||
| objectsById: {}, | |||
| pendingRecords: {}, | |||
| lastConfirmedRecordTimestamp: 0 | |||
| lastConfirmedRecordTimestamp: 0, | |||
| setupCompleted: false | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| "run": [ | ||
| "lint", | ||
| "pre-push-tests" | ||
| ] |
This comment has been minimized.
This comment has been minimized.
diracdeltas
Feb 26, 2018
Member
should this have been removed? (btw you can delete the commit hooks in .git/hooks instead so it doesn't change any files that are checked into git)
This comment has been minimized.
This comment has been minimized.
|
is this blocked on #13313? |
| return | ||
| } | ||
| } | ||
| window.alert('Invalid input code; please try again or create a new profile.') | ||
| } | ||
|
|
||
| render () { | ||
| console.log(JSON.stringify(this.props.syncData.get('devices'))) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
ref #13197 (comment)
I'll fix it. I only tested with copy/paste, which works but should work with any user input
I'm not sure if I followed right but you can't hit
Ya that's a bug. Addressed in 260ba3e |
|
removing reviewers and setting as |
- several UI changes user flow for sync improvements
Auditors: @cezaraugusto
- Update display of codes to use bip39 - Update input of codes to handle either bip39 or niceware - On recovery (input), only enable button if word length is 16 or 24 First half of implementation for #13313 Auditors: @cezaraugusto
auditors: @cezaraugusto
|
reviews request addressed, left a question regarding Screenshots for passphrase warning added in #13197 (comment). We're ready for a re-review |
|
@cezaraugusto looks good but the QR code is also private and should show a warning on this screen |
|
Added notice for QR code screen per #13197 (comment): Phrase is the same as other screens cc @bradleyrichter if this one needs adjustment |
| @@ -563,6 +565,9 @@ const handleAppAction = (action) => { | |||
| if (device.name) { | |||
| appState = appState.setIn(['sync', 'devices', deviceId, 'name'], device.name) | |||
| } | |||
| if (!hasMainDevice && getSetting(settings.SYNC_DEVICE_NAME) === device.name) { | |||
This comment has been minimized.
This comment has been minimized.
diracdeltas
Apr 11, 2018
Member
i think this line just sets the mainDevice to be true for any device with the same name as the current device, since SYNC_DEVICE_NAME is the name of the current device. is that the intended behavior?
This comment has been minimized.
This comment has been minimized.
diracdeltas
Apr 11, 2018
Member
(as long as the current device doesn't know of any existing main devices)
|
looks good! two follow up issues: |
|
Great job on this PR - I know you've already shifted work towards Brave Core. I captured what has been done so far with brave/brave-browser#356 for when we do chose to implement this |




cezaraugusto commentedFeb 20, 2018
•
edited
Closes #12269
Closes #9254
Closes #12356
Test Plan:
npm startandnpm run start2so you can sync between devicesScreenshots UPDATED: