[PR #279] [MERGED] Add tree rename (on Enter) and global rename hotkeys #201

Closed
opened 2025-12-29 07:19:50 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/279
Author: @gschier
Created: 10/24/2025
Status: Merged
Merged: 10/24/2025
Merged by: @gschier

Base: mainHead: rename-hotkeys


📝 Commits (2)

  • 663148b Add tree item renaming and update keyboard shortcut handling
  • 4b48ecc Address comments

📊 Changes

9 files changed (+218 additions, -93 deletions)

View changed files

📝 src-web/components/CommandPaletteDialog.tsx (+6 -1)
📝 src-web/components/GlobalHooks.tsx (+14 -1)
📝 src-web/components/NewSidebar.tsx (+42 -25)
📝 src-web/components/RecentRequestsDropdown.tsx (+3 -3)
📝 src-web/components/core/Dropdown.tsx (+2 -5)
📝 src-web/components/core/tree/Tree.tsx (+69 -23)
📝 src-web/components/core/tree/TreeItem.tsx (+36 -10)
📝 src-web/components/core/tree/TreeItemList.tsx (+5 -2)
📝 src-web/hooks/useHotKey.ts (+41 -23)

📄 Description

This PR adds the following hotkeys:

  • Press Enter on focused sidebar item to rename
  • Press F2 (Ctrl+Shift+R on Mac) globally, to rename the current request

Closes https://feedback.yaak.app/p/rename-with-f2


🔄 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/mountain-loop/yaak/pull/279 **Author:** [@gschier](https://github.com/gschier) **Created:** 10/24/2025 **Status:** ✅ Merged **Merged:** 10/24/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `rename-hotkeys` --- ### 📝 Commits (2) - [`663148b`](https://github.com/mountain-loop/yaak/commit/663148b6bee158d64f7eeaca460bb6cb37472760) Add tree item renaming and update keyboard shortcut handling - [`4b48ecc`](https://github.com/mountain-loop/yaak/commit/4b48ecc9714cde0f6415772cc9ce9c5ed262da90) Address comments ### 📊 Changes **9 files changed** (+218 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `src-web/components/CommandPaletteDialog.tsx` (+6 -1) 📝 `src-web/components/GlobalHooks.tsx` (+14 -1) 📝 `src-web/components/NewSidebar.tsx` (+42 -25) 📝 `src-web/components/RecentRequestsDropdown.tsx` (+3 -3) 📝 `src-web/components/core/Dropdown.tsx` (+2 -5) 📝 `src-web/components/core/tree/Tree.tsx` (+69 -23) 📝 `src-web/components/core/tree/TreeItem.tsx` (+36 -10) 📝 `src-web/components/core/tree/TreeItemList.tsx` (+5 -2) 📝 `src-web/hooks/useHotKey.ts` (+41 -23) </details> ### 📄 Description This PR adds the following hotkeys: - Press `Enter` on focused sidebar item to rename - Press F2 (Ctrl+Shift+R on Mac) globally, to rename the current request Closes https://feedback.yaak.app/p/rename-with-f2 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:50 +01:00
adam closed this issue 2025-12-29 07:19:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#201