[PR #5552] [MERGED] fix bug in tooltip that would always render 'updateable' #5600

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

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/5552
Author: @BramSuurdje
Created: 6/29/2025
Status: Merged
Merged: 6/29/2025
Merged by: @CrazyWolf13

Base: mainHead: update-widget-bug


📝 Commits (2)

  • a68ebe2 fix bug in tooltip that would always render 'updateable'
  • ec07f3d Remove double InstallCommand component from ScriptItems

📊 Changes

2 files changed (+1 additions, -149 deletions)

View changed files

frontend/src/app/scripts/_components/ScriptItems/install-command.tsx (+0 -148)
📝 frontend/src/app/scripts/_components/script-items/tool-tips.tsx (+1 -1)

📄 Description

✍️ Description

This pull request includes a minor update to the conditional logic in the Tooltips component to improve clarity and ensure correct behavior.

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/5552 **Author:** [@BramSuurdje](https://github.com/BramSuurdje) **Created:** 6/29/2025 **Status:** ✅ Merged **Merged:** 6/29/2025 **Merged by:** [@CrazyWolf13](https://github.com/CrazyWolf13) **Base:** `main` ← **Head:** `update-widget-bug` --- ### 📝 Commits (2) - [`a68ebe2`](https://github.com/community-scripts/ProxmoxVE/commit/a68ebe25f25b0ea8c72f3437dac08d753d7beb22) fix bug in tooltip that would always render 'updateable' - [`ec07f3d`](https://github.com/community-scripts/ProxmoxVE/commit/ec07f3dd637be75c507e14147ad4bfd223faded7) Remove double InstallCommand component from ScriptItems ### 📊 Changes **2 files changed** (+1 additions, -149 deletions) <details> <summary>View changed files</summary> ➖ `frontend/src/app/scripts/_components/ScriptItems/install-command.tsx` (+0 -148) 📝 `frontend/src/app/scripts/_components/script-items/tool-tips.tsx` (+1 -1) </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 includes a minor update to the conditional logic in the `Tooltips` component to improve clarity and ensure correct behavior. * [`frontend/src/app/scripts/_components/script-items/tool-tips.tsx`](diffhunk://#diff-ebba6edd1845e9a0732edc5edb3953318740585d07d8ec2abb990534cbb44a30L42-R42): Simplified the conditional logic by removing redundant parentheses and ensuring the `updateable` property is checked before evaluating the `type` property. ## 🔗 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:39 +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#5600
No description provided.