Page MenuHomePhabricator

[native] Get `primaryIdentityPublicKey` before enabling `LogInPanel`
ClosedPublic

Authored by atul on Feb 9 2023, 11:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 5:52 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Unknown Object (File)
Fri, Nov 22, 2:03 AM
Subscribers
None

Details

Summary

Make JSI call and get primaryIdentityPublicKey before enabled LogInPanel inputs/buttons.

Test Plan

Logged public key as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Feb 9 2023, 11:43 AM
ashoat added inline comments.
native/account/log-in-panel.react.js
61 ↗(On Diff #22308)

This isn't an "async function that hits server APIs" – maybe we should just remove those comments?

This revision is now accepted and ready to land.Feb 9 2023, 11:49 AM
native/account/log-in-panel.react.js
61 ↗(On Diff #22308)

Yeah without newlines splitting the Props into "chunks," I just assumed the comments referred to the prop immediately below.

I'll remove the comments since I don't think they're particularly useful.

accidentally stashed changes responding to feedback instead of amending to commit..

This revision is now accepted and ready to land.Feb 9 2023, 12:38 PM
This revision was landed with ongoing or failed builds.Feb 9 2023, 12:41 PM
This revision was automatically updated to reflect the committed changes.