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: 7702 FE #1245

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

feat: 7702 FE #1245

wants to merge 10 commits into from

Conversation

RobChangCA
Copy link
Collaborator

@RobChangCA RobChangCA commented Dec 19, 2024

Pull Request Checklist


PR-Codex overview

This PR introduces a new WalletTypes enum and refactors various components to support wallet type selection. It enhances the user interface by adding a WalletTypeSwitch and modifies components to conditionally render content based on the selected wallet type.

Detailed summary

  • Added WalletTypes enum with values smart and hybrid7702.
  • Updated DEFAULT_CONFIG to set walletType to WalletTypes.smart.
  • Refactored LoadingIcon to accept className prop.
  • Created Button component with children and className props.
  • Integrated Configuration component to switch wallet types.
  • Modified AuthCardWrapper to render different components based on walletType.
  • Introduced Wrapper7702 for handling transactions specific to hybrid7702.
  • Updated UserConnectionDetails to display wallet type and status.
  • Added MintStages and Transactions components for better transaction handling.
  • Implemented loading states and transaction management in useMint and useTransactions hooks.

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

Copy link

vercel bot commented Dec 19, 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 Dec 20, 2024 7:29pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 20, 2024 7:29pm

@RobChangCA RobChangCA changed the title Rob/7702 feat: 7702 FE Dec 19, 2024
Copy link

graphite-app bot commented Dec 19, 2024

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.

console.log({ initialState });
// initial state is mutated
setIsLoading(true);
setTransactions([
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

was mutating so resetting with hardcoded value, didnt think it was worth doing a deep clone.

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