-
Notifications
You must be signed in to change notification settings - Fork 621
[Dashboard] Contracts sources page: migrate from chakra to tailwind+shadcn #6676
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
[Dashboard] Contracts sources page: migrate from chakra to tailwind+shadcn #6676
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 #6676 +/- ##
=======================================
Coverage 55.05% 55.05%
=======================================
Files 889 889
Lines 55858 55858
Branches 3825 3825
=======================================
Hits 30751 30751
Misses 25012 25012
Partials 95 95
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…hadcn (#6676) <!-- ## 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 primarily focuses on enhancing the `SourcesPanel` and `SourcesAccordion` components by improving their structure and styling. It also introduces a new modal for contract verification and updates the UI elements for better user experience. ### Detailed summary - Replaced `Text` and `Link` with `p` and `UnderlineLink` in `SourcesPanel`. - Updated `SourcesAccordion` to use `SourceAccordionItem` for rendering items. - Modified `VerifyContractModal` to a new functional component, `VerifyContractModalContent`. - Enhanced loading and error handling in the verification process. - Changed the layout and styling of the `ContractSourcesPage`. - Introduced `Dialog` for contract verification instead of using a modal. - Updated button styles and loading indicators for better UX. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
63642b4 to
8b4091e
Compare

PR-Codex overview
This PR focuses on improving the user interface and functionality of the
SourcesPanelandContractSourcesPagecomponents, enhancing the contract verification process, and refactoring the code for better readability and maintainability.Detailed summary
TextandLinkcomponents with<p>and<UnderlineLink>inSourcesPanel.SourcesAccordionto useSourceAccordionItemfor better structure.VerifyContractModalContentfor contract verification UI.ContractSourcesPage.