Implement M6: functional GUI views, GitHub Actions CI

Wire all remaining dashboard views to real API: agent detail page
with heartbeat status and capabilities, audit trail with time range/
actor/resource filters, notifications with grouped-by-cert view and
read/unread state, policies with severity summary bar, new issuers
and targets list views. Add GitHub Actions CI with parallel Go and
Frontend jobs. Update Makefile with test-cover and frontend-build
targets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Shankar
2026-03-15 11:12:49 -04:00
parent 9c4e157bf2
commit 58253535f5
12 changed files with 708 additions and 78 deletions
+3 -1
View File
@@ -1,3 +1,4 @@
import { useNavigate } from 'react-router-dom';
import { useQuery } from '@tanstack/react-query';
import { getAgents } from '../api/client';
import PageHeader from '../components/PageHeader';
@@ -17,6 +18,7 @@ function heartbeatStatus(lastHeartbeat: string): string {
}
export default function AgentsPage() {
const navigate = useNavigate();
const { data, isLoading, error, refetch } = useQuery({
queryKey: ['agents'],
queryFn: () => getAgents(),
@@ -56,7 +58,7 @@ export default function AgentsPage() {
{error ? (
<ErrorState error={error as Error} onRetry={() => refetch()} />
) : (
<DataTable columns={columns} data={data?.data || []} isLoading={isLoading} emptyMessage="No agents registered" />
<DataTable columns={columns} data={data?.data || []} isLoading={isLoading} emptyMessage="No agents registered" onRowClick={(a) => navigate(`/agents/${a.id}`)} />
)}
</div>
</>