lokalisierung vervollständigt, api provider testconnection, runware modellsuche aktiviert und style preview generation integriert

This commit is contained in:
2025-12-03 16:11:38 +01:00
parent 090ec2c44b
commit 52dc61ca16
15 changed files with 516 additions and 77 deletions

View File

@@ -2,24 +2,24 @@
namespace App\Filament\Widgets;
use Filament\Widgets\StatsOverviewWidget as BaseWidget;
use Filament\Widgets\StatsOverviewWidget\Stat;
use App\Models\AiModel;
use App\Models\ApiProvider;
use App\Models\Style;
use Filament\Widgets\StatsOverviewWidget as BaseWidget;
use Filament\Widgets\StatsOverviewWidget\Stat;
class AppStatsOverview extends BaseWidget
{
protected function getCards(): array
{
return [
Stat::make('Anzahl AI Modelle', AiModel::count())
Stat::make(__('filament.widgets.app_stats.ai_models'), AiModel::count())
->icon('heroicon-o-server')
->url(route('filament.admin.resources.ai-models.index')),
Stat::make('Anzahl API-Provider', ApiProvider::count())
Stat::make(__('filament.widgets.app_stats.api_providers'), ApiProvider::count())
->icon('heroicon-o-cube')
->url(route('filament.admin.resources.api-providers.index')),
Stat::make('Anzahl Styles', Style::count())
Stat::make(__('filament.widgets.app_stats.styles'), Style::count())
->icon('heroicon-o-sparkles')
->url(route('filament.admin.resources.styles.index')),
];