Skip to content

Commit 0426fe5

Browse files
committed
Dashboard: Migrate contract/events from chakra to tailwind (#7742)
<!-- ## 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 refactors the `EventsFeed` component in `events-feed.tsx`, updating its structure and styling while changing the imported UI components to a custom design system. It enhances the user interface and maintains the same functionality. ### Detailed summary - Replaced Chakra UI components with custom components from the UI library. - Modified the `EventsFeed` component to use `function` syntax instead of `React.FC`. - Updated the layout from `Flex` and `SimpleGrid` to `div` with Tailwind CSS classes. - Changed event selection handling to use `Select` from the custom library. - Refined the `EventsFeedItem` component structure and styling. - Updated the way transaction data is displayed with `CopyTextButton`. - Adjusted the accordion implementation to use custom `Accordion` components. - Removed unused imports and props for cleaner code. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 542360c commit 0426fe5

File tree

1 file changed

+204
-303
lines changed
  • apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/events

1 file changed

+204
-303
lines changed

0 commit comments

Comments
 (0)