[PR #11412] [MERGED] feat(frontend): add contribution CTA to empty search state #9466

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

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/11412
Author: @ls-root
Created: 2/1/2026
Status: Merged
Merged: 2/1/2026
Merged by: @CrazyWolf13

Base: mainHead: feature/contribution-cta


📝 Commits (1)

  • 807ce78 feat(frontend): add contribution CTA to empty search state

📊 Changes

1 file changed (+23 additions, -2 deletions)

View changed files

📝 frontend/src/components/command-menu.tsx (+23 -2)

📄 Description

✍️ Description

When a user searches for a script that does not exist, the CommandMenu now displays a link to the contribution guide. This encourages community contributions.
CommandMenu opened with the search query 'Search with no results' to showcase the new contribution CTA.

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 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/11412 **Author:** [@ls-root](https://github.com/ls-root) **Created:** 2/1/2026 **Status:** ✅ Merged **Merged:** 2/1/2026 **Merged by:** [@CrazyWolf13](https://github.com/CrazyWolf13) **Base:** `main` ← **Head:** `feature/contribution-cta` --- ### 📝 Commits (1) - [`807ce78`](https://github.com/community-scripts/ProxmoxVE/commit/807ce784b36a3ab02037069eb5e69ee90eaf0a03) feat(frontend): add contribution CTA to empty search state ### 📊 Changes **1 file changed** (+23 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/command-menu.tsx` (+23 -2) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed.--> ## ✍️ Description When a user searches for a script that does not exist, the CommandMenu now displays a link to the contribution guide. This encourages community contributions. <img width="528" height="258" alt="CommandMenu opened with the search query 'Search with no results' to showcase the new contribution CTA." src="https://github.com/user-attachments/assets/d3e8db85-2363-456e-b626-5e5e4cd13cd2" /> ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [x] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [x] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 17:30: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/ProxmoxVE#9466
No description provided.