Page MenuHomePhabricator

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

Authored by atul on Feb 9 2023, 11:27 AM.
Tags
None
Referenced Files
F3246886: D6672.id22312.diff
Fri, Nov 15, 2:18 AM
Unknown Object (File)
Tue, Oct 29, 3:36 PM
Unknown Object (File)
Tue, Oct 22, 12:30 PM
Unknown Object (File)
Tue, Oct 22, 12:30 PM
Unknown Object (File)
Tue, Oct 22, 12:30 PM
Unknown Object (File)
Tue, Oct 22, 12:30 PM
Unknown Object (File)
Tue, Oct 22, 3:19 AM
Unknown Object (File)
Tue, Oct 22, 3:19 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.