mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 06:23:23 +00:00
feat(ui): unify resource headings with responsive action menus
Add responsive overflow handling and dedicated action menus for application, service, database, and server headings, while improving upgrade and email settings flows and returning 404s for missing deployment environments.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
test('team notification resend section matches instance email layout', function () {
|
||||
$instance = file_get_contents(resource_path('views/livewire/settings-email.blade.php'));
|
||||
$team = file_get_contents(resource_path('views/livewire/notifications/email.blade.php'));
|
||||
|
||||
preg_match('/settings-section title="Resend".*?<\/x-application.settings-section>/s', $instance, $instanceResend);
|
||||
preg_match('/settings-section title="Resend".*?<\/x-application.settings-section>/s', $team, $teamResend);
|
||||
|
||||
expect($instanceResend[0] ?? '')
|
||||
->not->toBeEmpty()
|
||||
->toContain('grid gap-4 lg:grid-cols-2')
|
||||
->toContain('id="resendEnabled"')
|
||||
->toContain('id="resendApiKey"')
|
||||
->not->toContain('lg:col-span-2')
|
||||
->not->toContain('description=');
|
||||
|
||||
expect($teamResend[0] ?? '')
|
||||
->not->toBeEmpty()
|
||||
->toContain('grid gap-4 lg:grid-cols-2')
|
||||
->toContain('id="resendEnabled"')
|
||||
->toContain('id="resendApiKey"')
|
||||
->not->toContain('lg:col-span-2')
|
||||
->not->toContain('description=');
|
||||
});
|
||||
Reference in New Issue
Block a user