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:
Andras Bacsai
2026-08-13 12:17:16 +02:00
parent 592b537c61
commit 5f3108b68d
37 changed files with 1155 additions and 733 deletions
@@ -206,6 +206,38 @@ test('admin can update email notification settings', function () {
expect($this->admin->can('update', $settings))->toBeTrue();
});
test('admin can save team smtp settings without a resend api key when resend is disabled', function () {
$this->actingAs($this->admin);
session(['currentTeam' => $this->team]);
Livewire::test(EmailNotification::class)
->set('smtpFromAddress', 'alerts@example.com')
->set('smtpFromName', 'Coolify')
->set('smtpHost', 'smtp.example.com')
->set('smtpPort', '587')
->set('smtpEncryption', 'starttls')
->set('resendEnabled', false)
->set('resendApiKey', null)
->call('submitResend')
->assertHasNoErrors()
->assertNotDispatched('error');
});
test('admin cannot enable team resend without an api key', function () {
$this->actingAs($this->admin);
session(['currentTeam' => $this->team]);
Livewire::test(EmailNotification::class)
->set('smtpFromAddress', 'alerts@example.com')
->set('smtpFromName', 'Coolify')
->set('resendEnabled', true)
->set('resendApiKey', null)
->call('submitResend')
->assertDispatched('error');
expect($this->team->emailNotificationSettings()->first()->resend_enabled)->toBeFalse();
});
// --- Pushover ---
test('member cannot send test notification on pushover', function () {