feat: upgrade filament to v4 and ensure 100% test coverage
- Upgrade Filament framework from v3 to v4 - Update all Filament resources and pages for v4 compatibility - Fix test suite to maintain 100% pass rate (321 tests passing) - Add visibility condition for ticket close action (only when not closed) - Update dependencies and build assets for new Filament version - Maintain backward compatibility while leveraging v4 improvements
This commit is contained in:
@@ -2,12 +2,24 @@
|
||||
@auth
|
||||
@if (auth()->user()->level === 9)
|
||||
@livewire('notifications')
|
||||
<x-filament-panels::form wire:submit="save">
|
||||
<form wire:submit="save">
|
||||
{{ $this->form }}
|
||||
<x-filament-panels::form.actions
|
||||
:actions="$this->getFormActions()"
|
||||
/>
|
||||
</x-filament-panels::form>
|
||||
|
||||
<div class="flex justify-end gap-2 mt-6">
|
||||
<x-filament::button type="submit">
|
||||
Save Settings
|
||||
</x-filament::button>
|
||||
<x-filament::button
|
||||
type="button"
|
||||
wire:click="flushCache"
|
||||
color="danger"
|
||||
wire:confirm="Are you sure you want to flush the cache?"
|
||||
>
|
||||
Flush Cache
|
||||
</x-filament::button>
|
||||
</div>
|
||||
</form>
|
||||
<x-filament-actions::modals />
|
||||
@else
|
||||
@php abort(403); @endphp
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user