[PR #3978] [MERGED] fix: use pressed key rather than its code #4623

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3978
Author: @posva
Created: 4/15/2024
Status: Merged
Merged: 4/19/2024
Merged by: @AndrewBastin

Base: release/2024.3.1Head: fix-keybindings


📝 Commits (3)

  • 2ac4112 fix: use pressed key rather than its code
  • e420160 Update packages/hoppscotch-common/src/helpers/keybindings.ts
  • dae3cc9 refactor: updated logic for letter and digit check and reverted back to using ev.key

📊 Changes

3 files changed (+14857 additions, -12786 deletions)

View changed files

📝 packages/hoppscotch-common/src/components.d.ts (+204 -204)
📝 packages/hoppscotch-common/src/helpers/keybindings.ts (+10 -17)
📝 pnpm-lock.yaml (+14643 -12565)

📄 Description

Fix #3833

Closes #

Description

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information


🔄 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/3978 **Author:** [@posva](https://github.com/posva) **Created:** 4/15/2024 **Status:** ✅ Merged **Merged:** 4/19/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2024.3.1` ← **Head:** `fix-keybindings` --- ### 📝 Commits (3) - [`2ac4112`](https://github.com/hoppscotch/hoppscotch/commit/2ac41125bf11e9e8e17d58fe8e9407eb3267501a) fix: use pressed key rather than its code - [`e420160`](https://github.com/hoppscotch/hoppscotch/commit/e420160a12b8017681089fd3742c3dcd4ef66e59) Update packages/hoppscotch-common/src/helpers/keybindings.ts - [`dae3cc9`](https://github.com/hoppscotch/hoppscotch/commit/dae3cc954ce271677020d6c427b259af988cd6c0) refactor: updated logic for letter and digit check and reverted back to using ev.key ### 📊 Changes **3 files changed** (+14857 additions, -12786 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components.d.ts` (+204 -204) 📝 `packages/hoppscotch-common/src/helpers/keybindings.ts` (+10 -17) 📝 `pnpm-lock.yaml` (+14643 -12565) </details> ### 📄 Description Fix #3833 <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ### Description <!-- Add a brief description of the pull request --> <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [ ] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:08:34 +03:00
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#4623
No description provided.