An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: handle registration screen and HTTP resolution polling (MM-148) #3

open opened by malpercio.dev targeting main from malpercio/mm-148-mobile-handle-selection

Summary#

  • Adds register_handle Rust IPC command: fetches relay domain from describeServer, reads DID + session token from Keychain, POSTs to POST /v1/handles
  • Adds check_handle_resolution Rust IPC command: polls resolveHandle endpoint, never rejects (safe for setInterval)
  • Adds HandleRegistrationScreen.svelte: auto-runs on mount, shows polling progress after registration, 2-minute timeout with graceful proceed
  • Wires handle_registration step into the onboarding state machine between shamir_backup and complete

Test plan#

  • Complete onboarding through Shamir backup; confirm handle_registration step appears next
  • Verify handle badge shows alice.your-domain.com during polling phase
  • With relay running: confirm registration succeeds and onsuccess fires on resolution
  • With relay returning 409 HANDLE_TAKEN: confirm error message and retry button appear
  • With DNS propagation slow: confirm ontimeout fires after 2 minutes and onboarding continues
  • Rust serialization tests: cargo test -p identity-wallet register_handle (8 tests pass)
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:web:malpercio.dev/sh.tangled.repo.pull/3mi2xjgw4c422
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
malpercio.dev submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments