Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add user connection status avatar and dropdown #977

Draft
wants to merge 11 commits into
base: lazer-passkey
Choose a base branch
from

Conversation

iykazrji
Copy link
Collaborator

@iykazrji iykazrji commented Sep 20, 2024

Pull Request Checklist

Test Plan.

  • Log into the Demo App via any of the authentication methods available.
  • On successful Login, you should see the User Status Avatar available.
  • Toggling this avatar should show a popover with links to the wallet address, signer account as well as a button to logout

PR-Codex overview

This PR focuses on updating the VERSION of the package, enhancing various components for user connection and authentication, and adding new icons and utilities for better UI interactions.

Detailed summary

  • Updated VERSION from "4.0.0-beta.5" to "4.0.0-beta.6".
  • Modified useEffect dependencies in state.tsx.
  • Added UserConnectionAvatarWithPopover component.
  • Introduced AuthstepType for authentication steps.
  • Implemented PasskeyAdded logic with timeout.
  • Enhanced MintDemoWrapper to include user avatar.
  • Added truncateAddress utility for Ethereum addresses.
  • Updated AuthCardWrapper to conditionally render based on authentication stage.
  • Added new SVG components: ChevronDown, ExternalLinkIcon, LogoutIcon, and CheckIcon.
  • Created useDebounceEffect hook for debouncing effects.
  • Introduced DeploymentStatusIndicator for connection status visualization.
  • Updated various components to utilize new features and improve UI consistency.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Sep 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 11:09pm
aa-sdk-ui-demo ❌ Failed (Inspect) Sep 23, 2024 11:09pm

@iykazrji iykazrji changed the title Lazer/user connection avatar feat: add user connection status avatar and dropdown Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants