Update project dependencies and enhance documentation

- Added `barryvdh/laravel-dompdf` to `composer.json` for PDF generation capabilities.
- Updated `boost.json` to include `tailwindcss-development` in skills.
- Modified `package.json` and `package-lock.json` to upgrade Tailwind CSS and related packages.
- Improved README.md for clarity and corrected French language errors.
- Created design system documentation for Filament components.
- Added new Filament pages for Dashboard and Documentation with dynamic content loading.
- Enhanced TablesExplorer functionality with improved table and column management.
This commit is contained in:
2026-02-20 14:16:24 +01:00
parent 4aef33f270
commit 657c5ad5e3
46 changed files with 3318 additions and 857 deletions

View File

@@ -0,0 +1,46 @@
<?php
use App\Filament\Pages\Dashboard;
use App\Models\User;
use Livewire\Livewire;
beforeEach(function () {
$this->actingAs(User::factory()->create());
});
it('renders the dashboard page', function () {
Livewire::test(Dashboard::class)
->assertSuccessful();
});
it('displays the project title and description', function () {
Livewire::test(Dashboard::class)
->assertSee('Bienvenue sur API Logistics')
->assertSee('Flex/ESI Gescom');
});
it('shows navigation links to all pages', function () {
Livewire::test(Dashboard::class)
->assertSee('Tables')
->assertSee('Articles')
->assertSee('Documents')
->assertSee('Journaux')
->assertSee('Tiers')
->assertSee('Documentation');
});
it('displays project statistics', function () {
Livewire::test(Dashboard::class)
->assertSee('Endpoints API')
->assertSee('Tables accessibles')
->assertSee('Pages Filament')
->assertSee('Tests Pest');
});
it('shows technical information', function () {
Livewire::test(Dashboard::class)
->assertSee('Informations techniques')
->assertSee('Laravel 12')
->assertSee('Filament 5')
->assertSee('Livewire 4');
});