From 32b53d756a4faa4d8bf6eda4b5fa733f0f319416 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 10 Oct 2025 09:37:05 +0200 Subject: [PATCH] feat: enhance proxy status notifications with detailed messages for various states --- app/Livewire/Server/Navbar.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/Livewire/Server/Navbar.php b/app/Livewire/Server/Navbar.php index d8a3c7acf..32799b83d 100644 --- a/app/Livewire/Server/Navbar.php +++ b/app/Livewire/Server/Navbar.php @@ -125,11 +125,25 @@ public function showNotification() 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; }