Page MenuHomePhabricator

[web] Conditionally display `ConnectButton` once `nonce` received from `keyserver`
AbandonedPublicDraft

Authored by atul on Jan 12 2023, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2024, 2:54 AM
Unknown Object (File)
Nov 12 2024, 1:23 AM
Unknown Object (File)
Nov 9 2024, 4:23 PM
Unknown Object (File)
Nov 9 2024, 4:22 PM
Unknown Object (File)
Nov 9 2024, 4:03 PM
Unknown Object (File)
Nov 9 2024, 3:48 PM
Unknown Object (File)
Nov 9 2024, 6:32 AM
Unknown Object (File)
Nov 8 2024, 10:03 AM
Subscribers

Details

Reviewers
ashoat
tomek
Summary

We'll request a nonce from the keyserver siwe_nonce endpoint once a wallet has been successfully connected.

We display an ActivityIndicator while we wait for the request to complete. If the request was successful, we'll display the ConnectButton. If not, the ActivityIndicator component will show an ! to indicate error. Error message + handling will be improved later in the stack.


Depends on D6221

Test Plan

Here's what it looks like:

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul created this revision.

rebase before addressing feedback

atul added a subscriber: jon.

was running into weird git issues (I think from patching in @jon's direnv changes and then going back to my .envrc without resetting everything?) wrt gpg signing or whatever... didn't intend to put this up