mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 02:16:43 +00:00
fix(ui): healthcheck wording (#11232)
This commit is contained in:
1 parent
4ca6470109
commit
2c28c9f32a
6 files changed
+16
-16
No files matched your search
@@ -39,8 +39,8 @@
|
||||
$healthType === 'error' => ['Degraded', 'error'],
|
||||
$containerType === 'warning' => [$containerLabel, 'warning'],
|
||||
$monitoringExcluded => ["{$containerLabel} (monitoring disabled)", 'warning'],
|
||||
$healthStatus === 'starting' => ["{$containerLabel} (health check starting)", 'warning'],
|
||||
$healthType === 'warning' => ["{$containerLabel} (no health check)", 'warning'],
|
||||
$healthStatus === 'starting' => ["{$containerLabel} (healthcheck starting)", 'warning'],
|
||||
$healthType === 'warning' => ["{$containerLabel} (no healthcheck)", 'warning'],
|
||||
default => [$containerLabel, 'success'],
|
||||
};
|
||||
@endphp
|
||||
@@ -81,12 +81,12 @@
|
||||
'bg-warning' => $healthType === 'warning',
|
||||
'bg-error' => $healthType === 'error',
|
||||
])></span>
|
||||
<span class="flex-1">Health check</span>
|
||||
<span class="flex-1">Healthcheck</span>
|
||||
<span class="inline-flex items-center gap-1.5">
|
||||
{{ $healthLabel }}
|
||||
@if ($healthLabel === 'Not configured')
|
||||
<x-helper label="About unconfigured health checks"
|
||||
helper="No health check is configured, so Coolify can only report the container state. Traffic can still be routed to the container, but Coolify cannot verify that the application inside it is ready to receive requests." />
|
||||
<x-helper label="About unconfigured healthchecks"
|
||||
helper="No healthcheck is configured, so Coolify can only report the container state. Traffic can still be routed to the container, but Coolify cannot verify that the application inside it is ready to receive requests." />
|
||||
@endif
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<x-helper
|
||||
helper="No health check configured. <span class='dark:text-warning text-coollabs'>The resource may be functioning normally.</span><br><br>Traefik and Caddy will route traffic to this container even without a health check. However, configuring a health check is recommended to ensure the resource is ready before receiving traffic.<br><br>More details in the <a href='https://coolify.io/docs/knowledge-base/proxy/traefik/healthchecks' class='underline dark:text-warning text-coollabs' target='_blank'>documentation</a>.">
|
||||
<x-slot:icon>
|
||||
<x-status-badge status="No health check" type="warning" class="cursor-help" />
|
||||
<x-status-badge status="No healthcheck" type="warning" class="cursor-help" />
|
||||
</x-slot:icon>
|
||||
</x-helper>
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
@if (!$healthCheckEnabled)
|
||||
<x-modal-confirmation title="Enable healthcheck?" buttonTitle="Enable healthcheck"
|
||||
submitAction="toggleHealthcheck" :actions="['Enable healthcheck for this database.']"
|
||||
warningMessage="A failing probe marks the database unhealthy. Review the health check guide before enabling it."
|
||||
warningMessage="A failing probe marks the database unhealthy. Review the healthcheck guide before enabling it."
|
||||
step2ButtonText="Enable healthcheck" :confirmWithText="false" :confirmWithPassword="false"
|
||||
isHighlightedButton />
|
||||
@else
|
||||
|
||||
Reference in new issue
Block a user