Details
- Reviewers
ashoat tomek - Commits
- rCOMM55aca4b4da56: [native] implement QR Auth context
Test adding secondary device - should work exactly the same.
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/account/qr-auth/qr-auth-context.js | ||
---|---|---|
5–7 ↗ | (On Diff #46323) | It will have more props later in the stack |
native/account/qr-auth/qr-auth-context-provider.js | ||
---|---|---|
55 ↗ | (On Diff #46323) | It's hard to review this one because you're removing a bunch of stuff (such as the permissions check), and I can't tell where (or whether) it's reintroduced |
native/account/qr-auth/qr-auth-context-provider.js | ||
---|---|---|
1 ↗ | (On Diff #46323) | Phabricator says that This file was copied from native/account/qr-auth/secondary-device-qr-code-scanner.react.js. which is partially true, but only part of the code was copied. What is on the right side without color is what is copied, and green is what I added but this is stuff like function definition or const contextValue.... What is on the left side marked with red color is what is left in the native/account/qr-auth/secondary-device-qr-code-scanner.react.js. (thinks I didn't copy-paste). So e.g. the permissions check is the thing that I left unchanged. |
55 ↗ | (On Diff #46323) | Hmm.. I am not removing anything, just copy-pasting what can be copy-pasted from secondary-device-qr-code-scanner.react.js. to qr-auth-context-provider.js. I wasn't making any changes in the logic. This should be really easy to review, but it looks like this is some Phabricator quirk that presents those changes in a not-natural manner. Let me know if there is anything I can do to make it easier for you. |
Thanks for explaining... not sure how I missed that. You'd think after 10 years of using Phabricator I'd be better at using it 😅