Add services status view with polling and control actions
CI / basic-check (push) Has been cancelled

This commit is contained in:
Perplexity Bot
2026-08-03 22:22:59 +00:00
parent be55c35c3a
commit 186aae1b5f
10 changed files with 204 additions and 25 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
import { useState, useEffect } from 'react';
import { AppLayout } from '../components/AppLayout';
import { fetchObjects } from '../lib/api';
import type { ViewKey } from '../types';
export function InventoryView() {
export function InventoryView({ onNavigate }: { onNavigate: (v: ViewKey) => void }) {
const [objects, setObjects] = useState<Awaited<ReturnType<typeof fetchObjects>>>([]);
useEffect(() => {
@@ -10,7 +11,7 @@ export function InventoryView() {
}, []);
return (
<AppLayout current="inventory" onNavigate={() => {}}>
<AppLayout current="inventory" onNavigate={onNavigate}>
<header className="header">
<h1 className="page-title">Inventory</h1>
</header>