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

[Dashboard] ERC20 Airdrop form #4722

Merged
merged 1 commit into from
Sep 23, 2024
Merged

[Dashboard] ERC20 Airdrop form #4722

merged 1 commit into from
Sep 23, 2024

Conversation

kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Sep 20, 2024

  • add a new airdrop-upload form for ERC20 that doesn't open a second Drawer (shadcn Sheet)
  • removing bunch of react-icons & chakra stuff in the process

PR-Codex overview

The focus of this PR is to refactor the token airdrop functionality in the dashboard UI.

Detailed summary

  • Refactored the token airdrop button and form components
  • Updated UI components and interactions
  • Added ERC20 token airdrop upload feature
  • Improved error handling and user feedback

The following files were skipped due to too many changes: apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-upload-erc20.tsx

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

Copy link

vercel bot commented Sep 20, 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 Sep 23, 2024 8:57am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Sep 23, 2024 8:57am
thirdweb_playground ⬜️ Skipped (Inspect) Sep 23, 2024 8:57am
wallet-ui ⬜️ Skipped (Inspect) Sep 23, 2024 8:57am

Copy link

changeset-bot bot commented Sep 20, 2024

⚠️ No Changeset found

Latest commit: 5293fba

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

graphite-app bot commented Sep 20, 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.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Sep 20, 2024
@kien-ngo kien-ngo changed the title stash <WIP> ERC20 Airdrop form Sep 20, 2024
Copy link
Contributor Author

kien-ngo commented Sep 20, 2024

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

Join @kien-ngo and the rest of your teammates on Graphite Graphite

Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.04%. Comparing base (294ec4d) to head (5293fba).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4722   +/-   ##
=======================================
  Coverage   49.04%   49.04%           
=======================================
  Files        1055     1055           
  Lines       56888    56888           
  Branches     3891     3891           
=======================================
  Hits        27903    27903           
  Misses      28352    28352           
  Partials      633      633           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 294ec4d
packages 45.11% <ø> (ø)

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

Copy link
Contributor

github-actions bot commented Sep 20, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.89 KB (0%) 838 ms (0%) 820 ms (+79.57% 🔺) 1.7 s
thirdweb (cjs) 101.38 KB (0%) 2.1 s (0%) 1.4 s (+44.46% 🔺) 3.4 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 151 ms (+126.87% 🔺) 247 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 134 ms (+933.08% 🔺) 144 ms
thirdweb/react (minimal + tree-shaking) 16.73 KB (0%) 335 ms (0%) 157 ms (+87.05% 🔺) 492 ms

@vercel vercel bot temporarily deployed to Preview – docs-v2 September 23, 2024 07:35 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 23, 2024 07:35 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 23, 2024 08:05 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 23, 2024 08:05 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 23, 2024 08:05 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 23, 2024 08:12 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 23, 2024 08:12 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 23, 2024 08:12 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 23, 2024 08:42 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 23, 2024 08:42 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 23, 2024 08:42 Inactive
Copy link

graphite-app bot commented Sep 23, 2024

Merge activity

- add a new airdrop-upload form for ERC20 that doesn't open a second Drawer (shadcn Sheet)
- removing bunch of react-icons & chakra stuff in the process

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the Token Airdrop feature in the dashboard UI, improving user experience and code organization.

### Detailed summary
- Refactored Token Airdrop UI using `Sheet` component
- Improved error handling and notifications
- Updated Airdrop form layout and functionality

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-upload-erc20.tsx`

> ✨ 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 September 23, 2024 08:53 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 23, 2024 08:53 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 23, 2024 08:53 Inactive
@graphite-app graphite-app bot merged commit 5293fba into main Sep 23, 2024
30 checks passed
@graphite-app graphite-app bot deleted the kien/erc20-airdrop-form branch September 23, 2024 08:57
@vercel vercel bot temporarily deployed to Production – docs-v2 September 23, 2024 08:58 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui September 23, 2024 08:58 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 23, 2024 08:58 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