mirror of
https://github.com/community-scripts/ProxmoxVE-Local.git
synced 2026-04-25 12:45:50 +03:00
[PR #72] [MERGED] feat: implement real-time update progress with proper theming #194
Labels
No labels
bug
enhancement
enhancement
feature
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxVE-Local#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/72
Author: @michelroegl-brunner
Created: 10/8/2025
Status: ✅ Merged
Merged: 10/8/2025
Merged by: @michelroegl-brunner
Base:
main← Head:fix/update.sh📝 Commits (10+)
ea5d3e0fix(update): properly detach update script to survive service shutdown18baeeafix(update): prevent infinite loop in script relocation3848095fix(update): use systemd-run and double-fork for complete process isolation24bab67Update update.shcb59ef3Update update.shb3c1949Update update.sh0f4cfe6Update update.sh7b1608fUpdate update.sh74007f5Update update.shc81b030Update update.sh📊 Changes
6 files changed (+425 additions, -378 deletions)
View changed files
📝
.env.example(+1 -0)📝
src/app/_components/VersionDisplay.tsx(+147 -73)📝
src/env.js(+4 -0)📝
src/server/api/routers/version.ts(+82 -5)📝
src/styles/globals.css(+1 -1)📝
update.sh(+190 -299)📄 Description
🚀 Real-time Update Progress Implementation
This PR implements a comprehensive real-time update progress system that keeps the modal open until the server restarts after an update.
✨ Features
Real-time Log Streaming:
Smart Completion Detection:
Service enabled and started successfullyService is runningUpdate completed successfullyConservative Fallback Logic:
Improved Theming:
!importantforbg-cardclass🔧 Technical Changes
Backend (
version.ts):getUpdateLogsquery with completion detectionFrontend (
VersionDisplay.tsx):Styling (
globals.css):!importanttobg-cardclass for proper theming🎯 User Experience
🧪 Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.