[PR #3945] [MERGED] Migrate useSplitsExpanded to TypeScript #39563

Closed
opened 2026-04-23 12:29:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3945
Author: @dkhalife
Created: 12/9/2024
Status: Merged
Merged: 12/12/2024
Merged by: @joel-jeremy

Base: masterHead: dkhalife/ts/useSplitsExpanded


📝 Commits (8)

📊 Changes

4 files changed (+93 additions, -14 deletions)

View changed files

📝 packages/desktop-client/src/components/transactions/TransactionsTable.jsx (+4 -4)
📝 packages/desktop-client/src/hooks/useSplitsExpanded.tsx (+77 -9)
📝 packages/loot-core/src/client/state-types/app.d.ts (+6 -1)
upcoming-release-notes/3945.md (+6 -0)

📄 Description

Helping out with issue #1483 starting with a smallish file.

Changes:

  • Switched the file extension to tsx
  • Verified that yarn build passes
  • Added some more types to harden the code wherever I saw fit
  • Tested that expanding/collapsing transactions shows/hides the relevant rows in the table

🔄 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/3945 **Author:** [@dkhalife](https://github.com/dkhalife) **Created:** 12/9/2024 **Status:** ✅ Merged **Merged:** 12/12/2024 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `dkhalife/ts/useSplitsExpanded` --- ### 📝 Commits (8) - [`c87e923`](https://github.com/actualbudget/actual/commit/c87e9232a6681b503bb44ce74cde94f665b6a0d4) useSplitsExpanded renamed to .tsx - [`82ad03e`](https://github.com/actualbudget/actual/commit/82ad03ecd1421a84a58a8f6a046684a5bd4b3e24) Some type hardening - [`6c7090b`](https://github.com/actualbudget/actual/commit/6c7090bc0ce1c3dc235569eec55d05d0dc025b78) add release note - [`b818290`](https://github.com/actualbudget/actual/commit/b8182908f5b7e6f5e2bdcef82953efd833d6a220) lint - [`8efaaac`](https://github.com/actualbudget/actual/commit/8efaaac5984f091be12d1222818aa37d334be70a) typecheck - [`d76b4af`](https://github.com/actualbudget/actual/commit/d76b4af10d01f46d51cf21916ba0aecfc3dc9c70) lint - [`7d2d319`](https://github.com/actualbudget/actual/commit/7d2d31931e9ae37a225eb1a742074459b23d14d4) rename expanded -> isExpanded - [`3120ac9`](https://github.com/actualbudget/actual/commit/3120ac987d67c7d95061c4a40450a2870e4eb6f9) Merge branch 'master' into dkhalife/ts/useSplitsExpanded ### 📊 Changes **4 files changed** (+93 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.jsx` (+4 -4) 📝 `packages/desktop-client/src/hooks/useSplitsExpanded.tsx` (+77 -9) 📝 `packages/loot-core/src/client/state-types/app.d.ts` (+6 -1) ➕ `upcoming-release-notes/3945.md` (+6 -0) </details> ### 📄 Description Helping out with issue #1483 starting with a smallish file. Changes: - Switched the file extension to tsx - Verified that `yarn build` passes - Added some more types to harden the code wherever I saw fit - Tested that expanding/collapsing transactions shows/hides the relevant rows in the table --- <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-04-23 12:29:54 -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#39563