Skip to content

Conversation

@kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Nov 9, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on improving the UI components of the claim conditions form in a dashboard application. It enhances accessibility, updates styling to use Tailwind CSS, and makes adjustments to the structure of several components for better clarity and usability.

Detailed summary

  • Updated MaxClaimablePerWalletInput.tsx to use className for styling instead of Chakra UI props.
  • Simplified CustomFormControl by replacing Heading with FormLabel.
  • Changed Text components to p tags in PricePreview for consistency.
  • Refactored QuantityInputWithUnlimited to improve props and styling.
  • Converted layout from Chakra UI components to Tailwind CSS in ClaimConditionsPhase.
  • Adjusted button styles and positions for better user interaction.
  • Enhanced accessibility and readability of text elements throughout the components.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 9, 2024

⚠️ No Changeset found

Latest commit: 8c1fa1b

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
Copy link

vercel bot commented Nov 9, 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 Nov 11, 2024 0:13am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Nov 11, 2024 0:13am
thirdweb_playground ⬜️ Skipped (Inspect) Nov 11, 2024 0:13am
wallet-ui ⬜️ Skipped (Inspect) Nov 11, 2024 0:13am

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 9, 2024 04:24 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 9, 2024 04:24 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 9, 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.

@vercel vercel bot temporarily deployed to Preview – docs-v2 November 9, 2024 04:24 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Nov 9, 2024
Copy link
Contributor Author

kien-ngo commented Nov 9, 2024

@codecov
Copy link

codecov bot commented Nov 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.70%. Comparing base (453e45b) to head (8c1fa1b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5368   +/-   ##
=======================================
  Coverage   45.70%   45.70%           
=======================================
  Files        1070     1070           
  Lines       55671    55671           
  Branches     4081     4081           
=======================================
  Hits        25446    25446           
  Misses      29536    29536           
  Partials      689      689           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 453e45b
packages 40.85% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.05 KB (0%) 862 ms (0%) 3 s (+42.95% 🔺) 3.8 s
thirdweb (cjs) 103.17 KB (0%) 2.1 s (0%) 6.6 s (+1.1% 🔺) 8.7 s
thirdweb (minimal + tree-shaking) 4.86 KB (0%) 98 ms (0%) 184 ms (-13.91% 🔽) 281 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 69 ms (+58.04% 🔺) 79 ms
thirdweb/react (minimal + tree-shaking) 17.58 KB (0%) 352 ms (0%) 598 ms (+20.86% 🔺) 949 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 11, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the user interface and functionality of the `claim-conditions` components in the dashboard application. It enhances accessibility, updates styling, and refines the input handling for claim conditions.

### Detailed summary
- Updated `MaxClaimablePerWalletInput` to use `className` for styling and added a `target` attribute to the `Link`.
- Simplified `CustomFormControl` by replacing `Heading` with `FormLabel`.
- Changed `Text` components to `p` tags in `PricePreview` for better semantic structure.
- Refactored `QuantityInputWithUnlimited` to use new UI components and improved props handling.
- Enhanced `ClaimConditionsPhase` layout with Tailwind CSS classes, replacing Chakra UI components.
- Updated button styles and functionalities, including the removal button and editing toggle.
- Improved readability and structure of the phase details display.

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

<!-- end pr-codex -->
@kien-ngo kien-ngo force-pushed the kien/tw-component-marketplace branch from c274358 to 453e45b Compare November 11, 2024 00:09
@kien-ngo kien-ngo force-pushed the kien/tw-component-claim-conditions branch from d6922a7 to 8c1fa1b Compare November 11, 2024 00:10
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 11, 2024 00:10 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 11, 2024 00:10 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 11, 2024 00:10 Inactive
Base automatically changed from kien/tw-component-marketplace to main November 11, 2024 00:13
@graphite-app graphite-app bot merged commit 8c1fa1b into main Nov 11, 2024
31 checks passed
@graphite-app graphite-app bot deleted the kien/tw-component-claim-conditions branch November 11, 2024 00:14
@vercel vercel bot temporarily deployed to Production – wallet-ui November 11, 2024 00:14 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground November 11, 2024 00:14 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 November 11, 2024 00:14 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb-www November 11, 2024 00:29 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