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] Remove Flex easy mode #4785

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

kien-ngo
Copy link
Contributor

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

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on replacing instances of the Flex component with div elements styled with flex classes across various files in the codebase. This change aims to standardize the layout structure while maintaining the same visual appearance.

Detailed summary

  • Replaced <Flex> with <div className="flex flex-row"> in multiple components for consistency.
  • Updated <Flex direction="column"> to <div className="flex flex-col"> in various files.
  • Ensured all affected components maintain the same layout functionality.

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

Copy link

vercel bot commented Sep 24, 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 25, 2024 10:02pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Sep 25, 2024 10:02pm
thirdweb_playground ⬜️ Skipped (Inspect) Sep 25, 2024 10:02pm
wallet-ui ⬜️ Skipped (Inspect) Sep 25, 2024 10:02pm

@vercel vercel bot temporarily deployed to Preview – wallet-ui September 24, 2024 11:38 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 24, 2024 11:38 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 24, 2024 11:38 Inactive
Copy link

changeset-bot bot commented Sep 24, 2024

⚠️ No Changeset found

Latest commit: d76618f

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 24, 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 24, 2024
@kien-ngo kien-ngo changed the title Remove Flex [Dashboard] Remove Flex easy mode Sep 24, 2024
@kien-ngo kien-ngo marked this pull request as ready for review September 24, 2024 11:39
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.13%. Comparing base (46acf33) to head (d76618f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4785   +/-   ##
=======================================
  Coverage   49.13%   49.13%           
=======================================
  Files        1051     1051           
  Lines       56681    56681           
  Branches     3889     3889           
=======================================
  Hits        27850    27850           
  Misses      28198    28198           
  Partials      633      633           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 46acf33
packages 45.20% <ø> (ø)

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

Copy link
Contributor

github-actions bot commented Sep 24, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.93 KB (0%) 839 ms (0%) 3.2 s (-7.17% 🔽) 4 s
thirdweb (cjs) 101.56 KB (0%) 2.1 s (0%) 7.8 s (+1.2% 🔺) 9.8 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 490 ms (+95.39% 🔺) 586 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 215 ms (+384.37% 🔺) 225 ms
thirdweb/react (minimal + tree-shaking) 16.78 KB (0%) 336 ms (0%) 588 ms (-35.87% 🔽) 924 ms

Copy link

graphite-app bot commented Sep 25, 2024

Merge activity

kien-ngo added a commit that referenced this pull request Sep 25, 2024
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `Flex` component with `div` elements styled with `flex` classes, streamlining the layout structure across various components in the project.

### Detailed summary
- Replaced `<Flex>` with `<div className="flex flex-row">` in multiple files.
- Updated layout in `snapshot-upload.tsx`, `airdrop-upload.tsx`, `batch-lazy-mint.tsx`, and others.
- Ensured consistent flexbox styling across components without altering functionality.

> ✨ 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 25, 2024 18:56 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 25, 2024 18:56 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 25, 2024 18:56 Inactive
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `Flex` component with `div` elements that have corresponding CSS classes for layout styling. This change aims to streamline the code while maintaining the same visual structure.

### Detailed summary
- Replaced `<Flex>` with `<div className="flex flex-row">` in multiple components for horizontal alignment.
- Replaced `<Flex>` with `<div className="flex flex-col">` in several components for vertical alignment.
- Ensured all functional components maintain the same layout and behavior after changes.

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 25, 2024 21:49 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 25, 2024 21:49 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 25, 2024 21:49 Inactive
Base automatically changed from kien/remove-more-flex to main September 25, 2024 22:01
@graphite-app graphite-app bot merged commit d76618f into main Sep 25, 2024
29 checks passed
@graphite-app graphite-app bot deleted the kien/remove-more-flex-2 branch September 25, 2024 22:03
@vercel vercel bot temporarily deployed to Production – docs-v2 September 25, 2024 22:03 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui September 25, 2024 22:03 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 25, 2024 22:03 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www September 25, 2024 22:17 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