[PR #8094] [AI] Add scoped ErrorBoundaries to report and mobile pages #114373

Open
opened 2026-06-05 22:14:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/8094
Author: @okxint
Created: 6/5/2026
Status: 🔄 Open

Base: masterHead: fix/feature-error-boundaries


📝 Commits (4)

  • 5221727 Add release notes for PR #7177
  • 7a2ccc6 [AI] Fix append/prepend notes rule not working when note already exists
  • 468d853 Add release notes for #7568
  • 9fd954d [AI] Add scoped ErrorBoundaries to report and mobile pages

📊 Changes

33 files changed (+284 additions, -69 deletions)

View changed files

📝 packages/desktop-client/src/components/mobile/accounts/AccountPage.tsx (+33 -29)
📝 packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx (+20 -16)
📝 packages/desktop-client/src/components/mobile/banksync/MobileBankSyncAccountEditPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/banksync/MobileBankSyncPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/budget/BudgetPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/budget/CategoryPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/budget/CategoryTransactions.tsx (+7 -3)
📝 packages/desktop-client/src/components/mobile/payees/MobilePayeeEditPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/payees/MobilePayeesPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/rules/MobileRuleEditPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/rules/MobileRulesPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/schedules/MobileScheduleEditPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/schedules/MobileSchedulesPage.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx (+16 -10)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionList.tsx (+4 -0)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionListWithBalances.tsx (+4 -0)
📝 packages/desktop-client/src/components/reports/reports/AgeOfMoney.tsx (+7 -1)
📝 packages/desktop-client/src/components/reports/reports/BalanceForecast.tsx (+7 -1)
📝 packages/desktop-client/src/components/reports/reports/BudgetAnalysis.tsx (+7 -1)
📝 packages/desktop-client/src/components/reports/reports/Calendar.tsx (+7 -1)

...and 13 more files

📄 Description

Closes #7391

Wraps all remaining uncovered feature areas with ErrorBoundary from react-error-boundary (already a dependency), using the shared FeatureErrorFallback component.

Reports (11 components):
NetWorth, CashFlow, Spending, Calendar, BalanceForecast, Sankey, Summary, AgeOfMoney, Crossover, Formula, BudgetAnalysis

Mobile (16 components):
BudgetPage, CategoryPage, CategoryTransactions, AccountsPage, AccountPage, TransactionList, TransactionListWithBalances, TransactionEdit, MobileSchedulesPage, MobileScheduleEditPage, MobileRulesPage, MobileRuleEditPage, MobilePayeesPage, MobilePayeeEditPage, MobileBankSyncPage, MobileBankSyncAccountEditPage

Each boundary wraps the outermost return of the feature's entry-point component, so a single rendering error is contained to that feature area instead of crashing the whole app.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/8094 **Author:** [@okxint](https://github.com/okxint) **Created:** 6/5/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/feature-error-boundaries` --- ### 📝 Commits (4) - [`5221727`](https://github.com/actualbudget/actual/commit/5221727692fbbfb5d70cd241b2f07c9904daa6b1) Add release notes for PR #7177 - [`7a2ccc6`](https://github.com/actualbudget/actual/commit/7a2ccc605677b0f4d2430605561c9f25092e73df) [AI] Fix append/prepend notes rule not working when note already exists - [`468d853`](https://github.com/actualbudget/actual/commit/468d853f7efcfebd7327679f146326cb56865e3e) Add release notes for #7568 - [`9fd954d`](https://github.com/actualbudget/actual/commit/9fd954d397631fa1a728e7d5e74f37fa5e9a3ccd) [AI] Add scoped ErrorBoundaries to report and mobile pages ### 📊 Changes **33 files changed** (+284 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/mobile/accounts/AccountPage.tsx` (+33 -29) 📝 `packages/desktop-client/src/components/mobile/accounts/AccountsPage.tsx` (+20 -16) 📝 `packages/desktop-client/src/components/mobile/banksync/MobileBankSyncAccountEditPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/banksync/MobileBankSyncPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/budget/BudgetPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/budget/CategoryPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/budget/CategoryTransactions.tsx` (+7 -3) 📝 `packages/desktop-client/src/components/mobile/payees/MobilePayeeEditPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/payees/MobilePayeesPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/rules/MobileRuleEditPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/rules/MobileRulesPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/schedules/MobileScheduleEditPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/schedules/MobileSchedulesPage.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx` (+16 -10) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionList.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionListWithBalances.tsx` (+4 -0) 📝 `packages/desktop-client/src/components/reports/reports/AgeOfMoney.tsx` (+7 -1) 📝 `packages/desktop-client/src/components/reports/reports/BalanceForecast.tsx` (+7 -1) 📝 `packages/desktop-client/src/components/reports/reports/BudgetAnalysis.tsx` (+7 -1) 📝 `packages/desktop-client/src/components/reports/reports/Calendar.tsx` (+7 -1) _...and 13 more files_ </details> ### 📄 Description Closes #7391 Wraps all remaining uncovered feature areas with `ErrorBoundary` from `react-error-boundary` (already a dependency), using the shared `FeatureErrorFallback` component. **Reports (11 components):** NetWorth, CashFlow, Spending, Calendar, BalanceForecast, Sankey, Summary, AgeOfMoney, Crossover, Formula, BudgetAnalysis **Mobile (16 components):** BudgetPage, CategoryPage, CategoryTransactions, AccountsPage, AccountPage, TransactionList, TransactionListWithBalances, TransactionEdit, MobileSchedulesPage, MobileScheduleEditPage, MobileRulesPage, MobileRuleEditPage, MobilePayeesPage, MobilePayeeEditPage, MobileBankSyncPage, MobileBankSyncAccountEditPage Each boundary wraps the outermost return of the feature's entry-point component, so a single rendering error is contained to that feature area instead of crashing the whole app. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-05 22:14:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#114373