Skip to content

Conversation

@kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Oct 2, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on replacing icon imports from react-icons with icons from lucide-react across various components in the dashboard application, enhancing consistency and potentially improving performance.

Detailed summary

  • Replaced FiCopy with CopyIcon in AddressCopyButton.
  • Replaced ArrowDown with ArrowDown and added WalletIcon in TransactionSimulator.
  • Replaced FiMoon and FiSun with MoonIcon and SunIcon in ColorModeToggle.
  • Replaced FiTrash with Trash2Icon in SettingsMetadata.
  • Added PlusIcon in permissions-editor.
  • Replaced BsFillLightningChargeFill with ZapIcon in ContactUs and Contracts.
  • Replaced IoChevronBack with ChevronFirstIcon in ContractPublishForm.
  • Added ChevronLeftIcon, ChevronRightIcon, and ChevronLastIcon in BatchTable.
  • Replaced pagination icons in AirdropTable with Chevron*Icon.
  • Replaced FiExternalLink with MoveUpRightIcon in Pricing.
  • Replaced various react-icons with lucide-react icons in MarketplaceTable.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 2, 2024

⚠️ No Changeset found

Latest commit: d1d3fdc

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

@graphite-app
Copy link
Contributor

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.

@kien-ngo kien-ngo marked this pull request as ready for review October 2, 2024 10:53
@vercel
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 0:39am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 3, 2024 0:39am
thirdweb_playground ⬜️ Skipped (Inspect) Oct 3, 2024 0:39am
wallet-ui ⬜️ Skipped (Inspect) Oct 3, 2024 0:39am

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 10:53 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 10:53 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 2, 2024
Copy link
Contributor Author

kien-ngo commented Oct 2, 2024

@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 10:53 Inactive
@codecov
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 (a453d96) to head (d1d3fdc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4885   +/-   ##
=======================================
  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 a453d96
packages 43.37% <ø> (ø)

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

@github-actions
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%) 384 ms (+33.09% 🔺) 1.3 s
thirdweb (cjs) 101.63 KB (0%) 2.1 s (0%) 806 ms (+12.41% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 68 ms (+190.21% 🔺) 164 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 52 ms (+516.02% 🔺) 62 ms
thirdweb/react (minimal + tree-shaking) 17.23 KB (0%) 345 ms (0%) 186 ms (+322.94% 🔺) 530 ms

Copy link
Member

@MananTank MananTank left a comment

Choose a reason for hiding this comment

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

address comments

@kien-ngo kien-ngo force-pushed the kien/remove-react-icons-2 branch from b7a8da6 to df8d4ef Compare October 2, 2024 14:29
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 14:29 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 14:29 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 14:29 Inactive
@kien-ngo kien-ngo force-pushed the kien/remove-react-icons-2 branch from df8d4ef to c20f14e Compare October 2, 2024 14:49
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 14:49 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 14:49 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 14:49 Inactive
@kien-ngo kien-ngo requested a review from MananTank October 2, 2024 14:58
@graphite-app
Copy link
Contributor

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 primarily focuses on replacing icon imports from `react-icons` with corresponding icons from `lucide-react` across multiple components, enhancing consistency and potentially reducing bundle size.

### Detailed summary
- Replaced `FiCopy` with `CopyIcon` in `AddressCopyButton`.
- Replaced `MdOutlineAccountBalanceWallet` with `WalletIcon` in `TransactionSimulator`.
- Replaced `FiMoon` and `FiSun` with `MoonIcon` and `SunIcon` in `ColorModeToggle`.
- Replaced `FiTrash` with `Trash2Icon` in `SettingsMetadata`.
- Added `PlusIcon` and `Trash2Icon` in `metadata.tsx`.
- Replaced `FiPlus` with `PlusIcon` in `permissions-editor.tsx`.
- Replaced `BsFillLightningChargeFill` with `ZapIcon` in `contact-us.tsx`.
- Replaced `BsFillLightningChargeFill` with `ZapIcon` in `contracts.tsx`.
- Replaced `IoChevronBack` with `ChevronFirstIcon` in `ContractPublishForm`.
- Replaced `IoChevronBack` with `ChevronLeftIcon` in `BatchLazyMint`.
- Replaced various `Md` icons with `Chevron` icons in `BatchTable`.
- Replaced `Chevron` icons in `airdrop-upload-erc20.tsx`.
- Replaced `FiExternalLink` with `MoveUpRightIcon` in `pricing.tsx`.
- Replaced `IoIosInformationCircleOutline` with `InfoIcon` in `pricing.tsx`.
- Replaced `IoCheckmarkCircle` with `CircleCheckIcon` in `pricing.tsx`.
- Replaced `AiOutlineDollarCircle` with `CircleDollarSignIcon` in `pricing.tsx`.
- Replaced `FiArrowRight` with `MoveRightIcon` in `marketplace-table.tsx`.

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

<!-- end pr-codex -->
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.

3 participants