-
Notifications
You must be signed in to change notification settings - Fork 621
Dashboard: Fix contract overpage page overflow when there are too many events in single tx #6700
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. |
f373b7d to
770b23f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6700 +/- ##
=======================================
Coverage 55.04% 55.04%
=======================================
Files 889 889
Lines 55870 55870
Branches 3820 3820
=======================================
Hits 30753 30753
Misses 25023 25023
Partials 94 94
🚀 New features to boost your workflow:
|
770b23f to
fe71a6e
Compare
size-limit report 📦
|
Merge activity
|
…y events in single tx (#6700) <!-- ## 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 enhancing the `ContractOverviewPage` and `LatestEvents` components in a React application by adding overflow handling and improving the display of event data. ### Detailed summary - Added `overflow-hidden` class to the `div` in `ContractOverviewPage.tsx`. - Refactored the mapping of `allEvents` in `LatestEvents.tsx` to use a block structure for better readability. - Limited the displayed events to 3 and added a button to show additional events if more than 3 exist. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
fe71a6e to
af09576
Compare

PR-Codex overview
This PR focuses on enhancing the layout and functionality of the
ContractOverviewPageandLatestEventscomponents in a dashboard application. It introduces an overflow property for better layout management and optimizes the event display logic.Detailed summary
overflow-hiddenclass to the outerdivinContractOverviewPage.tsx.LatestEvents.tsxto use a block body for better readability.