[PR #659] [MERGED] Improve handling of the undo/redo shortcuts #3235

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/659
Author: @j-f1
Created: 2/14/2023
Status: Merged
Merged: 2/16/2023
Merged by: @j-f1

Base: masterHead: jed/undo-keyboard-shortcuts


📝 Commits (4)

  • 2ef3aa3 Prevent Cmd+Z/Cmd+Shift+Z from propagating to the browser
  • 03b1034 Allow browser to handle undo/redo shortcuts in input fields
  • 0a7d7bc Don’t change a transaction’s note from null to ''
  • 6809d59 Merge branch 'master' into jed/undo-keyboard-shortcuts

📊 Changes

2 files changed (+13 additions, -0 deletions)

View changed files

📝 packages/desktop-client/src/browser-preload.browser.js (+8 -0)
📝 packages/desktop-client/src/components/accounts/TransactionsTable.js (+5 -0)

📄 Description

Fixes #606:

  • when the undo/redo is handled, stop the browser from applying its automatic undo/redo behavior (for example, Safari will reopen the last closed tab)
  • when focused on an input field, give the browser’s undo precedence over Actual’s undo (e.g. undo making changes to a text field that haven’t yet been committed)

🔄 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/659 **Author:** [@j-f1](https://github.com/j-f1) **Created:** 2/14/2023 **Status:** ✅ Merged **Merged:** 2/16/2023 **Merged by:** [@j-f1](https://github.com/j-f1) **Base:** `master` ← **Head:** `jed/undo-keyboard-shortcuts` --- ### 📝 Commits (4) - [`2ef3aa3`](https://github.com/actualbudget/actual/commit/2ef3aa32fcb2b9ad67dc9bafc6ce1e06136b2008) Prevent Cmd+Z/Cmd+Shift+Z from propagating to the browser - [`03b1034`](https://github.com/actualbudget/actual/commit/03b1034133452bdb2731cf932a76d79e8bdf44c6) Allow browser to handle undo/redo shortcuts in input fields - [`0a7d7bc`](https://github.com/actualbudget/actual/commit/0a7d7bc0d7a78651185ef44335449affa021b205) Don’t change a transaction’s note from null to '' - [`6809d59`](https://github.com/actualbudget/actual/commit/6809d59fd595a50bc5af8e6691bc8298c092d289) Merge branch 'master' into jed/undo-keyboard-shortcuts ### 📊 Changes **2 files changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/browser-preload.browser.js` (+8 -0) 📝 `packages/desktop-client/src/components/accounts/TransactionsTable.js` (+5 -0) </details> ### 📄 Description Fixes #606: - when the undo/redo is handled, stop the browser from applying its automatic undo/redo behavior (for example, Safari will reopen the last closed tab) - when focused on an input field, give the browser’s undo precedence over Actual’s undo (e.g. undo making changes to a text field that haven’t yet been committed) --- <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 20:38:34 -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#3235