mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 22:23:39 +00:00
feat(domains): add structured URL editing and responsive domain controls
Add reusable domain URL parsing and input components, expose per-domain redirect and indexing controls, and improve application and service domain layouts across responsive breakpoints.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
test('remaining user-facing dropdown fields use the shared animated listbox', function () {
|
||||
$views = [
|
||||
'livewire/source/gitlab/change.blade.php' => ['privateKeyId', 'webhook_endpoint'],
|
||||
'livewire/project/application/domains.blade.php' => ['newDomainService'],
|
||||
'livewire/project/service/domains.blade.php' => ['newServiceApplicationId'],
|
||||
'livewire/server/new/by-ip.blade.php' => ['is_build_server'],
|
||||
];
|
||||
|
||||
foreach ($views as $path => $ids) {
|
||||
$view = file_get_contents(resource_path('views/'.$path));
|
||||
|
||||
foreach ($ids as $id) {
|
||||
expect($view)
|
||||
->toContain('<x-forms.listbox')
|
||||
->toContain('id="'.$id.'"')
|
||||
->not->toMatch('/<x-forms\.select[^>]*id="'.preg_quote($id, '/').'"/s');
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user