-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-3216] Dashboard: Add Faucet Refill, Fix toast colors on light mode #6147
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 ↗︎
|
|
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6147 +/- ##
=======================================
Coverage 56.92% 56.92%
=======================================
Files 1155 1155
Lines 63920 63920
Branches 5195 5195
=======================================
Hits 36388 36388
Misses 26804 26804
Partials 728 728
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
…ode (#6147) <!-- ## 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 UI and functionality of the dashboard by updating theme management, enhancing the `FaucetButton` component, and integrating a new modal for refilling the faucet. It also modifies color schemes for buttons and introduces a loading state. ### Detailed summary - Removed `<Toaster richColors />` from `RootLayout`. - Added `<ToasterSetup />` component in `AppRouterProviders` for dynamic theming. - Updated button color schemes in `sdk-component-theme.ts`. - Enhanced `FaucetButton` with loading states and a new modal for refilling. - Introduced `SendFundsToFaucetModalButton` and `SendFundsToFaucetModalContent` components. - Added form validation for the amount in the faucet refill modal. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
7972bdf to
cf166e4
Compare

PR-Codex overview
This PR focuses on refactoring and enhancing the user interface components of the dashboard, particularly related to the
Toasternotifications and theFaucetButton. It introduces new functionalities and improves the styling and structure of various components.Detailed summary
<Toaster richColors />fromRootLayout.ToasterSetupfunction to manageToastertheme based on current theme.FaucetButton.