[PR #177] [MERGED] fix keyboard shortcut (ctrl + k) with empty categories #2422

Closed
opened 2025-11-20 05:29:47 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/177
Author: @Supavasinan
Created: 11/11/2024
Status: Merged
Merged: 11/11/2024
Merged by: @BramSuurdje

Base: mainHead: search_feature


📝 Commits (1)

  • 34e3242 fix keyboard shortcut (ctrl + k) with empty categories

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 frontend/src/components/CommandMenu.tsx (+1 -0)

📄 Description

Description

On page load, if the search bar in the navbar hasn’t been clicked, pressing (Ctrl + K) does not display the categories because data fetching hasn’t been triggered. You need to click the search bar first to fetch the data.

Type of change

Please check the relevant option(s):

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites

The following efforts must be made for the PR to be considered. Please check when completed:

  • Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
  • Testing performed (I have tested my changes, ensuring everything works as expected)
  • Documentation updated (I have updated any relevant documentation)

Additional Information (optional)

Provide any additional context or screenshots about the feature or fix here.

before:
Screenshot 2024-11-11 204816

after:
Screenshot 2024-11-11 205349


🔄 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/community-scripts/ProxmoxVE/pull/177 **Author:** [@Supavasinan](https://github.com/Supavasinan) **Created:** 11/11/2024 **Status:** ✅ Merged **Merged:** 11/11/2024 **Merged by:** [@BramSuurdje](https://github.com/BramSuurdje) **Base:** `main` ← **Head:** `search_feature` --- ### 📝 Commits (1) - [`34e3242`](https://github.com/community-scripts/ProxmoxVE/commit/34e3242f7f4ae1f469fa8d1082e727ab9b4e6f2a) fix keyboard shortcut (ctrl + k) with empty categories ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/CommandMenu.tsx` (+1 -0) </details> ### 📄 Description ## Description On page load, if the search bar in the navbar hasn’t been clicked, pressing (Ctrl + K) does not display the categories because data fetching hasn’t been triggered. You need to click the search bar first to fetch the data. ## Type of change Please check the relevant option(s): - [x] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts.) ## Prerequisites The following efforts must be made for the PR to be considered. Please check when completed: - [x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) - [x] Testing performed (I have tested my changes, ensuring everything works as expected) - [ ] Documentation updated (I have updated any relevant documentation) ## Additional Information (optional) Provide any additional context or screenshots about the feature or fix here. before: ![Screenshot 2024-11-11 204816](https://github.com/user-attachments/assets/eb85c88b-d3ed-4b97-88b1-6a472e6995ae) after: ![Screenshot 2024-11-11 205349](https://github.com/user-attachments/assets/7e09900c-01d5-4683-a42d-644008b2ab1d) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 05:29:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2422