User Panel: Phase-8-Abschluss, Titelbild/Lizenzen/Zeitzonen und KI-Pruef-Pipeline
Phase 8 (Rest) + Umbauten vom 10./11.06.: - Ein Titelbild pro PM (Cover 1280x580), SVG-Platzhalter-Set + Picker, PressReleaseCoverImage-Resolver - Lizenz-/Rechteformular nach "Lizenztyp Bildupload" (7 Lizenztypen, Personen-/Sachrechte-Status, bedingte Pflichtfelder, Risikohinweise) - Veroeffentlichungs-Box vereinfacht (Embargo aus der Form-UI entfernt), geplante Termine in Europe/Berlin (Speicherung UTC, DISPLAY_TIMEZONE) - Quota-Stub (users.press_release_quota) + monatlicher Reset-Command - Einreichungs-Modal einheitlich in Show/Create/Edit; Ghost-Buttons auf filled; PM-Editor-Layout responsive entkoppelt (.pr-editor-layout) KI-Pruef-Pipeline (Phasen 1-5 des Entwicklungsplans): - API-Haertung: status nicht mehr per API setzbar, eigene Submit-Route durch denselben Funnel (Blacklist, Quota, Status-Log) - Klassifikation Rot/Gelb/Gruen asynchron (Queue classification, OpenAI-Treiber + deterministischer Fallback), ki_audits-Audit-Log - Routing: Rot -> rejected + Mail, Gelb -> Review-Queue, Gruen -> Auto-Publish; Scheduler publiziert nur gruene faellige PMs - Content-Score 0-100 -> Stufe (Standard/Geprueft/Hochwertig) inkl. Editor-Panel und Badges; Re-Klassifikation/-Score bei Aenderung - Admin: KI-Badge + Filter, On-Demand-Pruefung mit Anbieter-Override Suite: 442 passed, 4 skipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
0efabaf446
commit
a000238ca8
141 changed files with 5922 additions and 1001 deletions
|
|
@ -326,11 +326,11 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
</div>
|
||||
|
||||
<div class="flex flex-wrap items-center gap-2 flex-shrink-0">
|
||||
<flux:button icon="arrow-left" variant="ghost" href="{{ route('me.press-kits.index') }}" wire:navigate>
|
||||
<flux:button icon="arrow-left" variant="filled" href="{{ route('me.press-kits.index') }}" wire:navigate>
|
||||
{{ __('Zurück') }}
|
||||
</flux:button>
|
||||
@if ($canManageCompany)
|
||||
<flux:button icon="pencil" variant="ghost" wire:click="startEditCompany">
|
||||
<flux:button icon="pencil" variant="filled" wire:click="startEditCompany">
|
||||
{{ __('Stammdaten bearbeiten') }}
|
||||
</flux:button>
|
||||
@endif
|
||||
|
|
@ -375,7 +375,7 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
<div class="panel-head">
|
||||
<span class="section-eyebrow">{{ __('Stammdaten') }}</span>
|
||||
@if ($canManageCompany)
|
||||
<flux:button size="sm" variant="ghost" icon="pencil" wire:click="startEditCompany">
|
||||
<flux:button size="sm" variant="filled" icon="pencil" wire:click="startEditCompany">
|
||||
{{ __('Bearbeiten') }}
|
||||
</flux:button>
|
||||
@endif
|
||||
|
|
@ -438,21 +438,41 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
<div class="flex items-center gap-3">
|
||||
<img src="{{ $logoUrl }}" alt="{{ $company->name }}" width="64" height="64"
|
||||
class="h-16 max-h-16 w-16 max-w-16 rounded-[6px] border border-[color:var(--color-bg-rule)] object-contain bg-white" />
|
||||
<flux:button type="button" size="sm" variant="ghost" wire:click="$set('removeCompanyLogo', true)">
|
||||
<flux:button type="button" size="sm" variant="filled" wire:click="$set('removeCompanyLogo', true)">
|
||||
{{ __('Logo entfernen') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
@endif
|
||||
<flux:field>
|
||||
<flux:input type="file" wire:model="companyLogo" :label="__('Neues Logo hochladen')"
|
||||
<flux:file-upload wire:model="companyLogo"
|
||||
:label="__('Neues Logo hochladen')"
|
||||
accept="image/jpeg,image/png,image/webp,image/gif"
|
||||
:description="__('JPG/PNG/WebP/GIF, max. 4 MB. Varianten werden automatisch generiert.')" />
|
||||
:description="__('JPG/PNG/WebP/GIF, max. 4 MB. Varianten werden automatisch generiert.')">
|
||||
<flux:file-upload.dropzone
|
||||
:heading="__('Logo hierher ziehen oder klicken')"
|
||||
:text="__('JPG, PNG, WebP oder GIF · max. 4 MB')"
|
||||
with-progress
|
||||
inline
|
||||
/>
|
||||
</flux:file-upload>
|
||||
<flux:error name="companyLogo" />
|
||||
|
||||
@if ($companyLogo)
|
||||
<flux:file-item class="mt-2"
|
||||
:heading="$companyLogo->getClientOriginalName()"
|
||||
:image="$companyLogo->temporaryUrl()"
|
||||
:size="$companyLogo->getSize()"
|
||||
>
|
||||
<x-slot name="actions">
|
||||
<flux:file-item.remove wire:click="$set('companyLogo', null)" :aria-label="__('Logo entfernen')" />
|
||||
</x-slot>
|
||||
</flux:file-item>
|
||||
@endif
|
||||
</flux:field>
|
||||
</div>
|
||||
|
||||
<div class="mt-4 pt-4 border-t border-[color:var(--color-bg-rule)] flex justify-end gap-2">
|
||||
<flux:button type="button" variant="ghost" wire:click="cancelCompanyForm">
|
||||
<flux:button type="button" variant="filled" wire:click="cancelCompanyForm">
|
||||
{{ __('Abbrechen') }}
|
||||
</flux:button>
|
||||
<flux:button type="button" variant="primary" wire:click="saveCompany">
|
||||
|
|
@ -548,7 +568,7 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
</div>
|
||||
|
||||
<div class="mt-4 pt-4 border-t border-[color:var(--color-bg-rule)] flex justify-end gap-2">
|
||||
<flux:button type="button" variant="ghost" wire:click="cancelContactForm">
|
||||
<flux:button type="button" variant="filled" wire:click="cancelContactForm">
|
||||
{{ __('Abbrechen') }}
|
||||
</flux:button>
|
||||
<flux:button type="button" variant="primary" wire:click="saveContact">
|
||||
|
|
@ -585,10 +605,10 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
|
||||
@if ($canManageContacts)
|
||||
<div class="flex gap-1 flex-shrink-0">
|
||||
<flux:button size="sm" variant="ghost" icon="pencil" wire:click="editContact({{ $contact->id }})">
|
||||
<flux:button size="sm" variant="filled" icon="pencil" wire:click="editContact({{ $contact->id }})">
|
||||
{{ __('Bearbeiten') }}
|
||||
</flux:button>
|
||||
<flux:button size="sm" variant="ghost" icon="trash"
|
||||
<flux:button size="sm" variant="filled" icon="trash"
|
||||
wire:click="deleteContact({{ $contact->id }})"
|
||||
wire:confirm="{{ __('Diesen Pressekontakt löschen?') }}">
|
||||
{{ __('Löschen') }}
|
||||
|
|
@ -618,7 +638,7 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
<article class="panel overflow-hidden" id="pressemitteilungen">
|
||||
<div class="panel-head">
|
||||
<span class="section-eyebrow">{{ __('Pressemitteilungen dieser Firma') }}</span>
|
||||
<flux:button size="sm" variant="ghost" href="{{ route('me.press-releases.index') }}" wire:navigate>
|
||||
<flux:button size="sm" variant="filled" href="{{ route('me.press-releases.index') }}" wire:navigate>
|
||||
{{ __('Alle anzeigen') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
|
@ -653,7 +673,7 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
</span>
|
||||
</flux:table.cell>
|
||||
<flux:table.cell>
|
||||
<flux:button size="sm" variant="ghost" icon="eye"
|
||||
<flux:button size="sm" variant="filled" icon="eye"
|
||||
href="{{ route('me.press-releases.show', $pressRelease->id) }}" wire:navigate>
|
||||
{{ __('Öffnen') }}
|
||||
</flux:button>
|
||||
|
|
@ -701,7 +721,7 @@ new #[Layout('components.layouts.app'), Title('Firma')] class extends Component
|
|||
<p class="mt-1 text-[12px] text-[color:var(--color-ink-3)] m-0">
|
||||
{{ __('Rechnungen finden Sie aktuell gesammelt im Finanzbereich. Firmenscharfe Zahlungsarten folgen mit dem Preismodell.') }}
|
||||
</p>
|
||||
<flux:button class="mt-3" size="sm" variant="ghost" href="{{ route('me.invoices.index') }}" wire:navigate>
|
||||
<flux:button class="mt-3" size="sm" variant="filled" href="{{ route('me.invoices.index') }}" wire:navigate>
|
||||
{{ __('Rechnungen öffnen') }}
|
||||
</flux:button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue