-
Notifications
You must be signed in to change notification settings - Fork 543
[TOOL-4687] Dashboard: Show Special Price UI in claim tokens card #7284
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
[TOOL-4687] Dashboard: Show Special Price UI in claim tokens card #7284
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7284 +/- ##
=======================================
Coverage 55.58% 55.58%
=======================================
Files 909 909
Lines 58670 58670
Branches 4158 4158
=======================================
Hits 32609 32609
Misses 25954 25954
Partials 107 107
🚀 New features to boost your workflow:
|
size-limit report 📦
|
91b4cac
to
f12be98
Compare
ed901d9
to
15230ae
Compare
Merge activity
|
) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on improving the `RecentTransfers` and `ClaimTokenCardUI` components in a React application by refining state management, simplifying logic, and enhancing UI elements. ### Detailed summary - Removed `hasFetchedOnce` state in `RecentTransfers`. - Changed condition for disabling the button in `RecentTransfersUI`. - Simplified logic for claim parameters in `ClaimTokenCardUI`. - Introduced `TokenPrice` component to handle price display. - Added tooltip for special pricing indication. - Adjusted UI elements for better clarity and organization. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
f12be98
to
05f65ec
Compare
15230ae
to
a5cd664
Compare
PR-Codex overview
This PR focuses on improving the
RecentTransfers
andClaimTokenCardUI
components by refining state management, updating conditional rendering, and introducing a newTokenPrice
component for better display of pricing information.Detailed summary
hasFetchedOnce
fromRecentTransfers
.disabled
attribute in theButton
component.isPending
logic inRecentTransfersUI
.publicPrice
object to streamline price data handling inClaimTokenCardUI
.TokenPrice
component for better price display with strikethrough functionality.