Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Apr 14, 2025


PR-Codex overview

This PR focuses on the removal of redundant files and components, updates to UI elements, and the introduction of new constants and code examples for minting and airdropping tokens. It also improves the styling and structure of various components to enhance the user experience.

Detailed summary

  • Deleted multiple unused image files and components.
  • Updated postcss.config.mjs to postcss.config.js.
  • Modified UI class names for better styling consistency.
  • Added mintExample and claimExample constants for token minting and claiming.
  • Introduced new code examples for minting NFTs and airdrop transactions.
  • Updated layout components to use PageLayout for better structure.
  • Enhanced error handling and user feedback in various components.

The following files were skipped due to too many changes: apps/playground-web/src/app/engine/airdrop/_components/airdrop-code.tsx, apps/playground-web/src/app/connect/pay/commerce/page.tsx, apps/playground-web/src/components/code/code-example.tsx, apps/playground-web/src/app/connect/in-app-wallet/ecosystem/page.tsx, apps/playground-web/src/components/blocks/APIHeader.tsx, apps/playground-web/src/app/connect/account-abstraction/connect/page.tsx, apps/playground-web/src/app/connect/pay/fund-wallet/page.tsx, apps/playground-web/src/app/connect/account-abstraction/sponsor/page.tsx, apps/playground-web/src/components/blocks/NetworkSelectors.tsx, apps/playground-web/src/app/connect/ui/page.tsx, apps/playground-web/src/app/connect/in-app-wallet/sponsor/page.tsx, apps/playground-web/src/components/in-app-wallet/custom-login-form.tsx, apps/playground-web/src/app/connect/pay/transactions/page.tsx, apps/playground-web/src/app/connect/in-app-wallet/page.tsx, apps/playground-web/src/components/in-app-wallet/profile-sections.tsx, apps/playground-web/src/app/connect/account-abstraction/native-aa/page.tsx, apps/playground-web/src/app/engine/airdrop/_components/airdrop-preview.tsx, apps/playground-web/src/components/headless-ui/token-examples.tsx, apps/playground-web/src/components/headless-ui/nft-examples.tsx, apps/playground-web/src/app/connect/sign-in/headless/page.tsx, apps/playground-web/src/app/connect/auth/page.tsx, apps/playground-web/src/app/globals.css, apps/playground-web/src/app/engine/webhooks/_components/webhooks-preview.tsx, apps/playground-web/src/app/connect/pay/embed/LeftSection.tsx, apps/playground-web/src/app/engine/airdrop/_components/airdrop-card.tsx, apps/playground-web/src/app/connect/blockchain-api/page.tsx, apps/playground-web/src/app/engine/minting/_components/mint-preview.tsx, apps/playground-web/src/components/headless-ui/account-examples.tsx, pnpm-lock.yaml

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

@vercel
Copy link

vercel bot commented Apr 14, 2025

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

Name Status Preview Comments Updated (UTC)
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2025 7:56pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2025 7:56pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Apr 14, 2025 7:56pm
thirdweb-www ⬜️ Skipped (Inspect) Apr 14, 2025 7:56pm
wallet-ui ⬜️ Skipped (Inspect) Apr 14, 2025 7:56pm

@linear
Copy link

linear bot commented Apr 14, 2025

@vercel vercel bot temporarily deployed to Preview – docs-v2 April 14, 2025 17:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 14, 2025 17:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www April 14, 2025 17:33 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Apr 14, 2025

⚠️ No Changeset found

Latest commit: bb29e1f

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

@MananTank MananTank marked this pull request as ready for review April 14, 2025 17:33
@MananTank MananTank requested review from a team as code owners April 14, 2025 17:33
@github-actions github-actions bot added the Playground Changes involving the Playground codebase. label Apr 14, 2025
Copy link
Member Author

MananTank commented Apr 14, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codecov
Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.93%. Comparing base (7682298) to head (bb29e1f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6720   +/-   ##
=======================================
  Coverage   54.93%   54.93%           
=======================================
  Files         890      890           
  Lines       56002    56002           
  Branches     3820     3820           
=======================================
  Hits        30762    30762           
  Misses      25145    25145           
  Partials       95       95           
Flag Coverage Δ
packages 54.93% <ø> (ø)
🚀 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.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 14, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 47.67 KB (0%) 954 ms (0%) 169 ms (+175.35% 🔺) 1.2 s
thirdweb (cjs) 130.06 KB (0%) 2.7 s (0%) 232 ms (+38.64% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 5.62 KB (0%) 113 ms (0%) 87 ms (+1836.23% 🔺) 199 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 62 ms (+2082.08% 🔺) 72 ms
thirdweb/react (minimal + tree-shaking) 19.36 KB (0%) 388 ms (0%) 78 ms (+490.45% 🔺) 466 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 14, 2025

Merge activity

…ounds, updated theme (#6720)

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on removing unused assets and files, updating configurations, and enhancing UI components across the `playground-web` application. It also adds new constants and improves code structure for better maintainability.

### Detailed summary
- Deleted numerous unused image files and TypeScript files.
- Updated `postcss.config.js` and added Tailwind CSS configurations.
- Enhanced UI components with consistent styling changes.
- Introduced new constants for `mintExample` and `claimExample`.
- Improved API handling in the `engine` actions.
- Refactored several components to use `PageLayout` for better structure.
- Added code examples for minting and airdrop functionalities.

> The following files were skipped due to too many changes: `apps/playground-web/src/app/engine/airdrop/_components/airdrop-code.tsx`, `apps/playground-web/src/app/connect/pay/commerce/page.tsx`, `apps/playground-web/src/components/code/code-example.tsx`, `apps/playground-web/src/app/connect/in-app-wallet/ecosystem/page.tsx`, `apps/playground-web/src/components/blocks/APIHeader.tsx`, `apps/playground-web/src/app/connect/account-abstraction/connect/page.tsx`, `apps/playground-web/src/app/connect/pay/fund-wallet/page.tsx`, `apps/playground-web/src/app/connect/account-abstraction/sponsor/page.tsx`, `apps/playground-web/src/components/blocks/NetworkSelectors.tsx`, `apps/playground-web/src/app/connect/ui/page.tsx`, `apps/playground-web/src/app/connect/in-app-wallet/sponsor/page.tsx`, `apps/playground-web/src/components/in-app-wallet/custom-login-form.tsx`, `apps/playground-web/src/app/connect/pay/transactions/page.tsx`, `apps/playground-web/src/app/connect/in-app-wallet/page.tsx`, `apps/playground-web/src/components/in-app-wallet/profile-sections.tsx`, `apps/playground-web/src/app/connect/account-abstraction/native-aa/page.tsx`, `apps/playground-web/src/app/engine/airdrop/_components/airdrop-preview.tsx`, `apps/playground-web/src/components/headless-ui/token-examples.tsx`, `apps/playground-web/src/components/headless-ui/nft-examples.tsx`, `apps/playground-web/src/app/connect/sign-in/headless/page.tsx`, `apps/playground-web/src/app/connect/auth/page.tsx`, `apps/playground-web/src/app/globals.css`, `apps/playground-web/src/app/engine/webhooks/_components/webhooks-preview.tsx`, `apps/playground-web/src/app/connect/pay/embed/LeftSection.tsx`, `apps/playground-web/src/app/engine/airdrop/_components/airdrop-card.tsx`, `apps/playground-web/src/app/connect/blockchain-api/page.tsx`, `apps/playground-web/src/app/engine/minting/_components/mint-preview.tsx`, `apps/playground-web/src/components/headless-ui/account-examples.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 14, 2025 19:54 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www April 14, 2025 19:54 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 14, 2025 19:54 Inactive
@graphite-app graphite-app bot merged commit bb29e1f into main Apr 14, 2025
31 checks passed
@graphite-app graphite-app bot deleted the tool-4033 branch April 14, 2025 19:58
@vercel vercel bot temporarily deployed to Production – docs-v2 April 14, 2025 19:59 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui April 14, 2025 19:59 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www April 14, 2025 19:59 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Playground Changes involving the Playground codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants