Erkenntnis: Die Admin-Inline-Query (Contact::withoutGlobalScopes()->where ->orderBy) ist exakt der Contact::forCompany()-Scope -> alle vier Kontakt-Helfer waren funktional identisch. companyContacts/companyContact/ defaultContactIdFor in neuen Concern InteractsWithPressReleaseContacts (ueber forCompany) ausgelagert. tagSuggestionsFor() (4x identisch) in InteractsWithPressReleaseTags verschoben. Ungenutzte Collection-Importe in den Customer-Editoren entfernt; selectedCompany() bleibt je Kontext (Admin: withoutGlobalScopes find; Customer: CustomerCompanyContext). Tests: volle Suite gruen (794 passed, 1 skipped). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| components | ||
| emails | ||
| flux/navlist | ||
| layouts | ||
| livewire | ||
| partials | ||
| web | ||
| press-release-preview-error.blade.php | ||
| press-release-preview.blade.php | ||