feat(ui): Shadow UI redesign, domain management, and DNS autoconfigure (#11119)

Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
This commit is contained in:
Andras BacsaiandShadowArcanist authored and GitHub committed 2026-08-03 23:11:54 +02:00
1 parent 0b843bb07c
commit 8ae56587d5
497 files changed
+44045 -22630

No files matched your search

+32
View File
@@ -11,6 +11,22 @@ class DeploymentsIndicator extends Component
{
public bool $expanded = false;
/**
* Persisted across polls. Livewire update requests are not the page route,
* so this must not be re-derived from request()->routeIs() on every render.
*/
public bool $shouldShow = true;
public function mount(): void
{
$this->shouldShow = $this->shouldShowForCurrentRequest();
}
public function updateShouldShowFromPath(string $path): void
{
$this->shouldShow = ! $this->isDashboardPath($path);
}
#[Computed]
public function deployments()
{
@@ -53,4 +69,20 @@ class DeploymentsIndicator extends Component
{
return view('livewire.deployments-indicator');
}
private function shouldShowForCurrentRequest(): bool
{
if (request()->routeIs('dashboard')) {
return false;
}
return ! $this->isDashboardPath(request()->path());
}
private function isDashboardPath(string $path): bool
{
$normalized = trim($path, '/');
return $normalized === '' || $normalized === '/';
}
}