Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 2, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR introduces a new InputOTP component for handling OTP input fields, replacing the old react-otp-input library with input-otp. It also adds animations and improves styling for better user experience.

Detailed summary

  • Added input-otp package to package.json.
  • Removed react-otp-input from package.json.
  • Created InputOTP, InputOTPGroup, InputOTPSlot, and InputOTPSeparator components in input-otp.tsx.
  • Integrated new OTP components in ConfirmEmail.tsx.
  • Updated tailwind.config.js to include caret-blink animation.

The following files were skipped due to too many changes: pnpm-lock.yaml

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

@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)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2024 6:07pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2024 6:07pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2024 6:07pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2024 6:07pm

@changeset-bot
Copy link

changeset-bot bot commented Oct 2, 2024

⚠️ No Changeset found

Latest commit: a6f85ac

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.

@MananTank MananTank marked this pull request as ready for review October 2, 2024 17:32
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 2, 2024
Copy link
Member Author

MananTank commented Oct 2, 2024

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

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

@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.06% 🔽) 840 ms (-0.06% 🔽) 980 ms (-73.94% 🔽) 1.9 s
thirdweb (cjs) 101.7 KB (+0.13% 🔺) 2.1 s (+0.13% 🔺) 1.3 s (-83.3% 🔽) 3.4 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 167 ms (-54.52% 🔽) 263 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 148 ms (+117.82% 🔺) 158 ms
thirdweb/react (minimal + tree-shaking) 16.74 KB (-0.07% 🔽) 335 ms (-0.07% 🔽) 242 ms (-83.37% 🔽) 577 ms

@MananTank MananTank changed the title Replace react-otp-input with shadcn otp-input Replace react-otp-input with shadcn input-otp Oct 2, 2024
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 2, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new OTP input component using the `input-otp` library, along with related animations and configuration updates. It replaces the existing `react-otp-input` dependency and enhances the onboarding email confirmation process.

### Detailed summary
- Added `input-otp` dependency to `package.json`.
- Removed `react-otp-input` from `package.json`.
- Updated `tailwind.config.js` to include `caret-blink` animation.
- Created new components: `InputOTP`, `InputOTPGroup`, `InputOTPSlot`, `InputOTPSeparator`.
- Refactored `ConfirmEmail.tsx` to utilize the new OTP input components.
- Improved styling and functionality for OTP input slots.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

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

<!-- end pr-codex -->
@codecov
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.60%. Comparing base (726bbde) to head (a6f85ac).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4889   +/-   ##
=======================================
  Coverage   47.60%   47.60%           
=======================================
  Files        1054     1054           
  Lines       57164    57164           
  Branches     3917     3917           
=======================================
  Hits        27212    27212           
  Misses      29263    29263           
  Partials      689      689           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 726bbde
packages 43.35% <ø> (ø)

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

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