mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-03-31 06:23:54 -04:00
[PR #36] [MERGED] Add category sidebar and filtering to scripts grid #123
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/community-scripts/ProxmoxVE-Local/pull/36
Author: @MickLesk
Created: 10/6/2025
Status: ✅ Merged
Merged: 10/6/2025
Merged by: @michelroegl-brunner
Base:
development← Head:feat-category-view📝 Commits (2)
06521c6Add category sidebar and filtering to scripts grid4fd9c59Add category metadata to scripts and improve filtering📊 Changes
6 files changed (+818 additions, -132 deletions)
View changed files
📝
scripts/json/metadata.json(+183 -28)➕
src/app/_components/CategorySidebar.tsx(+363 -0)📝
src/app/_components/ScriptDetailModal.tsx(+1 -1)📝
src/app/_components/ScriptsGrid.tsx(+200 -103)📝
src/server/api/routers/scripts.ts(+60 -0)📝
src/server/services/localScripts.ts(+11 -0)📄 Description
✍️ Description
Introduces a CategorySidebar component with icon mapping and category selection. Updates metadata.json to include icons for each category. Enhances ScriptsGrid to support category-based filtering and integrates the sidebar, improving script navigation and discoverability. Also refines ScriptDetailModal layout for better modal presentation.
🔗 Related PR / Issue
Link: #20
✅ Prerequisites (X in brackets)
Screenshot for frontend Change
🛠️ Type of Change (X in brackets)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.