[PR #6336] [MERGED] fix: add missing error handling to transaction creation page #13505

Closed
opened 2026-04-10 21:56:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6336
Author: @MatissJanis
Created: 12/8/2025
Status: Merged
Merged: 12/15/2025
Merged by: @MatissJanis

Base: masterHead: cursor/sync-mobile-to-desktop-896f


📝 Commits (8)

  • ef06c6e feat: Show add account prompt when no accounts exist
  • 7e9ad0f Fix: Show category creation prompt when no categories exist
  • aefbb29 Refactor: Navigate to budget instead of opening modal
  • a2e1d8f Add release notes for PR #6336
  • 4c53ca0 Merge branch 'master' into cursor/sync-mobile-to-desktop-896f
  • cc179cf Merge branch 'master' into cursor/sync-mobile-to-desktop-896f
  • c2a322b Merge branch 'master' into cursor/sync-mobile-to-desktop-896f
  • ef17c87 [autofix.ci] apply automated fixes

📊 Changes

2 files changed (+111 additions, -5 deletions)

View changed files

📝 packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx (+105 -5)
upcoming-release-notes/6336.md (+6 -0)

📄 Description

Fix: Mobile "Add Transaction" blank page when no accounts exist

This PR resolves an issue where the "Add Transaction" page on mobile devices would appear blank if no accounts were configured. Fixes #6311

Previously, the TransactionEdit component returned null when no accounts were present, leading to a broken user experience. This change aligns the mobile behavior with the desktop experience, providing a clear message and an "Add account" button to guide users, rather than a blank screen.


Open in Cursor Open in Web


🔄 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/6336 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 12/8/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `cursor/sync-mobile-to-desktop-896f` --- ### 📝 Commits (8) - [`ef06c6e`](https://github.com/actualbudget/actual/commit/ef06c6e73650218d1943acf25db895d676fd97cd) feat: Show add account prompt when no accounts exist - [`7e9ad0f`](https://github.com/actualbudget/actual/commit/7e9ad0f2e6b9f1f349d46d0ebd53b9765fc3e0ad) Fix: Show category creation prompt when no categories exist - [`aefbb29`](https://github.com/actualbudget/actual/commit/aefbb2903259c2be1403151f0496406b6ba4aa62) Refactor: Navigate to budget instead of opening modal - [`a2e1d8f`](https://github.com/actualbudget/actual/commit/a2e1d8f79e6cea7a2e34ee57d8383339ba278736) Add release notes for PR #6336 - [`4c53ca0`](https://github.com/actualbudget/actual/commit/4c53ca0a3d7f09aa3b39aed574b751099aa1ae58) Merge branch 'master' into cursor/sync-mobile-to-desktop-896f - [`cc179cf`](https://github.com/actualbudget/actual/commit/cc179cf9aae047b9452786e1d1e848eb89b82eaf) Merge branch 'master' into cursor/sync-mobile-to-desktop-896f - [`c2a322b`](https://github.com/actualbudget/actual/commit/c2a322b9eb673cdba334570ce9c8724d8b4d6507) Merge branch 'master' into cursor/sync-mobile-to-desktop-896f - [`ef17c87`](https://github.com/actualbudget/actual/commit/ef17c877ed8d058e4758dbd3ec858cf64cee0cf6) [autofix.ci] apply automated fixes ### 📊 Changes **2 files changed** (+111 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx` (+105 -5) ➕ `upcoming-release-notes/6336.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. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Fix: Mobile "Add Transaction" blank page when no accounts exist This PR resolves an issue where the "Add Transaction" page on mobile devices would appear blank if no accounts were configured. Fixes #6311 Previously, the `TransactionEdit` component returned `null` when no accounts were present, leading to a broken user experience. This change aligns the mobile behavior with the desktop experience, providing a clear message and an "Add account" button to guide users, rather than a blank screen. --- <a href="https://cursor.com/background-agent?bcId=bc-4a8870c7-a3a1-4b39-b4ee-d5df090778e5"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-4a8870c7-a3a1-4b39-b4ee-d5df090778e5"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a> --- <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-10 21:56:15 -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#13505