Widen upgrade popup and add dev mode simulation

- Set modal width to consistent 48rem for both upgrade states
- Remove max-width constraint from progress stepper
- Add dev mode with Simulate button for local testing
- Simulate cycles through all upgrade steps with 2-second delays
This commit is contained in:
Andras Bacsai
2025-12-17 10:59:38 +01:00
parent 254b0a15e3
commit df0ad44500
3 changed files with 46 additions and 3 deletions

View File

@@ -17,11 +17,14 @@ class Upgrade extends Component
public string $currentVersion = '';
public bool $devMode = false;
protected $listeners = ['updateAvailable' => 'checkUpdate'];
public function mount()
{
$this->currentVersion = config('constants.coolify.version');
$this->devMode = isDev();
}
public function checkUpdate()