Page MenuHomePhabricator

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

Authored by atul on Feb 9 2023, 11:27 AM.
Tags
None
Referenced Files
F2114894: D6672.id22307.diff
Wed, Jun 26, 6:29 AM
F2113698: D6672.id22307.diff
Wed, Jun 26, 4:10 AM
F2108503: D6672.diff
Tue, Jun 25, 1:00 PM
Unknown Object (File)
Wed, Jun 19, 6:48 AM
Unknown Object (File)
Mon, Jun 17, 6:45 PM
Unknown Object (File)
Mon, Jun 17, 11:20 AM
Unknown Object (File)
Fri, Jun 14, 7:26 PM
Unknown Object (File)
Fri, Jun 14, 9:36 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
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.