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

Move /connect/in-app-wallets to app router #4894

Merged

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Oct 2, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR introduces a new in-app-wallets feature to the dashboard, including support for API keys, a layout for the wallet interface, and a header component. It also refines navigation and user experience for managing in-app wallets.

Detailed summary

  • Added getInAppWalletSupportedAPIKeys function to fetch API keys.
  • Created Layout component for the wallet interface.
  • Implemented InAppWalletsAPIKeysMenu for API key selection.
  • Developed PageHeader component for in-app wallets page.
  • Updated Page to handle authentication and API key redirects.
  • Enhanced EmbeddedWallets component to use a default tab.
  • Adjusted routing and redirection logic for user navigation.

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

Copy link

changeset-bot bot commented Oct 2, 2024

⚠️ No Changeset found

Latest commit: b82011e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Oct 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 8:59pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 3, 2024 8:59pm
thirdweb_playground ⬜️ Skipped (Inspect) Oct 3, 2024 8:59pm
wallet-ui ⬜️ Skipped (Inspect) Oct 3, 2024 8:59pm

@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 19:02 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 19:02 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 19:02 Inactive
@MananTank MananTank marked this pull request as ready for review October 2, 2024 19:02
@MananTank MananTank requested a review from jnsdls as a code owner October 2, 2024 19:02
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 2, 2024
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.61%. Comparing base (a7e285a) to head (b82011e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4894   +/-   ##
=======================================
  Coverage   47.61%   47.61%           
=======================================
  Files        1057     1057           
  Lines       57221    57221           
  Branches     3924     3924           
=======================================
  Hits        27246    27246           
  Misses      29286    29286           
  Partials      689      689           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from a7e285a
packages 43.37% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Copy link
Contributor

github-actions bot commented Oct 2, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.95 KB (0%) 840 ms (0%) 270 ms (+124.89% 🔺) 1.2 s
thirdweb (cjs) 101.63 KB (0%) 2.1 s (0%) 366 ms (+69.16% 🔺) 2.4 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 68 ms (+757.31% 🔺) 164 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 60 ms (+2359.51% 🔺) 70 ms
thirdweb/react (minimal + tree-shaking) 17.23 KB (0%) 345 ms (0%) 161 ms (+613.41% 🔺) 506 ms

Copy link

graphite-app bot commented Oct 2, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

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

@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from f95fa52 to f20b046 Compare October 2, 2024 19:11
@MananTank MananTank force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from d2d37d1 to d898e86 Compare October 2, 2024 19:11
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 19:12 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 19:12 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 19:12 Inactive
@MananTank MananTank force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from d898e86 to 9f2b083 Compare October 2, 2024 19:12
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 19:12 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 19:12 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 19:12 Inactive
@jnsdls jnsdls force-pushed the 10-03-move__connect_analytics_to_app_router branch 2 times, most recently from 9382059 to 22ee12e Compare October 2, 2024 20:01
@jnsdls jnsdls force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from 9f2b083 to ff5b14a Compare October 2, 2024 20:01
@MananTank MananTank force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from 6e09ef9 to 7b11876 Compare October 3, 2024 20:25
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 20:25 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 20:25 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 20:25 Inactive
@MananTank MananTank changed the base branch from graphite-base/4894 to main October 3, 2024 20:28
@MananTank MananTank force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from 7b11876 to 23cd49d Compare October 3, 2024 20:29
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 20:29 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 20:29 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 20:29 Inactive
@MananTank MananTank force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from 23cd49d to d8ff07e Compare October 3, 2024 20:30
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 20:31 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 20:31 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 20:31 Inactive
Copy link

graphite-app bot commented Oct 3, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `in-app-wallets` feature by adding new components and functionalities, including API key management and layout improvements.

### Detailed summary
- Added `getInAppWalletSupportedAPIKeys` function to fetch and filter API keys.
- Created `Layout` component with footer sections.
- Implemented `InAppWalletsAPIKeysMenu` for API key selection.
- Added `PageHeader` with description and link.
- Enhanced `Page` component to handle redirects and display API keys.
- Updated `EmbeddedWallets` component to use `defaultTab` prop instead of search params.

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

<!-- end pr-codex -->
@jnsdls jnsdls force-pushed the 10-03-move__connect_in-app-wallets_to_app_router branch from d8ff07e to b82011e Compare October 3, 2024 20:49
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 20:49 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 20:49 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 20:49 Inactive
@graphite-app graphite-app bot merged commit b82011e into main Oct 3, 2024
31 checks passed
@graphite-app graphite-app bot deleted the 10-03-move__connect_in-app-wallets_to_app_router branch October 3, 2024 20:59
@vercel vercel bot temporarily deployed to Production – wallet-ui October 3, 2024 20:59 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 3, 2024 20:59 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 October 3, 2024 20:59 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants