presseportale/app/Livewire/Concerns
Kevin Adametz 8c53146548 Optimierung 2.5: Kontakt-Helfer + tagSuggestionsFor zentralisiert
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>
2026-06-19 08:59:38 +00:00
..
InteractsWithPressReleaseContacts.php Optimierung 2.5: Kontakt-Helfer + tagSuggestionsFor zentralisiert 2026-06-19 08:59:38 +00:00
InteractsWithPressReleaseScheduling.php Optimierung 2.2: InteractsWithPressReleaseScheduling-Trait 2026-06-19 08:41:21 +00:00
InteractsWithPressReleaseTags.php Optimierung 2.5: Kontakt-Helfer + tagSuggestionsFor zentralisiert 2026-06-19 08:59:38 +00:00
ProvidesPressReleaseFormRules.php Optimierung 2.3: formRules() via ProvidesPressReleaseFormRules 2026-06-19 08:46:27 +00:00
ProvidesPressReleasePresubmitChecks.php Optimierung 2.4: Kanonische Pre-Submit-Checkliste 2026-06-19 08:53:06 +00:00