Flux durch TallStackUI 4 ersetzt

- TallStackUI 4 (MIT) statt Flux; Komponenten mit Präfix ts- (<x-ts-…>)
- Layouts, Login-, Passwort-, 2FA- und Einstellungsseiten neu aufgebaut
- Livewire-Skripte explizit in beiden Layouts, damit Alpine auch auf den
  Fortify-Seiten ohne Livewire-Komponente läuft
- Dark Mode über tallstackui_darkTheme(), ohne Aufblitzen beim Laden
- Registrierungs-View und ungenutzte Layout-Varianten entfernt
- Test: Seiten laden keine Ressourcen von fremden Hosts (Vorgabe "alles lokal")

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Christoph
2026-10-01 09:33:26 +02:00
co-authored by Claude Opus 5.5
parent dedce594a0
commit b297518810
47 changed files with 644 additions and 1362 deletions
+4 -4
View File
@@ -3,17 +3,17 @@
namespace App\Livewire\Settings;
use App\Concerns\ProfileValidationRules;
use Flux\Flux;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Support\Facades\Auth;
use Livewire\Attributes\Computed;
use Livewire\Attributes\Title;
use Livewire\Component;
use TallStackUi\Traits\Interactions;
#[Title('Profile settings')]
class Profile extends Component
{
use ProfileValidationRules;
use Interactions, ProfileValidationRules;
public string $name = '';
@@ -45,7 +45,7 @@ class Profile extends Component
$user->save();
Flux::toast(variant: 'success', text: __('Profile updated.'));
$this->toast()->success(__('Profile updated.'))->send();
}
/**
@@ -63,7 +63,7 @@ class Profile extends Component
$user->sendEmailVerificationNotification();
Flux::toast(text: __('A new verification link has been sent to your email address.'));
$this->toast()->info(__('A new verification link has been sent to your email address.'))->send();
}
#[Computed]
+3 -3
View File
@@ -4,7 +4,6 @@ namespace App\Livewire\Settings;
use App\Concerns\PasswordValidationRules;
use Exception;
use Flux\Flux;
use Illuminate\Support\Facades\Auth;
use Illuminate\Validation\ValidationException;
use Laravel\Fortify\Actions\ConfirmTwoFactorAuthentication;
@@ -18,11 +17,12 @@ use Livewire\Attributes\Locked;
use Livewire\Attributes\Title;
use Livewire\Attributes\Validate;
use Livewire\Component;
use TallStackUi\Traits\Interactions;
#[Title('Security settings')]
class Security extends Component
{
use PasswordValidationRules;
use Interactions, PasswordValidationRules;
public string $current_password = '';
@@ -114,7 +114,7 @@ class Security extends Component
$this->reset('current_password', 'password', 'password_confirmation');
Flux::toast(variant: 'success', text: __('Password updated.'));
$this->toast()->success(__('Password updated.'))->send();
}
/**