Conversation
|
🚅 Deployed to the rivet-pr-4172 environment in rivet-frontend
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to 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. |
PR Review: Better Charts with VisxOverviewThis PR replaces the existing charting implementation with Visx (from Airbnb), introducing interactive features like brush-based zooming and synchronized crosshairs across charts. The changes include adding 10+ new dependencies and ~1,122 lines of new code. Positive Aspects✅ Good Architecture
✅ User Experience Improvements
✅ Code Quality
Issues & Recommendations🔴 Critical Issues1. Missing PR DescriptionThe PR description is completely empty (just a template). Please fill it out with:
2. Potential Division by Zero
if (end.getTime() - start.getTime() < 1000) {
setBrushDomain(null);
return;
}While this prevents very small brushes, there's no check before this that ensures if (!domain || x0 >= x1) {
setBrushDomain(null);
return;
}3. Non-null Assertion Operator
const innerHeight = height! - MARGIN.top - MARGIN.bottom;Using const innerHeight = (height ?? 200) - MARGIN.top - MARGIN.bottom;
|
8bf01e3 to
95291ff
Compare
109e7fa to
2519b04
Compare
95291ff to
7b2929d
Compare
2519b04 to
67a6ab1
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: