livewire: Volt entfernt — Komponenten als Livewire-4-Single-File-Components, Route::livewire(), Livewire::test(); livewire/volt deinstalliert

- 83 Komponenten: Livewire\Volt\Component → Livewire\Component
- 73 Routen (admin, auth, customer): Volt::route() → Route::livewire()
- 88 Testdateien: Volt::test/actingAs → Livewire::test/actingAs
- VoltServiceProvider gelöscht; composer remove livewire/volt
- config/livewire.php auf v4-Schlüssel (component_layout, component_placeholder,
  component_locations, make_command: SFC ohne ⚡). Der alte Schlüssel layout war
  wirkungslos; alle gerouteten Komponenten setzen ihr Layout selbst.
- CLAUDE.md, AGENTS.md, boost.json, .cursorrules, Skill volt-development
- Roadmap: erledigt; Larastan erfasst SFCs weiterhin nicht (Blade-Dateien)

Suite 2.325 grün, einer übersprungen; Larastan und Pint ohne Meldung;
route:cache und view:cache laufen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-10-06 13:59:36 +00:00
parent 5782297dca
commit 2cde7284a1
186 changed files with 889 additions and 1075 deletions

View file

@ -11,7 +11,7 @@ use App\Models\PressReleaseEvent;
use App\Models\PressReleaseIndexCheck;
use App\Models\User;
use App\Services\PressRelease\VisibilityStats;
use Livewire\Volt\Volt as LivewireVolt;
use Livewire\Livewire;
use Tests\TestCase;
/**
@ -74,7 +74,7 @@ test('the company page lists partner-submitted releases with their views', funct
]);
viewsOn($release, 3, daysAgo: 1);
LivewireVolt::test('customer.press-kits.show', ['id' => $company->id])
Livewire::test('customer.press-kits.show', ['id' => $company->id])
->assertSeeText('Partnermeldung mit Reichweite')
->assertSeeText('eingereicht über Partner')
->assertSeeText('4.321')
@ -154,7 +154,7 @@ test('the release page shows the delivery panel with daily bars, sitemap date an
viewsOn($release, 6, daysAgo: 2);
PressReleaseCrawlerHit::factory()->service('anthropic', 'ClaudeBot/1.0')->create(['press_release_id' => $release->id]);
LivewireVolt::test('customer.press-releases.show', ['id' => $release->id])
Livewire::test('customer.press-releases.show', ['id' => $release->id])
->assertSeeText('Auslieferung')
->assertSeeText('777')
->assertSeeText('Aufrufe 30 Tage')
@ -181,11 +181,11 @@ test('the index status appears in the delivery panel only once the customer view
PressReleaseIndexCheck::factory()->withState(IndexState::Indexed)->create(['press_release_id' => $release->id, 'portal' => Portal::Businessportal24, 'checked_at' => now()->subDays(9)]);
config()->set('search_console.customer_visible', false);
LivewireVolt::test('customer.press-releases.show', ['id' => $release->id])
Livewire::test('customer.press-releases.show', ['id' => $release->id])
->assertDontSeeText('Google-Index');
config()->set('search_console.customer_visible', true);
LivewireVolt::test('customer.press-releases.show', ['id' => $release->id])
Livewire::test('customer.press-releases.show', ['id' => $release->id])
->assertSeeText('Google-Index')
->assertSeeText('Businessportal24: gecrawlt, nicht indexiert')
->assertDontSeeText('Businessportal24: indexiert');
@ -196,7 +196,7 @@ test('a draft shows no visibility panel', function () {
[$customer, $company] = claimant();
$draft = PressRelease::factory()->forPortal(Portal::Businessportal24)->create(['company_id' => $company->id, 'user_id' => $customer->id, 'status' => 'draft', 'hits' => 0, 'published_at' => null]);
LivewireVolt::test('customer.press-releases.show', ['id' => $draft->id])
Livewire::test('customer.press-releases.show', ['id' => $draft->id])
->assertDontSeeText('Auslieferung')
->assertSeeText('noch nicht veröffentlicht');
});
@ -252,7 +252,7 @@ test('the listing date is not claimed when the release has a counterpart on the
->and($summary['in_sitemap_since'])->toBeNull()
->and($summary['sitemap_portals'])->toBe([Portal::Businessportal24->label()]);
LivewireVolt::test('customer.press-releases.show', ['id' => $release->id])
Livewire::test('customer.press-releases.show', ['id' => $release->id])
->assertSeeText('In der Sitemap gelistet (Businessportal24)')
->assertDontSeeText('Gelistet seit')
->assertDontSeeText('Derzeit nicht gelistet');