Skip to content

feat: increase places for wallets on main view#4963

Merged
tomiir merged 5 commits intomainfrom
tomas/apkt-3686-increase-places-for-wallets-on-main-view
Sep 5, 2025
Merged

feat: increase places for wallets on main view#4963
tomiir merged 5 commits intomainfrom
tomas/apkt-3686-increase-places-for-wallets-on-main-view

Conversation

@tomiir
Copy link
Copy Markdown
Collaborator

@tomiir tomiir commented Sep 5, 2025

Description

  • Increases places to be filled by explorer api wallets in main view to 4 places
  • Refactors display logic to show appropiate number of connectors
  • Makes connectors available even if featured or custom wallets are present, respecting the correct total amount (5 total including WC, Email, Social, Custom, Featured)

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

Closes APKT-3686

Showcase (Optional)

image image

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copilot AI review requested due to automatic review settings September 5, 2025 10:00
@linear
Copy link
Copy Markdown

linear bot commented Sep 5, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Sep 5, 2025

🦋 Changeset detected

Latest commit: 761549e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@reown/appkit-scaffold-ui Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-wagmi Patch
@reown/appkit Patch
@reown/appkit-cdn Patch
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-universal-connector Patch
@reown/appkit-experimental Patch
@reown/appkit-testing Patch
@reown/appkit-common Patch
@reown/appkit-ui Patch
@reown/appkit-controllers Patch
@reown/appkit-core Patch
@reown/appkit-utils Patch
@reown/appkit-polyfills Patch
@reown/appkit-wallet Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-wallet-button Patch
@reown/appkit-cli Patch
@reown/appkit-pay Patch
@reown/appkit-codemod Patch

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

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
appkit-basic-html Ready Ready Preview Comment Sep 5, 2025 10:13am
appkit-demo Ready Ready Preview Comment Sep 5, 2025 10:13am
appkit-gallery Ready Ready Preview Comment Sep 5, 2025 10:13am
appkit-laboratory Ready Ready Preview Comment Sep 5, 2025 10:13am
10 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
appkit-basic-example Ignored Ignored Sep 5, 2025 10:13am
appkit-basic-sign-client-example Ignored Ignored Sep 5, 2025 10:13am
appkit-basic-up-example Ignored Ignored Sep 5, 2025 10:13am
appkit-ethers5-bera Ignored Ignored Sep 5, 2025 10:13am
appkit-nansen-demo Ignored Ignored Sep 5, 2025 10:13am
appkit-vue-solana Ignored Ignored Sep 5, 2025 10:13am
appkit-wagmi-cdn-example Ignored Ignored Sep 5, 2025 10:13am
ethereum-provider-wagmi-example Ignored Ignored Sep 5, 2025 10:13am
next-wagmi-solana-bitcoin-example Ignored Ignored Sep 5, 2025 10:13am
vue-wagmi-example Ignored Ignored Sep 5, 2025 10:13am

cursor[bot]

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings September 5, 2025 10:06
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 5, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.33% 34897 / 44547
🔵 Statements 78.33% 34897 / 44547
🔵 Functions 76.1% 3842 / 5048
🔵 Branches 86.61% 8241 / 9514
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/scaffold-ui/src/partials/w3m-connect-recommended-widget/index.ts 85.55% 81.39% 75% 85.55% 40-44, 68, 85-88, 120, 123, 129-130
packages/scaffold-ui/src/partials/w3m-connector-list/index.ts 89.36% 100% 60% 89.36% 47-48, 54, 101, 106, 111, 117, 122, 127, 133
Generated in workflow #14864 for commit 761549e by the Vitest Coverage Report Action

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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>
Merged via the queue into main with commit 15f9cd2 Sep 5, 2025
41 checks passed
@tomiir tomiir deleted the tomas/apkt-3686-increase-places-for-wallets-on-main-view branch September 5, 2025 10:42
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.

4 participants