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)
Fri, Jun 14, 7:26 PM
Unknown Object (File)
Fri, Jun 14, 9:36 AM
Unknown Object (File)
Fri, Jun 14, 12:09 AM
Unknown Object (File)
Thu, Jun 13, 3:03 PM
Unknown Object (File)
Wed, Jun 12, 11:18 PM
Unknown Object (File)
Wed, Jun 12, 9:22 PM
Unknown Object (File)
Wed, Jun 12, 4:48 PM
Unknown Object (File)
Sun, Jun 9, 2:08 PM
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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

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.