Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 23, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on improving the layout and loading state of the ClaimConditionsForm component in the dashboard application. It refines the structure and styling, enhances loading feedback, and removes unnecessary imports.

Detailed summary

  • Updated the Flex component in claim-conditions.tsx to simplify props.
  • Added a loading state with a Spinner in claim-conditions-form/index.tsx.
  • Removed the old spinner implementation to streamline the code.
  • Adjusted flexDir prop for better responsiveness in the form layout.

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

@vercel
Copy link

vercel bot commented Oct 23, 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 23, 2024 5:07pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 23, 2024 5:07pm
thirdweb_playground ⬜️ Skipped (Inspect) Oct 23, 2024 5:07pm
wallet-ui ⬜️ Skipped (Inspect) Oct 23, 2024 5:07pm

@vercel vercel bot temporarily deployed to Preview – wallet-ui October 23, 2024 15:34 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Oct 23, 2024

⚠️ No Changeset found

Latest commit: 4e5fdcf

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

@vercel vercel bot temporarily deployed to Preview – docs-v2 October 23, 2024 15:34 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 23, 2024 15:34 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 23, 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 Oct 23, 2024
Copy link
Member Author

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

Join @MananTank and the rest of your teammates on Graphite Graphite

@MananTank MananTank marked this pull request as ready for review October 23, 2024 15:34
@codecov
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.43%. Comparing base (eaeb532) to head (4e5fdcf).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5141   +/-   ##
=======================================
  Coverage   45.43%   45.43%           
=======================================
  Files        1066     1066           
  Lines       55150    55150           
  Branches     3974     3974           
=======================================
  Hits        25055    25055           
  Misses      29403    29403           
  Partials      692      692           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from eaeb532
packages 40.45% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 42.81 KB (0%) 857 ms (0%) 653 ms (-12.72% 🔽) 1.6 s
thirdweb (cjs) 102.66 KB (0%) 2.1 s (0%) 1.5 s (-18.02% 🔽) 3.5 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 107 ms (+121.63% 🔺) 204 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 106 ms (+566.57% 🔺) 116 ms
thirdweb/react (minimal + tree-shaking) 17.33 KB (0%) 347 ms (0%) 233 ms (+50.07% 🔺) 579 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 23, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `ClaimConditionsForm` component in the `claim-conditions` files to improve layout and loading state handling.

### Detailed summary
- Updated `Flex` component properties in `claim-conditions.tsx` for layout consistency.
- Added a loading spinner in `claim-conditions-form/index.tsx` to handle fetching state.
- Removed the previous spinner implementation for a cleaner loading experience.
- Adjusted `flexDir` property for better responsiveness.

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

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 10-23-fix_claim_condition_loading_state_ui_tweaks branch from dead480 to 4e5fdcf Compare October 23, 2024 16:57
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 23, 2024 16:57 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 23, 2024 16:57 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 23, 2024 16:57 Inactive
@graphite-app graphite-app bot merged commit 4e5fdcf into main Oct 23, 2024
31 checks passed
@graphite-app graphite-app bot deleted the 10-23-fix_claim_condition_loading_state_ui_tweaks branch October 23, 2024 17:08
@vercel vercel bot temporarily deployed to Production – docs-v2 October 23, 2024 17:08 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 23, 2024 17:08 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 23, 2024 17:08 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.

3 participants