[PR #3097] [MERGED] Support type-checking on spreadsheet fields (part 3—last part) #4677

Closed
opened 2026-02-28 20:59:32 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3097
Author: @jfdoming
Created: 7/18/2024
Status: Merged
Merged: 8/15/2024
Merged by: @jfdoming

Base: masterHead: jfdoming/strict-binding-types-part-3


📝 Commits (9)

📊 Changes

19 files changed (+156 additions, -75 deletions)

View changed files

📝 packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx (+8 -4)
📝 packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx (+5 -5)
📝 packages/desktop-client/src/components/budget/report/BalanceMenu.tsx (+3 -2)
📝 packages/desktop-client/src/components/budget/report/ReportComponents.tsx (+32 -10)
📝 packages/desktop-client/src/components/budget/report/budgetsummary/BudgetTotal.tsx (+12 -6)
📝 packages/desktop-client/src/components/budget/report/budgetsummary/ExpenseProgress.tsx (+7 -7)
📝 packages/desktop-client/src/components/budget/report/budgetsummary/Saved.tsx (+4 -3)
📝 packages/desktop-client/src/components/budget/rollover/budgetsummary/ToBudgetMenu.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/HoldBufferModal.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/ReportBudgetMenuModal.tsx (+2 -2)
📝 packages/desktop-client/src/components/modals/RolloverBudgetSummaryModal.tsx (+5 -4)
📝 packages/desktop-client/src/components/spreadsheet/CellValue.tsx (+5 -3)
📝 packages/desktop-client/src/components/spreadsheet/index.ts (+26 -5)
📝 packages/desktop-client/src/components/spreadsheet/useSheetName.ts (+6 -3)
📝 packages/desktop-client/src/components/spreadsheet/useSheetValue.ts (+17 -4)
📝 packages/desktop-client/src/components/table.tsx (+2 -4)
📝 packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx (+3 -1)
📝 packages/loot-core/src/client/queries.ts (+11 -10)
upcoming-release-notes/3097.md (+6 -0)

📄 Description

Please see this link to view the diff of this PR excluding parts 1 and 2.

This PR (along with the previous ones, see PRs for parts 1 and 2) adds stricter types to the "spreadsheet" utilities used in the app. See part 1 for more context. This PR adds types for the report-budget spreadsheet and removes the any types.

Please see this link for a collapsed version of all the PRs.


🔄 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/3097 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 7/18/2024 **Status:** ✅ Merged **Merged:** 8/15/2024 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/strict-binding-types-part-3` --- ### 📝 Commits (9) - [`f683f73`](https://github.com/actualbudget/actual/commit/f683f733a3c30d149987df741b098af156e97629) Add report budget typing - [`2ca1edb`](https://github.com/actualbudget/actual/commit/2ca1edb207fd7bb5f483626fcccd1b2b55a8b97d) Remove default `any` types - [`3be3fb8`](https://github.com/actualbudget/actual/commit/3be3fb80ae1d7ba5a91a7ea8a5d8c926b62500c5) Add release notes - [`079d89f`](https://github.com/actualbudget/actual/commit/079d89f835be613b972b04ebefc6f0d0a61bb8e8) Fix lint - [`322267d`](https://github.com/actualbudget/actual/commit/322267dabd2b1571dc8dba2ce5f87a9838bd31f9) Attempt to fix unrelated test error - [`9b896a9`](https://github.com/actualbudget/actual/commit/9b896a9e114dbcc1948f9d9d88ef1d09a377f14f) fix: changed type name - [`3360ac8`](https://github.com/actualbudget/actual/commit/3360ac8f382416c408bba5d017c5ebb5f8e512d8) More correct types - [`d5efe98`](https://github.com/actualbudget/actual/commit/d5efe98a946635d8843748c551543f9ba1f74347) fix types - [`65edb86`](https://github.com/actualbudget/actual/commit/65edb8695b3a445a1dbb37de5117bfc8922b083b) Merge branch 'master' into jfdoming/strict-binding-types-part-3 ### 📊 Changes **19 files changed** (+156 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx` (+8 -4) 📝 `packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/budget/report/BalanceMenu.tsx` (+3 -2) 📝 `packages/desktop-client/src/components/budget/report/ReportComponents.tsx` (+32 -10) 📝 `packages/desktop-client/src/components/budget/report/budgetsummary/BudgetTotal.tsx` (+12 -6) 📝 `packages/desktop-client/src/components/budget/report/budgetsummary/ExpenseProgress.tsx` (+7 -7) 📝 `packages/desktop-client/src/components/budget/report/budgetsummary/Saved.tsx` (+4 -3) 📝 `packages/desktop-client/src/components/budget/rollover/budgetsummary/ToBudgetMenu.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/HoldBufferModal.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/ReportBudgetMenuModal.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/modals/RolloverBudgetSummaryModal.tsx` (+5 -4) 📝 `packages/desktop-client/src/components/spreadsheet/CellValue.tsx` (+5 -3) 📝 `packages/desktop-client/src/components/spreadsheet/index.ts` (+26 -5) 📝 `packages/desktop-client/src/components/spreadsheet/useSheetName.ts` (+6 -3) 📝 `packages/desktop-client/src/components/spreadsheet/useSheetValue.ts` (+17 -4) 📝 `packages/desktop-client/src/components/table.tsx` (+2 -4) 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx` (+3 -1) 📝 `packages/loot-core/src/client/queries.ts` (+11 -10) ➕ `upcoming-release-notes/3097.md` (+6 -0) </details> ### 📄 Description ### Please see [this link](https://github.com/jfdoming/actual/compare/jfdoming/strict-binding-types-part-2...jfdoming:actual:jfdoming/strict-binding-types-part-3) to view the diff of this PR excluding parts 1 and 2. This PR (along with the previous ones, see PRs for parts [1](https://github.com/actualbudget/actual/pull/3093) and [2](https://github.com/actualbudget/actual/pull/3095)) adds stricter types to the "spreadsheet" utilities used in the app. See [part 1](https://github.com/actualbudget/actual/pull/3093) for more context. This PR adds types for the `report-budget` spreadsheet and removes the `any` types. Please see [this link](https://github.com/actualbudget/actual/compare/master...jfdoming:actual:jfdoming/strict-binding-types-demo) for a collapsed version of all the PRs. --- <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-02-28 20:59:32 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4677