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.

fix(application-management): improve stop messages for application, database, and service to enhance clarity and formatting

Andras Bacsaib0e33eb59df3
diff --git a/app/Livewire/Project/Application/Heading.php b/app/Livewire/Project/Application/Heading.php
index 06b29fad10..9fd4da68ab 100644
--- a/app/Livewire/Project/Application/Heading.php
+++ b/app/Livewire/Project/Application/Heading.php
@@ -110,7 +110,7 @@ class Heading extends Component
public function stop()
{
- $this->dispatch('info', 'Gracefully stopping application, it could take a while depending on the application.');
+ $this->dispatch('info', 'Gracefully stopping application.<br/>It could take a while depending on the application.');
StopApplication::dispatch($this->application, false, $this->docker_cleanup);
}
diff --git a/app/Livewire/Project/Database/Heading.php b/app/Livewire/Project/Database/Heading.php
index e11402844f..f0e9a2f47d 100644
--- a/app/Livewire/Project/Database/Heading.php
+++ b/app/Livewire/Project/Database/Heading.php
@@ -64,7 +64,7 @@ class Heading extends Component
public function stop()
{
try {
- $this->dispatch('info', 'Gracefully stopping database, it could take a while depending on the size of the database.');
+ $this->dispatch('info', 'Gracefully stopping database.<br/>It could take a while depending on the size of the database.');
StopDatabase::dispatch($this->database, false, $this->docker_cleanup);
} catch (\Exception $e) {
$this->dispatch('error', $e->getMessage());
diff --git a/resources/views/livewire/project/service/heading.blade.php b/resources/views/livewire/project/service/heading.blade.php
index c23ebb7147..05d70f41fa 100644
--- a/resources/views/livewire/project/service/heading.blade.php
+++ b/resources/views/livewire/project/service/heading.blade.php
@@ -136,7 +136,7 @@
<script>
$wire.$on('stopEvent', () => {
$wire.$dispatch('info',
- 'Gracefully stopping service.<br>It could take a while depending on the service.');
+ 'Gracefully stopping service.<br/>It could take a while depending on the service.');
$wire.$call('stop');
});
$wire.$on('startEvent', async () => {