Closed volmedo closed 2 years ago
@ericm the PR is now ready for review. There are probably some other improvements that could be done, but I think the current changes already make a significant difference in terms of readability and maintainability.
PTAL and let me know what you think.
Could you fix the macos build? https://github.com/ericm/stonks/actions/runs/3257662825/jobs/5349081348
I already did! 🙂 We need to merge this other PR first. I decided to get it sorted in a different PR since it wasn't directly related with the refactor.
That or should be approved now. Rebase on top of master 😀
Closes #23
All the logic to create the graph is currently living in a single function. Let's break it into smaller, easier to understand functions and make other improvements along the way.