Enhance Proxmox views with improved loading states and UI updates

- Updated serverplaceholder.blade.php to enhance loading skeletons for server details.
- Added navigation breadcrumbs to statistics, subdomain, and system views for better user experience.
- Improved loading indicators for CPU, network, memory, and disk charts in statistics.blade.php.
- Refined storage.blade.php layout with section dividers and improved drive display, including bus type indicators and quota usage.
- Enhanced VNC and Xterm popups with a new header design, loading animations, and reconnect functionality.
- Added error handling for VNC and Xterm connections to inform users when unable to connect.
This commit is contained in:
2026-02-24 19:51:46 -05:00
parent af62a16354
commit 16cd5f05de
40 changed files with 1423 additions and 475 deletions

View File

@@ -22,6 +22,11 @@ class ReinstallJob implements ShouldQueue
public int $timeout = 600; // 10 minutes
/**
* Exponential backoff between retries (seconds).
*/
public array $backoff = [10, 30, 60, 120, 300];
public function __construct(public Server $server) {}
public function handle(): void
@@ -44,7 +49,12 @@ class ReinstallJob implements ShouldQueue
$this->server->node->name
);
} catch (Exception $e) {
if (!str_contains($e->getMessage(), 'does not exist')) {
$msg = strtolower($e->getMessage());
// Allow reinstall to proceed if VM doesn't exist or is already stopped
if (!str_contains($msg, 'does not exist')
&& !str_contains($msg, 'not running')
&& !str_contains($msg, 'already stopped')
&& !str_contains($msg, 'is not running')) {
throw $e;
}
}