[PR #5978] Remove ctrl + backspace binding #5444

Open
opened 2026-03-17 02:53:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5978
Author: @saksham242007
Created: 3/12/2026
Status: 🔄 Open

Base: mainHead: fix-ctrl-backspace


📝 Commits (2)

  • 4244e12 Improve browser network error message with CORS hint when cause is unavailable
  • 288afba fix: remove ctrl-backspace binding

📊 Changes

3 files changed (+14 additions, -7 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+3 -2)
📝 packages/hoppscotch-common/src/helpers/keybindings.ts (+0 -1)
📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/browser/index.ts (+11 -4)

📄 Description

Ctrl + Backspace was mapped to response.erase, which clears the response.
I removed this binding so Ctrl + Backspace follows the usual behavior of deleting the previous word, which is how it works in most browsers.
Fixes #5967


Summary by cubic

Restores default Ctrl+Backspace behavior and improves browser network error messages with a CORS hint when the cause is unknown. Fixes #5967.

  • Bug Fixes
    • Removed ctrl-backspace -> response.erase binding in hoppscotch-common so Ctrl+Backspace deletes the previous word.
    • When a browser network error has no cause, show a CORS hint; added i18n text and updated the browser interceptor to use it.

Written for commit 288afba26a. Summary will update on new commits.


🔄 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/hoppscotch/hoppscotch/pull/5978 **Author:** [@saksham242007](https://github.com/saksham242007) **Created:** 3/12/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-ctrl-backspace` --- ### 📝 Commits (2) - [`4244e12`](https://github.com/hoppscotch/hoppscotch/commit/4244e122c1cd1d46ef267b0879d5b545702f848b) Improve browser network error message with CORS hint when cause is unavailable - [`288afba`](https://github.com/hoppscotch/hoppscotch/commit/288afba26ac26ff15716055a26a5761427c04c11) fix: remove ctrl-backspace binding ### 📊 Changes **3 files changed** (+14 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+3 -2) 📝 `packages/hoppscotch-common/src/helpers/keybindings.ts` (+0 -1) 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/browser/index.ts` (+11 -4) </details> ### 📄 Description Ctrl + Backspace was mapped to response.erase, which clears the response. I removed this binding so Ctrl + Backspace follows the usual behavior of deleting the previous word, which is how it works in most browsers. Fixes #5967 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Restores default Ctrl+Backspace behavior and improves browser network error messages with a CORS hint when the cause is unknown. Fixes #5967. - **Bug Fixes** - Removed `ctrl-backspace -> response.erase` binding in `hoppscotch-common` so Ctrl+Backspace deletes the previous word. - When a browser network error has no cause, show a CORS hint; added i18n text and updated the browser interceptor to use it. <sup>Written for commit 288afba26ac26ff15716055a26a5761427c04c11. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#5444
No description provided.