-
Notifications
You must be signed in to change notification settings - Fork 618
[TOOL-2473] Dashboard: Update RPC method analytics chart to show % values #5954
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. |
...team_slug]/[project_slug]/components/RpcMethodBarChartCard/RpcMethodBarChartCard.stories.tsx
Show resolved
Hide resolved
...team/[team_slug]/[project_slug]/components/RpcMethodBarChartCard/RpcMethodBarChartCardUI.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5954 +/- ##
=======================================
Coverage 54.96% 54.96%
=======================================
Files 1145 1145
Lines 60996 60996
Branches 5156 5156
=======================================
Hits 33528 33528
Misses 26740 26740
Partials 728 728
*This pull request uses carry forward flags. Click here to find out more. |
...team/[team_slug]/[project_slug]/components/RpcMethodBarChartCard/RpcMethodBarChartCardUI.tsx
Outdated
Show resolved
Hide resolved
...team/[team_slug]/[project_slug]/components/RpcMethodBarChartCard/RpcMethodBarChartCardUI.tsx
Outdated
Show resolved
Hide resolved
size-limit report 📦
|
...team/[team_slug]/[project_slug]/components/RpcMethodBarChartCard/RpcMethodBarChartCardUI.tsx
Show resolved
Hide resolved
Merge activity
|
…lues (#5954) <!-- start pr-codex --> ## PR-Codex overview This PR focuses on enhancing the `RpcMethodBarChartCardUI` component by improving data handling, updating the `valueFormatter` function, and refining the chart display logic. It also introduces new RPC methods and adjusts the layout of the chart. ### Detailed summary - Updated `valueFormatter` in `chart.tsx` to accept a second parameter. - Changed the gap between elements in the chart tooltip from `gap-2` to `gap-5`. - Adjusted condition to check for `item.value` to `item.value !== undefined`. - Added randomness to the data generation logic to simulate empty data. - Introduced new RPC methods in the `commonMethods` array. - Updated the `BadgeContainer` labels for clarity on RPC methods displayed. - Enhanced data processing in `RpcMethodBarChartCardUI` for better method display. - Implemented a total count for methods in the chart data. - Updated the tooltip label formatter to use `formatDate`. - Modified the Y-axis configuration to remove unused properties. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

PR-Codex overview
This PR focuses on enhancing the
RpcMethodBarChartCardUIcomponent by improving data handling and display logic, including the addition of new RPC methods, updating the tooltip functionality, and refining the data visualization for clarity and usability.Detailed summary
valueFormatterto accept an additionalpayLoadparameter.gap-2togap-5.undefined.commonMethodsarray.BadgeContainerlabels for clarity.