[PR #3402] [MERGED] Fix wrong scheduled transfer payment direction on PWA #4836

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3402
Author: @joel-jeremy
Created: 9/9/2024
Status: Merged
Merged: 11/19/2024
Merged by: @joel-jeremy

Base: masterHead: fix-3230


📝 Commits (10+)

📊 Changes

17 files changed (+235 additions, -206 deletions)

View changed files

📝 packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-1-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-2-chromium-linux.png (+0 -0)
📝 packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-3-chromium-linux.png (+0 -0)
📝 packages/desktop-client/src/components/accounts/Account.tsx (+28 -25)
📝 packages/desktop-client/src/components/mobile/accounts/AccountTransactions.tsx (+4 -2)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx (+19 -35)
📝 packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx (+12 -19)
packages/desktop-client/src/components/mobile/utils.ts (+31 -0)
📝 packages/desktop-client/src/components/transactions/TransactionsTable.jsx (+26 -37)
packages/desktop-client/src/hooks/useAccountPreviewTransactions.ts (+93 -0)
packages/desktop-client/src/hooks/usePreviewTransactions.ts (+0 -77)
📝 packages/loot-core/src/client/data-hooks/schedules.tsx (+1 -1)
📝 packages/loot-core/src/client/data-hooks/transactions.ts (+4 -3)
📝 packages/loot-core/src/client/query-hooks.ts (+2 -2)
📝 packages/loot-core/src/shared/schedules.ts (+8 -4)
📝 packages/loot-core/src/types/models/schedule.d.ts (+1 -1)
upcoming-release-notes/3402.md (+6 -0)

📄 Description

Fixes #3230

This PR introduces a new hook useAccountPreviewTransactions which builds on top of the new usePreviewTransactions hook. This new hook centralizes the logic to inverse the payees, accounts, amounts depending on where the preview transactions are being viewed from.


🔄 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/3402 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 9/9/2024 **Status:** ✅ Merged **Merged:** 11/19/2024 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `fix-3230` --- ### 📝 Commits (10+) - [`897f040`](https://github.com/actualbudget/actual/commit/897f040170930cc9611506e61931930bfdb048dd) Fix #3230 - [`2dcbbb1`](https://github.com/actualbudget/actual/commit/2dcbbb12f569c3f3bb322990879add5ee7fa4c2e) Release notes - [`c7b86ac`](https://github.com/actualbudget/actual/commit/c7b86ac3d1bb83c9c67547e27aab9908a36d0e75) Rename hook function - [`cc3e424`](https://github.com/actualbudget/actual/commit/cc3e4242ba92888e4425d606f5c0ff44ca2020bd) [chore] Comment - [`dbcc669`](https://github.com/actualbudget/actual/commit/dbcc669c3f66e054104994074891f391950f8966) Coderabbit feedback - [`25c54ac`](https://github.com/actualbudget/actual/commit/25c54ac3f7a5108c2a7fbdacfdbba0027fdc0aa6) Fix loading states - [`3695dd0`](https://github.com/actualbudget/actual/commit/3695dd040966964fb21e3617918a6450319170d8) Code rabbit - [`1e2b374`](https://github.com/actualbudget/actual/commit/1e2b374e60d4d01ddb73ea41d61e9349055012d7) No payee text - [`6aa86c6`](https://github.com/actualbudget/actual/commit/6aa86c6cf4ef818ecc2b2a5b688ef94b02f925cb) Update VRT - [`1e01626`](https://github.com/actualbudget/actual/commit/1e01626727ef68c5c6c36521ffb709391b078909) Update release notes ### 📊 Changes **17 files changed** (+235 additions, -206 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-1-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-2-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/e2e/accounts.mobile.test.js-snapshots/Mobile-Accounts-opens-individual-account-page-and-checks-that-filtering-is-working-3-chromium-linux.png` (+0 -0) 📝 `packages/desktop-client/src/components/accounts/Account.tsx` (+28 -25) 📝 `packages/desktop-client/src/components/mobile/accounts/AccountTransactions.tsx` (+4 -2) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx` (+19 -35) 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionListItem.tsx` (+12 -19) ➕ `packages/desktop-client/src/components/mobile/utils.ts` (+31 -0) 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.jsx` (+26 -37) ➕ `packages/desktop-client/src/hooks/useAccountPreviewTransactions.ts` (+93 -0) ➖ `packages/desktop-client/src/hooks/usePreviewTransactions.ts` (+0 -77) 📝 `packages/loot-core/src/client/data-hooks/schedules.tsx` (+1 -1) 📝 `packages/loot-core/src/client/data-hooks/transactions.ts` (+4 -3) 📝 `packages/loot-core/src/client/query-hooks.ts` (+2 -2) 📝 `packages/loot-core/src/shared/schedules.ts` (+8 -4) 📝 `packages/loot-core/src/types/models/schedule.d.ts` (+1 -1) ➕ `upcoming-release-notes/3402.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> Fixes #3230 This PR introduces a new hook `useAccountPreviewTransactions` which builds on top of the new `usePreviewTransactions` hook. This new hook centralizes the logic to inverse the payees, accounts, amounts depending on where the preview transactions are being viewed from. --- <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 21:01:58 -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#4836