mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-03-31 06:23:54 -04:00
[PR #103] [MERGED] feat: Server Color Coding System #190
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/103
Author: @michelroegl-brunner
Created: 10/10/2025
Status: ✅ Merged
Merged: 10/10/2025
Merged by: @michelroegl-brunner
Base:
main← Head:feature/server-color-coding📝 Commits (10+)
bf858f0feat: implement server color coding feature674839dfix: resolve TypeScript errors in color coding implementation5680b5afeat: add color-coded dropdown for server selectiondd92ed3fix: generate new execution ID for each script run774a176fix: improve whiptail handling and execution ID generation2abdaedfix: revert problematic whiptail changes that broke terminal display28d0841fix: remove remaining inWhiptailSession reference2cd25ebdebug: add console logging to terminal message handling679afa8fix: prevent WebSocket reconnection loop9673bcdfix: prevent WebSocket reconnection on second script run📊 Changes
15 files changed (+421 additions, -64 deletions)
View changed files
➕
src/app/_components/ColorCodedDropdown.tsx(+123 -0)📝
src/app/_components/ExecutionModeModal.tsx(+14 -17)📝
src/app/_components/GeneralSettingsModal.tsx(+49 -0)📝
src/app/_components/InstalledScriptsTab.tsx(+15 -3)📝
src/app/_components/ScriptInstallationCard.tsx(+15 -4)📝
src/app/_components/ServerForm.tsx(+40 -2)📝
src/app/_components/ServerList.tsx(+10 -1)📝
src/app/_components/Terminal.tsx(+15 -25)📝
src/app/api/servers/[id]/route.ts(+3 -2)📝
src/app/api/servers/route.ts(+3 -2)➕
src/app/api/settings/color-coding/route.ts(+75 -0)📝
src/env.js(+4 -0)➕
src/lib/colorUtils.ts(+35 -0)📝
src/server/database.js(+18 -8)📝
src/types/server.ts(+2 -0)📄 Description
🎨 Server Color Coding Feature
This PR implements a comprehensive server color coding system that allows users to visually distinguish between different servers throughout the application.
✨ Features Added
🎛️ General Settings
🎨 Server Management
🖥️ UI Color Application
🔧 Technical Improvements
🐛 Bug Fixes
🎯 User Experience
🧪 Testing
📝 Database Changes
This feature significantly improves the user experience by providing visual server identification throughout the application while maintaining full backward compatibility.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.