[PR #5998] TypeScript: TransactionEdit #6264

Closed
opened 2026-02-28 21:25:57 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5998

State: closed
Merged: Yes


Technically the same logic as before.. but unfortunately there are so many type-level changes that Github isn't showing a unified diff, but instead shows it as a brand new file.


Note

Migrate mobile TransactionEdit to TypeScript with typed models/props and minor null-safety tweaks, plus maintenance release notes.

  • Mobile UI (TypeScript migration):
    • Convert packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx to TransactionEdit.tsx with strong typing (TransactionEntity, AccountEntity, CategoryEntity, PayeeEntity).
    • Typed props and callbacks (generics for onUpdate, onEditField), added null-safety/guards (e.g., Status returns null on default, optional chaining), and minor TS-related adjustments without altering behavior.
  • Release Notes:
    • Add upcoming-release-notes/5998.md (Maintenance).

Written by Cursor Bugbot for commit 2c25de3af0. This will update automatically on new commits. Configure here.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5998 **State:** closed **Merged:** Yes --- Technically the same logic as before.. but unfortunately there are so many type-level changes that Github isn't showing a unified diff, but instead shows it as a brand new file. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Migrate mobile `TransactionEdit` to TypeScript with typed models/props and minor null-safety tweaks, plus maintenance release notes. > > - **Mobile UI (TypeScript migration)**: > - Convert `packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx` to `TransactionEdit.tsx` with strong typing (`TransactionEntity`, `AccountEntity`, `CategoryEntity`, `PayeeEntity`). > - Typed props and callbacks (generics for `onUpdate`, `onEditField`), added null-safety/guards (e.g., `Status` returns `null` on default, optional chaining), and minor TS-related adjustments without altering behavior. > - **Release Notes**: > - Add `upcoming-release-notes/5998.md` (Maintenance). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 2c25de3af01dddec8696b66901e569f7168f5228. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
GiteaMirror added the pull-request label 2026-02-28 21:25:57 -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#6264