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

This commit is contained in:
Andras Bacsai
2025-05-30 14:04:43 +02:00
parent ede912b1d3
commit b0e33eb59d
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
}

View File

@@ -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());

View File

@@ -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 () => {