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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user