Skip to content

feat: AccountSelector #3088

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

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

feat: AccountSelector #3088

wants to merge 10 commits into from

Conversation

GuillaumeRx
Copy link
Contributor

@GuillaumeRx GuillaumeRx commented Feb 12, 2025

This PR adds a new component called AccountSelector.

This component uses the account list of the client to display and select an account. The list can be filtered via the component props.

Progresses: #2810

Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.76%. Comparing base (88142f9) to head (b50849d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3088      +/-   ##
==========================================
+ Coverage   94.73%   94.76%   +0.03%     
==========================================
  Files         518      520       +2     
  Lines       11947    12017      +70     
  Branches     1836     1848      +12     
==========================================
+ Hits        11318    11388      +70     
  Misses        629      629              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

{
name: string(),
hideExternalAccounts: optional(boolean()),
chainIds: optional(array(CaipChainIdStruct)) as unknown as Struct<
Copy link
Member

Choose a reason for hiding this comment

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

Why does this need a type cast?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

@GuillaumeRx GuillaumeRx force-pushed the gr/account-selector branch from 1e12de9 to 2d2003e Compare April 9, 2025 12:23
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