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

@@ -0,0 +1,27 @@
<?php
/**
* Server security nav icons: patching uses bandage; terminal uses browser-terminal.
*/
test('server security sidebar uses bandage and browser-terminal icons', function () {
$sidebar = file_get_contents(resource_path('views/components/server/sidebar-security.blade.php'));
$reicon = file_get_contents(resource_path('views/components/reicon.blade.php'));
expect($sidebar)
->toMatch("/'label'\\s*=>\\s*'Server Patching'[\\s\\S]{0,200}?'icon'\\s*=>\\s*'bandage'/")
->toMatch("/'label'\\s*=>\\s*'Terminal Access'[\\s\\S]{0,200}?'icon'\\s*=>\\s*'browser-terminal'/")
->not->toMatch("/'label'\\s*=>\\s*'Server Patching'[\\s\\S]{0,200}?'icon'\\s*=>\\s*'admin'/")
->not->toMatch("/'label'\\s*=>\\s*'Terminal Access'[\\s\\S]{0,200}?'icon'\\s*=>\\s*'terminal'/");
expect($reicon)
->toContain("'bandage' =>")
->toContain("'browser-terminal' =>");
});
test('terminal access page status tile uses browser-terminal icon', function () {
$contents = file_get_contents(resource_path('views/livewire/server/security/terminal-access.blade.php'));
expect($contents)
->toContain('name="browser-terminal"')
->not->toContain('name="terminal"');
});