feat: increase places for wallets on main view#4963
Conversation
🦋 Changeset detectedLatest commit: 761549e The changes in this PR will be included in the next version bump. This PR includes changesets to release 24 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
10 Skipped Deployments
|
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull Request Overview
This PR increases the number of explorer API wallets displayed on the main view from 2 to 4, while refactoring the display logic to show the appropriate number of connectors. The key change ensures that explorer wallets are now displayed alongside featured, custom, email, and social wallets rather than being hidden when those other wallet types are present.
- Increases maximum displayed explorer API wallets from 2 to 4
- Refactors rendering logic to calculate available wallet slots dynamically
- Updates test cases to verify the new display behavior
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| w3m-connect-recommended-widget/index.ts | Implements the core logic for dynamic wallet display calculation and increases maximum wallets to 4 |
| w3m-connect-recommended-widget.test.ts | Updates test cases to validate new rendering behavior and adds mock for auth connector |
| w3m-connector-list/index.ts | Minor refactoring to extract connector logic into a separate variable |
| silly-insects-carry.md | Adds changeset documentation for the feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Description
Type of change
Associated Issues
Closes APKT-3686
Showcase (Optional)
Checklist