-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Improve faucet claim #5226
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd 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. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5226 +/- ##
=======================================
Coverage 45.59% 45.59%
=======================================
Files 1069 1069
Lines 55584 55584
Branches 4045 4045
=======================================
Hits 25342 25342
Misses 29552 29552
Partials 690 690
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
89a6e1c to
a172405
Compare
a172405 to
462db2a
Compare
462db2a to
d08e0d0
Compare
...hboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx
Outdated
Show resolved
Hide resolved
225ed27 to
c21c7e6
Compare
c21c7e6 to
46f31b0
Compare
46f31b0 to
0d68199
Compare
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on enhancing the functionality of the `Faucet` feature in the dashboard application. It introduces new environment variables, updates modal components to allow for state management, and improves API endpoints for better user authentication and request handling.
### Detailed summary
- Added `REDIS_URL` and updated `TURNSTILE_SECRET_KEY` in `.env.example`.
- Updated `turbo.json` to include new environment variables.
- Modified `OnboardingModal` to accept `onOpenChange` prop for state management.
- Enhanced API routes to check for email verification before allowing faucet claims.
- Improved error handling for wallet connections and request limits.
- Updated `FaucetButton` to show onboarding modal for email verification.
- Added caching logic for user requests to prevent abuse.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
0d68199 to
43b7c27
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the functionality of the
Faucetfeature in the dashboard application. It introduces new environment variables, updates modal components to allow closing, and modifies API routes to ensure email verification for faucet claims.Detailed summary
REDIS_URLto.env.example.turbo.jsonto include new environment variables.OnboardingModalto acceptonOpenChangeprop.FaucetButtonto handle email verification.