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)
Tue, Apr 30, 5:46 AM
Unknown Object (File)
Sun, Apr 21, 8:33 PM
Unknown Object (File)
Sun, Apr 7, 11:46 AM
Unknown Object (File)
Apr 4 2024, 11:36 PM
Unknown Object (File)
Apr 4 2024, 11:36 PM
Unknown Object (File)
Apr 4 2024, 11:36 PM
Unknown Object (File)
Apr 4 2024, 11:36 PM
Unknown Object (File)
Apr 4 2024, 11:36 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
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.