Migrate pie charts from Recharts to Chart.js#277
Merged
Conversation
Co-authored-by: jwaspin <6432180+jwaspin@users.noreply.github.com>
Deploying beta-lucaledger with
|
| Latest commit: |
f60deda
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ba9626a8.beta-lucaledger.pages.dev |
| Branch Preview URL: | https://copilot-migrate-recharts-to.beta-lucaledger.pages.dev |
Co-authored-by: jwaspin <6432180+jwaspin@users.noreply.github.com>
Co-authored-by: jwaspin <6432180+jwaspin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate chart components from Recharts to Chart.js
Migrate pie charts from Recharts to Chart.js
Feb 2, 2026
Contributor
|
@copilot Merge main into this branch and fix merge conflicts |
…grade) Co-authored-by: jwaspin <6432180+jwaspin@users.noreply.github.com>
Contributor
Author
Merged main into this branch successfully (c1da9c1). Resolved merge conflict in package.json:
✅ All 233 tests pass |
- Upgraded '@reduxjs/toolkit' from 1.9.7 to 2.11.2 and updated peer dependencies accordingly. - Added 'chart.js' and 'react-chartjs-2' to the project with specified versions. - Removed unused '@types/d3-*' packages to clean up dependencies. - Refactored encrypted data handling in actions to directly import 'deleteEncryptedRecord' instead of using dynamic imports. - Consolidated batch storage logic for accounts, transactions, categories, statements, recurring transactions, and events to improve readability and maintainability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate all pie charts from Recharts to Chart.js (react-chartjs-2). Also fixes a bug where dollar values in the SettingsPanel category breakdown showed $0.00 due to using the wrong property name.
Changes
rechartswithchart.jsandreact-chartjs-2in CategoryBreakdown, SettingsPanel, and CategoryTotalst.status→t.transactionStatein SettingsPanel category spending calculationsdeleteEncryptedRecordimports and cleaned up import ordering in recurring transaction action filespackage-lock.jsonto.gitignoreTesting
Checklist
Related Issues
Manual QA