[PR #5461] [MERGED] Update Tooltips component to conditionally display updateable status based on item type #5546

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

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/5461
Author: @BramSuurdje
Created: 6/25/2025
Status: Merged
Merged: 6/25/2025
Merged by: @tremor021

Base: mainHead: fix-pve-update-website


📝 Commits (1)

  • c80e0ff Update Tooltips component to conditionally display updateable status based on item type

📊 Changes

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

View changed files

📝 frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx (+2 -2)

📄 Description

✍️ Description

This pull request updates the logic for displaying tooltips in the Tooltips component to account for the type property of item. It ensures that scripts with type equal to "pve" are treated differently when determining their updateable status.

Changes to tooltip logic:

Link: #

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/5461 **Author:** [@BramSuurdje](https://github.com/BramSuurdje) **Created:** 6/25/2025 **Status:** ✅ Merged **Merged:** 6/25/2025 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `fix-pve-update-website` --- ### 📝 Commits (1) - [`c80e0ff`](https://github.com/community-scripts/ProxmoxVE/commit/c80e0ffb706f7c3c2a916f4632dc8b400893ac41) Update Tooltips component to conditionally display updateable status based on item type ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx` (+2 -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 This pull request updates the logic for displaying tooltips in the `Tooltips` component to account for the `type` property of `item`. It ensures that scripts with `type` equal to `"pve"` are treated differently when determining their updateable status. Changes to tooltip logic: * [`frontend/src/app/scripts/_components/ScriptItems/Tooltips.tsx`](diffhunk://#diff-c6ed439e012bdb7bde3a0a421ed362225e8c48fd4d3b09644e3172f0eca4f9a8L37-R44): Modified conditions for displaying the "Updateable" and "Not Updateable" tooltips to include checks for `item.type !== "pve"`. This ensures that scripts of type `"pve"` are excluded from certain tooltip statuses. ## 🔗 Related PR / Issue Link: # ## ✅ 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) - [x] 🐞 **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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 14:34:29 +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#5546
No description provided.