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: ui demo user card reflects 7702 delegation status #1294

Merged
merged 7 commits into from
Jan 28, 2025

Conversation

linnall
Copy link
Collaborator

@linnall linnall commented Jan 24, 2025

Pull Request Checklist


PR-Codex overview

This PR enhances the UserConnectionDetails component and its usage in the RenderUserConnectionAvatar component by adding delegation address handling and integrating new functionality for hybrid accounts.

Detailed summary

  • Added delegationAddress prop to UserConnectionDetails and RenderUserConnectionAvatar.
  • Integrated ODYSSEY_EXPLORER_URL for linking to delegation addresses.
  • Updated deployment status logic to handle hybrid accounts.
  • Refactored query logic to fetch delegation address and status.
  • Modified RenderPopoverMenu and RenderDialogMenu to pass delegationAddress to UserConnectionDetails.

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

Copy link

graphite-app bot commented Jan 24, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

Copy link

vercel bot commented Jan 24, 2025

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 Jan 28, 2025 10:27pm
aa-sdk-ui-demo ❌ Failed (Inspect) Jan 28, 2025 10:27pm

Copy link
Collaborator

@adamegyed adamegyed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, had a few comments. Approving to unblock!

@linnall linnall merged commit f37bde0 into adam/7702-ui-demo Jan 28, 2025
5 of 7 checks passed
@linnall linnall deleted the linna/7702-user-card branch January 28, 2025 22:18
adamegyed pushed a commit that referenced this pull request Jan 29, 2025
* feat: have user avatar reflect if account has been delegated

* feat: reflects delegation status in user details card

* fix: forces delegation status query to refetch until available

* chore: updates comment

* refactor: uses viem public client and refetches delegation addr when nftTransferred status changes

* refactor: uses defined url constant

* chore: removes unnecessary check
adamegyed added a commit that referenced this pull request Jan 30, 2025
feat: update 7702 mint flow to actually use 7702

feat: partial recurring transfer support

feat: ui progress

feat: react state management

feat: add permission hooks to session key

fix: add templates to demo build

fix: declare env var in turbo

feat: ui demo user card reflects 7702 delegation status (#1294)

* feat: have user avatar reflect if account has been delegated

* feat: reflects delegation status in user details card

* fix: forces delegation status query to refetch until available

* chore: updates comment

* refactor: uses viem public client and refetches delegation addr when nftTransferred status changes

* refactor: uses defined url constant

* chore: removes unnecessary check

fix: coalesce undefined code result

fix: forces delegation query to refetch until available

feat: updated 7702 info blurb

chore: cleanup
RobChangCA pushed a commit that referenced this pull request Jan 30, 2025
feat: update 7702 mint flow to actually use 7702

feat: partial recurring transfer support

feat: ui progress

feat: react state management

feat: add permission hooks to session key

fix: add templates to demo build

fix: declare env var in turbo

feat: ui demo user card reflects 7702 delegation status (#1294)

* feat: have user avatar reflect if account has been delegated

* feat: reflects delegation status in user details card

* fix: forces delegation status query to refetch until available

* chore: updates comment

* refactor: uses viem public client and refetches delegation addr when nftTransferred status changes

* refactor: uses defined url constant

* chore: removes unnecessary check

fix: coalesce undefined code result

fix: forces delegation query to refetch until available

feat: updated 7702 info blurb

chore: cleanup
adamegyed added a commit that referenced this pull request Feb 6, 2025
feat: update 7702 mint flow to actually use 7702

feat: partial recurring transfer support

feat: ui progress

feat: react state management

feat: add permission hooks to session key

fix: add templates to demo build

fix: declare env var in turbo

feat: ui demo user card reflects 7702 delegation status (#1294)

* feat: have user avatar reflect if account has been delegated

* feat: reflects delegation status in user details card

* fix: forces delegation status query to refetch until available

* chore: updates comment

* refactor: uses viem public client and refetches delegation addr when nftTransferred status changes

* refactor: uses defined url constant

* chore: removes unnecessary check

fix: coalesce undefined code result

fix: forces delegation query to refetch until available

feat: updated 7702 info blurb

chore: cleanup
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