mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 00:17:16 +00:00
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:
1 parent
5842d77b81
commit
2291c3fa1c
83 files changed
+1585
-597
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Security / notifications family: mobile-only H1 on list views; actions in layer-2 nav.
|
||||
* Security / notifications family: mobile-only H1 on list views; list actions live in card headers.
|
||||
* Detail views keep the resource title on desktop.
|
||||
*/
|
||||
test('security navbar defaults to hiding the title on desktop', function () {
|
||||
@@ -17,7 +17,7 @@ test('security navbar defaults to hiding the title on desktop', function () {
|
||||
->toContain(':titleOnDesktop="$titleOnDesktop"');
|
||||
});
|
||||
|
||||
test('security list views place create actions next to the tabs not in titleActions', function () {
|
||||
test('security list views place create actions in collection card headers', function () {
|
||||
$pages = [
|
||||
resource_path('views/livewire/security/private-key/index.blade.php') => [
|
||||
'New private key',
|
||||
@@ -25,7 +25,7 @@ test('security list views place create actions next to the tabs not in titleActi
|
||||
'Delete unused keys',
|
||||
'Delete unused',
|
||||
],
|
||||
resource_path('views/livewire/security/cloud-tokens.blade.php') => [
|
||||
resource_path('views/livewire/security/cloud-provider-tokens.blade.php') => [
|
||||
'New token',
|
||||
],
|
||||
resource_path('views/livewire/security/cloud-init-scripts.blade.php') => [
|
||||
@@ -37,6 +37,7 @@ test('security list views place create actions next to the tabs not in titleActi
|
||||
$blade = file_get_contents($path);
|
||||
|
||||
expect($blade)
|
||||
->toContain('<x-application.settings-section')
|
||||
->toContain('<x-slot:actions>')
|
||||
->not->toContain('<x-slot:titleActions>');
|
||||
|
||||
|
||||
Reference in new issue
Block a user