You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dashboard: Migrate Published Contract page from chakra to tailwind, UI improvements (#7728)
<!--
## 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 components and structure of the published contract pages in the dashboard. It enhances layouts, updates component props, and modifies styles for better user experience and consistency.
### Detailed summary
- Updated `version-selector` styles.
- Modified `PublishedContractBreadcrumbs` to accept `className` prop.
- Simplified `PublishedContractLayout` by returning only `props.children`.
- Refactored `DeployFormForUri` to remove `ChakraProviderSetup`.
- Enhanced `ExplorePage` layout and styles.
- Changed icons in `PublishedActions` and updated button structure.
- Improved `DeployContractInfo` layout and styles.
- Updated `MarkdownRenderer` styles for better spacing and alignment.
- Refactored `PublishedContract` to use `className` prop for styling.
- Added `PublishedContractBreadcrumbs` to multiple pages for better navigation.
- Improved `PublisherHeader` layout and styling.
- Removed unused imports and cleaned up code.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added breadcrumb navigation to published contract and deploy pages for improved navigation clarity.
* **Refactor**
* Replaced Chakra UI components with Tailwind CSS for more consistent styling and layout across published contract pages.
* Simplified and reorganized contract detail and publisher header layouts for better readability and usability.
* Updated contract info display to use an enhanced image component with fallback support.
* **Style**
* Adjusted spacing, borders, and typography for headings, lists, and paragraphs in Markdown rendering.
* Refined button and icon styles for contract actions and links.
* Improved overall page structure and container consistency.
* **Bug Fixes**
* Enhanced fallback behavior for contract images when unavailable.
* **Chores**
* Removed unused sharing utility and related "Share" button from contract actions.
* Cleaned up unused Chakra UI imports and wrappers.
* **Documentation**
* No user-facing documentation changes included.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments