fix(P-13): leserliche Journals, readOnly-Felder, Meldungs-Badge auf Medienkacheln
Deploy Development / deploy (push) Successful in 37s
Test Suite / pytest-backend (push) Failing after 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 10s
Test Suite / playwright-tests (push) Successful in 56s
Deploy Development / deploy (push) Successful in 37s
Test Suite / pytest-backend (push) Failing after 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 10s
Test Suite / playwright-tests (push) Successful in 56s
- ReportContentModal: Name/E-Mail readOnly fuer eingeloggte Nutzer - MediaLibraryPage: content_report_filed im Journal leserlich (Meldegrund, Prioritaet, Status DE) - MediaLibraryPage: Badge auf Medienkacheln zeigt offene Meldungsanzahl (nur Admins) - media_assets.py: open_report_count Subquery fuer Admin-Sicht in Listendaten - Inbox-500-Fix: ma.media_kind -> ma.mime_type (alle 3 Stellen) - PATCH content_reports: Statuswechsel wird in Audit-Log protokolliert - E-Mails: Dateiname statt Medium-ID, lesbarer Inhalt version: 0.8.91 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
8dd748e7d9
commit
bb4d927090
6 files changed
+151
-23
No files matched your search
@@ -143,7 +143,9 @@ export default function ReportContentModal({ targetType, targetId, targetLabel,
|
||||
type="text"
|
||||
className="form-input"
|
||||
value={name}
|
||||
onChange={(e) => setName(e.target.value)}
|
||||
onChange={user?.name ? undefined : (e) => setName(e.target.value)}
|
||||
readOnly={!!user?.name}
|
||||
style={user?.name ? { background: 'var(--surface2)', color: 'var(--text2)' } : undefined}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
@@ -154,7 +156,9 @@ export default function ReportContentModal({ targetType, targetId, targetLabel,
|
||||
type="email"
|
||||
className="form-input"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
onChange={user?.email ? undefined : (e) => setEmail(e.target.value)}
|
||||
readOnly={!!user?.email}
|
||||
style={user?.email ? { background: 'var(--surface2)', color: 'var(--text2)' } : undefined}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user