[PR #5326] [MERGED] fix: Save Account Notes #5878

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5326
Author: @passabilities
Created: 7/13/2025
Status: Merged
Merged: 7/18/2025
Merged by: @MikesGlitch

Base: masterHead: fix-notes-callback


📝 Commits (3)

  • c90c729 replace static function with useCallback
  • c0f4a59 reset tempNote on id change
  • 3101026 save notes only if changes are made

📊 Changes

2 files changed (+22 additions, -6 deletions)

View changed files

📝 packages/desktop-client/src/components/NotesButton.tsx (+16 -6)
upcoming-release-notes/5326.md (+6 -0)

📄 Description

Occasionally, if you are editing the notes of an account and then open another account from the sidebar without first closing the popover, the note would be saved to both the current and previously opened account.


🔄 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/5326 **Author:** [@passabilities](https://github.com/passabilities) **Created:** 7/13/2025 **Status:** ✅ Merged **Merged:** 7/18/2025 **Merged by:** [@MikesGlitch](https://github.com/MikesGlitch) **Base:** `master` ← **Head:** `fix-notes-callback` --- ### 📝 Commits (3) - [`c90c729`](https://github.com/actualbudget/actual/commit/c90c7299cd456e1ac2ffb7573773edb18a5d6ff1) replace static function with useCallback - [`c0f4a59`](https://github.com/actualbudget/actual/commit/c0f4a59d95910760401c520e64337077f7e10858) reset tempNote on id change - [`3101026`](https://github.com/actualbudget/actual/commit/3101026e68ee377c39320cb666ab6e21d335d1ce) save notes only if changes are made ### 📊 Changes **2 files changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/NotesButton.tsx` (+16 -6) ➕ `upcoming-release-notes/5326.md` (+6 -0) </details> ### 📄 Description Occasionally, if you are editing the notes of an account and then open another account from the sidebar without first closing the popover, the note would be saved to both the current and previously opened account. <!-- 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. --> --- <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:20:17 -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#5878