Enhance User Guide and Template Services: Added max content width configuration to UserGuide page for improved layout. Updated TemplateService to always replace placeholders, ensuring custom components are handled correctly even with empty default data. Enhanced error handling for custom component rendering, providing user-friendly error messages in the preview. Introduced a new guide for website setup, detailing installation steps and features.

This commit is contained in:
Ümit Tunç
2025-11-03 17:14:53 -03:00
parent f9730a64f7
commit c5b83d0533
5 changed files with 34 additions and 21 deletions
+6
View File
@@ -5,6 +5,7 @@ namespace App\Filament\Admin\Pages;
use App\Services\GuideService;
use BackedEnum;
use Filament\Pages\Page;
use Filament\Support\Enums\Width;
use Filament\Support\Icons\Heroicon;
class UserGuide extends Page
@@ -37,6 +38,11 @@ class UserGuide extends Page
return __('user-guide.title');
}
public function getMaxContentWidth(): Width | string | null
{
return Width::Full;
}
public function getGuides(): array
{
$guideService = app(GuideService::class);