Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat: enhance proxy status notifications with detailed messages for various states

Andras Bacsai32b53d756a4f
diff --git a/app/Livewire/Server/Navbar.php b/app/Livewire/Server/Navbar.php
index d8a3c7acfe..32799b83d3 100644
--- a/app/Livewire/Server/Navbar.php
+++ b/app/Livewire/Server/Navbar.php
@@ -125,11 +125,25 @@ class Navbar extends Component
switch ($this->proxyStatus) {
case 'running':
$this->loadProxyConfiguration();
+ $this->dispatch('success', 'Proxy is running.');
break;
case 'restarting':
$this->dispatch('info', 'Initiating proxy restart.');
break;
+ case 'exited':
+ $this->dispatch('info', 'Proxy has exited.');
+ break;
+ case 'stopping':
+ $this->dispatch('info', 'Proxy is stopping.');
+ break;
+ case 'starting':
+ $this->dispatch('info', 'Proxy is starting.');
+ break;
+ case 'unknown':
+ $this->dispatch('info', 'Proxy status is unknown.');
+ break;
default:
+ $this->dispatch('info', 'Proxy status updated.');
break;
}