mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 10:14:47 +00:00
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:
1 parent
0b843bb07c
commit
8ae56587d5
497 files changed
+44045
-22630
No files matched your search
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Terminal-related UI must use the redesign "browser-terminal" reicon, not the
|
||||
* older "terminal" (four-way arrows) glyph.
|
||||
*/
|
||||
test('terminal and console views use the browser-terminal icon', function () {
|
||||
$files = [
|
||||
resource_path('views/components/navbar.blade.php'),
|
||||
resource_path('views/components/backup-sidebar.blade.php'),
|
||||
resource_path('views/components/server/sidebar-security.blade.php'),
|
||||
resource_path('views/livewire/terminal/index.blade.php'),
|
||||
resource_path('views/livewire/project/shared/terminal.blade.php'),
|
||||
resource_path('views/livewire/project/shared/execute-container-command.blade.php'),
|
||||
resource_path('views/livewire/project/shared/scheduled-task/all.blade.php'),
|
||||
resource_path('views/livewire/project/shared/scheduled-task/executions.blade.php'),
|
||||
resource_path('views/livewire/project/database/backup-executions.blade.php'),
|
||||
resource_path('views/livewire/server/security/terminal-access.blade.php'),
|
||||
];
|
||||
|
||||
foreach ($files as $path) {
|
||||
$contents = file_get_contents($path);
|
||||
|
||||
expect($contents)
|
||||
->not->toMatch('/name=["\']terminal["\']/')
|
||||
->not->toMatch('/icon-name=["\']terminal["\']/')
|
||||
->not->toMatch("/'icon'\\s*=>\\s*'terminal'/");
|
||||
}
|
||||
});
|
||||
|
||||
test('reicon pack includes browser-terminal glyph', function () {
|
||||
$path = resource_path('views/components/reicon.blade.php');
|
||||
$contents = file_get_contents($path);
|
||||
|
||||
expect($contents)->toContain("'browser-terminal' =>");
|
||||
});
|
||||
Reference in new issue
Block a user