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

@@ -54,6 +54,34 @@ it('shows sentinel sync status after the server is validated', function () {
->assertSee('In sync');
});
it('places mobile status badges on a separate row below the server title', function () {
$navbar = file_get_contents(resource_path('views/livewire/server/navbar.blade.php'));
$mobileTitleBlock = str($navbar)
->after('data-testid="server-subtitle"')
->before('id="server-mobile-actions"')
->toString();
$navbar = file_get_contents(resource_path('views/livewire/server/navbar.blade.php'));
expect($navbar)
->toContain('mb-3 w-full lg:hidden')
->toContain('data-testid="server-subtitle"')
->toContain('flex min-w-0 flex-col gap-2');
$titleBlock = str($navbar)
->after('mb-3 w-full lg:hidden')
->before('Phone-only actions')
->toString();
$titlePos = strpos($titleBlock, 'data-testid="server-subtitle"');
$badgesRowPos = strpos($titleBlock, 'flex min-w-0 flex-wrap items-center gap-2');
expect($titlePos)->not->toBeFalse()
->and($badgesRowPos)->not->toBeFalse()
->and($titlePos)->toBeLessThan($badgesRowPos);
});
it('listens for sentinel restarted broadcasts', function () {
[$server, , $team] = makeNavbarServer(isFunctional: true);