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 Bacsai
2026-08-03 23:11:54 +02:00
committed by GitHub
co-authored by ShadowArcanist
parent 0b843bb07c
commit 8ae56587d5
497 changed files with 44045 additions and 22630 deletions
@@ -0,0 +1,21 @@
<?php
/**
* Destructive confirmation action lists must use reicon trash glyphs,
* not dismiss/close X icons or raw stroke SVGs.
*/
test('modal confirmation action list uses trash reicon markers', function () {
$modal = file_get_contents(resource_path('views/components/modal-confirmation.blade.php'));
expect($modal)
->toContain('<x-reicon name="trash" class="mt-0.5 size-3.5 shrink-0" />')
->not->toContain('d="M6 18L18 6M6 6l12 12"');
// Action bullets use trash; header dismiss may still use close X.
$actionSection = Str::after($modal, 'The following actions will be performed:');
$actionSection = Str::before($actionSection, '@if (!$disableTwoStepConfirmation)');
expect($actionSection)
->toContain('name="trash"')
->not->toContain('name="x"');
});