CUB-41: Add low stock indicators to filament UI

This commit is contained in:
cubecraft-agents[bot]
2026-04-26 14:27:08 +00:00
parent 230c3b295d
commit 3d67610575
34 changed files with 10758 additions and 0 deletions

28
frontend/src/app/app.ts Normal file
View File

@@ -0,0 +1,28 @@
import { Component, ViewChild } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { DashboardSummaryComponent } from './components/dashboard-summary/dashboard-summary.component';
import { AgentSummary, SystemHealth } from './models/agent.model';
@Component({
selector: 'app-root',
imports: [RouterOutlet, DashboardSummaryComponent],
templateUrl: './app.html',
styleUrl: './app.scss'
})
export class App {
@ViewChild(DashboardSummaryComponent) summaryComponent!: DashboardSummaryComponent;
/** Sample data for development — will be replaced by real service data */
readonly sampleSummary: AgentSummary = {
total: 7,
active: 4,
idle: 1,
thinking: 1,
error: 1,
};
readonly sampleHealth: SystemHealth = {
connected: true,
status: 'healthy',
};
}