Commit 2d6a134
authored
Feature/close account (#293)
* Implement account closure feature with UI updates and tests
* Refactor AppHeader and NavItem styles for improved layout; update MonthOverviewSummary to display formatted date
* Refactor AppHeader and NavItem styles for consistency and improved UI responsiveness
* Add unit tests for account balance summary and transaction totals; refactor related hooks for improved calculations
* Update @luca-financial/luca-schema dependency to version 3.1.0 in package.json and pnpm-lock.yaml
* Refactor account type handling and improve balance summary calculations; add support for new account types and enhance utility functions
* Enhance transaction categorization and summary calculations; add credit card expense tracking and improve dashboard metrics display
* Refactor transaction handling and metrics; enhance credit card payment tracking and update dashboard components for improved financial overview
* Implement dashboard analytics filters and enhance account balance summary calculations; add filtering utilities for transactions and accounts
* Update default state for excluding closed accounts in Dashboard component
* Enhance dashboard filters and account balance calculations; add support for escrow accounts and improve transaction handling
* Refactor transaction handling in dashboard components; update test cases and improve month-end projections logic
* Enhance transaction totals calculations and projections; add income and credits handling, and refactor dashboard components for improved financial overview
* Add combined dashboard balances calculation and update dashboard components for improved financial metrics
* Bump version to 2.8.0 in package.json
* Refactor dashboard metrics and transaction totals calculations; enhance balance handling and credit card metrics
* Refactor net flow calculations in transaction totals; ensure accurate income and expense handling
* Refactor transaction totals calculations; introduce cash credits and outflows handling for improved financial metrics
* Refactor income and expense metrics labels and variables for clarity; update related calculations in MonthOverviewSummary
* Enhance tooltip functionality for financial metrics; add detailed tooltips for income, expenses, and balances in MonthOverviewSummary
* Update tooltips in MonthOverviewSummary to clarify account types; replace 'non-credit-card' with 'asset' for consistency.
* Refactor DetailedComparisonTable to use sections for improved organization; update metrics and tooltips for clarity.
* Refactor DetailedComparisonTable layout and improve metric labels for clarity; update tooltip descriptions for consistency.
* Update sync button to use aria-label for improved accessibility
* Enhance DetailedComparisonTable with new metrics and improved styling; add icons for better visual representation of income and expenses.
* Refactor DetailedComparisonTable to ensure consistent styling for total rows; adjust height and box-sizing properties.
* Remove unused MonthlyIncomeExpenseCards, RecentActivitySection, and UpcomingActivitySection components
* Refactor MonthOverviewSummary component and related utilities
- Simplified MonthOverviewSummary by extracting utility functions and components.
- Created OverviewPeriodCard for rendering period-specific metrics.
- Introduced TooltipValue component for consistent tooltip rendering.
- Moved metric-related utility functions to monthOverviewSummaryUtils.js.
- Updated detailed comparison sections to use new utility functions for better readability and maintainability.
* feat: add Spending History Section components and hooks
- Implement SpendingHistorySummaryCards for displaying summary of spending by state and totals.
- Create SpendingHistoryTable for detailed transaction view with expandable categories and subcategories.
- Introduce TransactionDetailTable for displaying individual transaction details.
- Add utility functions and constants for formatting and managing spending data.
- Implement hooks for managing state and data in the Spending History Section.
* feat: refactor DetailedComparisonTable to use DetailedComparisonValueCell for improved readability and maintainability
* refactor: clean up formatting and import statements in DetailedComparisonTable component
* refactor: simplify DashboardAnalyticsFilters by removing unused includedCount calculation and improving layout
* feat: enhance MetricCell and MonthOverviewSummary to support icons and absolute value display
* feat: update SpendingPeriodControls and SpendingHistorySection for improved label handling and default selection
* feat: update @luca-financial/luca-schema dependency to version 3.2.0
* refactor: remove commented-out BalanceRow component from AccountCard
* feat: add account closure support and enhance dashboard analytics for closed accounts1 parent ce5a10b commit 2d6a134
55 files changed
Lines changed: 3887 additions & 2172 deletions
File tree
- src
- __tests__
- components
- hooks
- store
- views/dashboard
- components
- AccountSettingsModal
- AccountTypePicker
- ActionsMenu
- LedgerTable
- MainLayout/AppHeader
- SpendingPeriodControls
- hooks
- store/accounts
- utils
- views
- Accounts
- Dashboard
- components
- CurrentMonthOverview
- SpendingHistorySection
- hooks
- utils
- Ledger
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
10 | 32 | | |
11 | 33 | | |
12 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
176 | 194 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
| |||
0 commit comments