From 3b14fd08c315f4412596bce86dec4cea24be2aee Mon Sep 17 00:00:00 2001 From: Pranay S Date: Mon, 30 Mar 2026 11:46:59 -0400 Subject: [PATCH] [AI] Mobile: Post transaction today on global account lists (#7311) (#7322) * [AI] Mobile: pass today for Post transaction today on global account lists (#7311) All Accounts, On budget, and Off budget transaction lists now forward the today flag to schedule/post-transaction, matching single-account mobile and desktop behavior. Made-with: Cursor * [AI] Add release note for PR 7322 (#7311) Made-with: Cursor * [AI] Tighten release note wording for PR 7322 (imperative) Made-with: Cursor --------- Co-authored-by: Pranay Mac M1 --- .../components/mobile/accounts/AllAccountTransactions.tsx | 7 +++++-- .../mobile/accounts/OffBudgetAccountTransactions.tsx | 7 +++++-- .../mobile/accounts/OnBudgetAccountTransactions.tsx | 7 +++++-- upcoming-release-notes/7322.md | 6 ++++++ 4 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 upcoming-release-notes/7322.md diff --git a/packages/desktop-client/src/components/mobile/accounts/AllAccountTransactions.tsx b/packages/desktop-client/src/components/mobile/accounts/AllAccountTransactions.tsx index d21cb6c131..867d58895d 100644 --- a/packages/desktop-client/src/components/mobile/accounts/AllAccountTransactions.tsx +++ b/packages/desktop-client/src/components/mobile/accounts/AllAccountTransactions.tsx @@ -71,9 +71,12 @@ function TransactionListWithPreviews() { name: 'scheduled-transaction-menu', options: { transactionId: transaction.id, - onPost: async transactionId => { + onPost: async (transactionId, today = false) => { const parts = transactionId.split('/'); - await send('schedule/post-transaction', { id: parts[1] }); + await send('schedule/post-transaction', { + id: parts[1], + today, + }); dispatch( collapseModals({ rootModalName: 'scheduled-transaction-menu', diff --git a/packages/desktop-client/src/components/mobile/accounts/OffBudgetAccountTransactions.tsx b/packages/desktop-client/src/components/mobile/accounts/OffBudgetAccountTransactions.tsx index 95f2afee1f..a99614aea2 100644 --- a/packages/desktop-client/src/components/mobile/accounts/OffBudgetAccountTransactions.tsx +++ b/packages/desktop-client/src/components/mobile/accounts/OffBudgetAccountTransactions.tsx @@ -82,9 +82,12 @@ function TransactionListWithPreviews() { name: 'scheduled-transaction-menu', options: { transactionId: transaction.id, - onPost: async transactionId => { + onPost: async (transactionId, today = false) => { const parts = transactionId.split('/'); - await send('schedule/post-transaction', { id: parts[1] }); + await send('schedule/post-transaction', { + id: parts[1], + today, + }); dispatch( collapseModals({ rootModalName: 'scheduled-transaction-menu', diff --git a/packages/desktop-client/src/components/mobile/accounts/OnBudgetAccountTransactions.tsx b/packages/desktop-client/src/components/mobile/accounts/OnBudgetAccountTransactions.tsx index 3c2fc2fa87..2c02850f47 100644 --- a/packages/desktop-client/src/components/mobile/accounts/OnBudgetAccountTransactions.tsx +++ b/packages/desktop-client/src/components/mobile/accounts/OnBudgetAccountTransactions.tsx @@ -82,9 +82,12 @@ function TransactionListWithPreviews() { name: 'scheduled-transaction-menu', options: { transactionId: transaction.id, - onPost: async transactionId => { + onPost: async (transactionId, today = false) => { const parts = transactionId.split('/'); - await send('schedule/post-transaction', { id: parts[1] }); + await send('schedule/post-transaction', { + id: parts[1], + today, + }); dispatch( collapseModals({ rootModalName: 'scheduled-transaction-menu', diff --git a/upcoming-release-notes/7322.md b/upcoming-release-notes/7322.md new file mode 100644 index 0000000000..4065ba35cd --- /dev/null +++ b/upcoming-release-notes/7322.md @@ -0,0 +1,6 @@ +--- +category: Bugfixes +authors: [pranayseela] +--- + +Fix mobile Post transaction today on All Accounts, On budget, and Off budget lists so scheduled previews post with today's date, matching single-account mobile and desktop.