-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
POC Recharts charting library #1740
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Bundle Stats — desktop-clientHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset (largest 100 files by percent change)
View detailed bundle breakdownAdded
Removed
Bigger
Smaller No assets were smaller Unchanged
|
Bundle Stats — loot-coreHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
I think this looks very promising. Thanks for putting this together! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few observations:
- The networth graph seem to have fewer y axis values than before and before, the y axis values are increments of thousands e.g. 2,000, 4,000, 6,000 or 50,000, 100,000, 150,000
- In the overview page, is it possible to just print the line and leave out the x and y axis?
Other than above comments, this looks promising :)
packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx
Outdated
Show resolved
Hide resolved
…Graph.tsx Co-authored-by: Joel Jeremy Marquez <[email protected]>
…charts_port merge
Thanks for your thoughts, glad you think it looks promising. I've incorporated all of your feedback :) |
@joel-jeremy @MatissJanis is there anything else either of you would like to see included in this PR to consider the Recharts POC complete and #1739 merged (aside from passing tests)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks overall very good. I'm almost happy to merge it. Lets just fix the small issues raised :)
Thanks for your work on this!
packages/desktop-client/src/components/reports/graphs/net-worth-spreadsheet.tsx
Outdated
Show resolved
Hide resolved
packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Now we just need to fix the VRT e2e test.
Here's instructions how to run them and update the screenshots: https://github.com/actualbudget/actual/blob/master/packages/desktop-client/README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! Thank you so much for your contribution :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!
Amazing! Thanks for all your help @MatissJanis |
This PR is associated with #1739 and serves as a POC that Recharts is a suitable replacement for our current charting library. In this PR, I've recreated the NetWorth graph with Recharts in a very simple, rough way.