Add empty states for audit tables and trim Jobs & Queues description

Empty states:
- Audit Log "Recent Events" table: show "No audit events recorded yet." when empty
- Audit Log "All Events" table: show "No events match the current filters." when empty

Descriptions:
- Jobs & Queues: trim verbose 4-line description to single line

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-03-27 12:09:48 +02:00
parent c7c758e3b9
commit fbd24e71de
3 changed files with 6 additions and 5 deletions

View File

@@ -135,6 +135,8 @@ const AUDIT_TABS: StellaPageTab[] = [
<td>{{ event.actor.name }}</td>
<td class="resource">{{ event.resource.type }}: {{ event.resource.name || event.resource.id }}</td>
</tr>
} @empty {
<tr><td colspan="5" style="text-align:center;padding:1.5rem;color:var(--color-text-muted)">No audit events recorded yet.</td></tr>
}
</tbody>
</table>

View File

@@ -119,6 +119,8 @@ import { AuditEvent, AuditLogFilters, AuditModule, AuditAction, AuditSeverity }
}
</td>
</tr>
} @empty {
<tr><td colspan="8" style="text-align:center;padding:2rem;color:var(--color-text-muted)">No events match the current filters.</td></tr>
}
</tbody>
</table>

View File

@@ -78,11 +78,7 @@ interface WorkerRow {
<header class="jobs-queues__header">
<div>
<h1>Jobs & Queues</h1>
<p>
Truthful execution overview for queue posture, scheduler health, dead-letter recovery,
and worker capacity. Execution control continues in the canonical JobEngine, Scheduler,
Dead-Letter, and Data Integrity surfaces linked below.
</p>
<p>Queue posture, scheduler health, dead-letter recovery, and worker capacity.</p>
</div>
<div class="jobs-queues__actions">
<a [routerLink]="OPERATIONS_PATHS.dataIntegrity">Open Data Integrity</a>
@@ -99,6 +95,7 @@ interface WorkerRow {
<stella-page-tabs
[tabs]="jobsQueuesTabs"
[activeTab]="tab()"
urlParam="tab"
(tabChange)="setTab($any($event))"
ariaLabel="Jobs and queues tabs"
/>