feat(wallet-ui): initial app
- Created a new
.env.examplefile specifying theNEXT_PUBLIC_ROOT_DOMAINvariable. - Updated
.gitignoreto include.env*.localinstead of.env*. - Modified the
Layoutcomponent in[ecosystem]/layout.tsxto acceptchildrenandparamsproperties and display the ecosystem and children elements. - Updated the
Pagecomponent in[ecosystem]/page.tsxto return a simpledivwith the textPage. - Added a new
middleware.tsfile to handle dynamic routing based on the request host, matching all paths except for specific routes (e.g.,/api,/_next,/_static). Rewrites the URL to point to either the root application or the appropriate ecosystem dynamic route.
PR-Codex overview
This PR adds Thirdweb integration, tailwind config updates, UI components, and ecosystem API calls.
Detailed summary
- Added Thirdweb integration for client and components
- Updated tailwind config for dark mode and animations
- Introduced UI components like Skeleton, Card, Toaster, Label, Input
- Implemented ecosystem API calls for info retrieval
The following files were skipped due to too many changes:
apps/wallet-ui/package.json,apps/wallet-ui/src/components/ui/badge.tsx,apps/wallet-ui/src/app/[ecosystem]/(ui)/layout.tsx,apps/wallet-ui/src/middleware.ts,apps/wallet-ui/src/components/ui/popover.tsx,apps/wallet-ui/src/app/[ecosystem]/(ui)/wallet/[address]/layout.tsx,apps/wallet-ui/src/lib/assets/erc20.ts,apps/wallet-ui/src/components/ui/button.tsx,apps/wallet-ui/src/components/NftGallery.tsx,apps/wallet-ui/src/components/NftCard.tsx,apps/wallet-ui/src/lib/assets/erc721.ts,apps/wallet-ui/src/util/simplehash.ts,apps/wallet-ui/src/components/ChainCombobox.tsx,apps/wallet-ui/src/components/TransactionToastProvider.tsx,apps/wallet-ui/src/components/ui/use-toast.ts,apps/wallet-ui/src/app/globals.css,apps/wallet-ui/src/components/ui/dialog.tsx,apps/wallet-ui/src/components/ChainIcon.tsx,apps/wallet-ui/src/components/ui/form.tsx,apps/wallet-ui/src/components/NftModal.tsx,apps/wallet-ui/src/components/ui/toast.tsx,apps/wallet-ui/src/components/ui/command.tsx,pnpm-lock.yaml
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| docs-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 17, 2024 8:31am |
| thirdweb_playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 17, 2024 8:31am |
| thirdweb-www | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 17, 2024 8:31am |
| wallet-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 17, 2024 8:31am |
⚠️ No Changeset found
Latest commit: 2e99057f90ebed481152ba0036a103b9d38fb73b
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
Your org requires 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.
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @gregfromstl and the rest of your teammates on
Graphite
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 59.11%. Comparing base (
13764f1) to head (2e99057). Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #3478 +/- ##
==========================================
- Coverage 59.12% 59.11% -0.02%
==========================================
Files 958 958
Lines 76513 76513
Branches 3468 3468
==========================================
- Hits 45241 45233 -8
- Misses 30599 30606 +7
- Partials 673 674 +1
| Flag | Coverage Δ | *Carryforward flag | |
|---|---|---|---|
| legacy_packages | 65.68% <ø> (ø) |
Carriedforward from 13764f1 | |
| packages | 58.02% <ø> (-0.02%) |
:arrow_down: |
*This pull request uses carry forward flags. Click here to find out more.
CodSpeed Performance Report
Merging #3478 will not alter performance
Comparing 06-24-feat_wallet-ui_setup_middleware_redirects (c4eb27a) with main (77b852a)
Summary
✅ 9 untouched benchmarks
size-limit report 📦
| Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
|---|---|---|---|---|
| thirdweb (esm) | 43.06 KB (0%) | 862 ms (0%) | 2.5 s (-29.4% 🔽) | 3.4 s |
| thirdweb (cjs) | 92.24 KB (0%) | 1.9 s (0%) | 9.1 s (+33.81% 🔺) | 10.9 s |
| thirdweb (minimal + tree-shaking) | 4.81 KB (0%) | 97 ms (0%) | 221 ms (+0.41% 🔺) | 318 ms |
| thirdweb/chains (tree-shaking) | 492 B (0%) | 10 ms (0%) | 52 ms (-52.09% 🔽) | 62 ms |
| thirdweb/react (minimal + tree-shaking) | 13.96 KB (0%) | 280 ms (0%) | 370 ms (-14.91% 🔽) | 650 ms |
New dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@radix-ui/[email protected] | None | +13 |
419 kB | vladmoroz |
| npm/@tanstack/[email protected] | environment | +1 |
3.12 MB | tannerlinsley |
| npm/[email protected] | Transitive: environment | +28 |
992 kB | paco |
Merge activity
- Aug 17, 4:04 AM EDT: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
-
Aug 17, 4:04 AM EDT:
gregfromstladded this pull request to the Graphite merge queue. -
Aug 17, 4:31 AM EDT:
gregfromstlmerged this pull request with the Graphite merge queue.