feat(ui): unify team, security, and notification settings layouts

Extract shared settings-layout components and a dedicated team
danger-zone page. Enable modal editing for security resources,
polish OAuth/API-token controls, and align notification and
service configuration UI with the new navigation patterns.
This commit is contained in:
Andras Bacsai committed 2026-08-05 16:24:31 +02:00
1 parent 5842d77b81
commit 2291c3fa1c
83 files changed
+1585 -597

No files matched your search

+5 -6
View File
@@ -1,12 +1,12 @@
<?php
test('settings navbar uses a short email tab label', function () {
test('settings header navigation is replaced by the settings sidebar', function () {
$path = resource_path('views/components/dashboard/navbar.blade.php');
$contents = file_get_contents($path);
expect($contents)
->toContain("['label' => 'Email', 'route' => 'settings.email'")
->not->toContain("['label' => 'Transactional Email', 'route' => 'settings.email'");
->toContain("['label' => 'General', 'route' => 'settings.index', 'active' => request()->routeIs('settings.*')]")
->not->toContain("['label' => 'Email', 'route' => 'settings.email'");
});
test('dashboard navbar keeps the original side-by-side tab and actions layout', function () {
@@ -14,7 +14,6 @@ test('dashboard navbar keeps the original side-by-side tab and actions layout',
$contents = file_get_contents($path);
expect($contents)
->toContain('flex w-full items-center justify-between gap-4 lg:h-full')
->toContain('flex min-w-0 flex-1 items-center gap-0.5 overflow-x-auto')
->not->toContain('flex w-full flex-col gap-3 lg:h-full lg:flex-row');
->toContain('flex w-full flex-col gap-2 sm:flex-row sm:items-center sm:justify-between')
->toContain('flex min-w-0 w-full items-center gap-0.5 overflow-x-auto');
});