[PR #6282] Add find and replace (with RegEx support) mode when editing transaction notes #6426

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

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

State: closed
Merged: Yes


Adds a Find and Replace mode in EditFieldModal for the notes field. Optionally allows RegEx

Animation


Note

Adds a Find & Replace mode (with optional regex) for transaction notes, wired into single and batch edits.

  • UI/Editing:
    • EditFieldModal: adds note amend mode "findAndReplace" with optional regex, new Find/Replace inputs, validation, and unified mode buttons.
    • TransactionEdit (mobile) and useTransactionBatchActions: apply find-and-replace to notes on submit, including regex handling.
    • modalsSlice: expands edit-field modal types to support new mode and value shape.
  • Utilities:
    • loot-core/shared/util: adds applyFindReplace(text, find, replace, useRegex) helper.
  • Docs:
    • Adds release note entry upcoming-release-notes/6282.md.

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

Summary by CodeRabbit

  • New Features

    • Added Find & Replace functionality for transaction notes, including optional regular expression (regex) support for advanced pattern matching.
  • Improvements

    • Enhanced note editing modal with dedicated Find and Replace input fields and improved button layout.

✏️ Tip: You can customize this high-level summary in your review settings.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6282 **State:** closed **Merged:** Yes --- Adds a Find and Replace mode in `EditFieldModal` for the notes field. Optionally allows RegEx ![Animation](https://github.com/user-attachments/assets/e828824c-0b0c-462a-83bd-353d967f55c3) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds a Find & Replace mode (with optional regex) for transaction notes, wired into single and batch edits. > > - **UI/Editing**: > - `EditFieldModal`: adds note amend mode "findAndReplace" with optional regex, new Find/Replace inputs, validation, and unified mode buttons. > - `TransactionEdit` (mobile) and `useTransactionBatchActions`: apply find-and-replace to `notes` on submit, including regex handling. > - `modalsSlice`: expands `edit-field` modal types to support new mode and value shape. > - **Utilities**: > - `loot-core/shared/util`: adds `applyFindReplace(text, find, replace, useRegex)` helper. > - **Docs**: > - Adds release note entry `upcoming-release-notes/6282.md`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 3582ad14f25643bd32cd07cff45c59aaea71e50b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Find & Replace functionality for transaction notes, including optional regular expression (regex) support for advanced pattern matching. * **Improvements** * Enhanced note editing modal with dedicated Find and Replace input fields and improved button layout. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
GiteaMirror added the pull-request label 2026-02-28 21:28:08 -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#6426