MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / ReadStatus

Function ReadStatus

graph-ui/src/system/SystemWorkspace.tsx:24–32  ·  view source on GitHub ↗
({ reading, paused }: { reading: SystemReading<unknown>; paused: boolean })

Source from the content-addressed store, hash-verified

22const TAB_LABELS: Record<SystemTab, string> = { overview: 'Overview', configuration: 'Configuration', indexes: 'Indexes', logs: 'Logs' };
23
24function ReadStatus({ reading, paused }: { reading: SystemReading<unknown>; paused: boolean }) {
25 return <div className="system-read-status">
26 <span className={reading.error ? 'system-warning' : ''}>
27 {reading.error ? reading.data ? 'Update failed · showing last reading' : 'Update failed' : paused ? 'Live updates paused' : reading.loading ? 'Updating…' : 'Live updates on'}
28 </span>
29 <span>{reading.updatedAt === null ? 'No reading yet' : <>Updated <time dateTime={new Date(reading.updatedAt).toISOString()}>{new Date(reading.updatedAt).toLocaleTimeString()}</time></>}</span>
30 {reading.error && <p role="alert">{reading.error}</p>}
31 </div>;
32}
33
34/** Daemon readings and configuration; project indexing uses the existing dialog. */
35export default function SystemWorkspace({ api, onOpenProjects, active = true, version, pollMs = 3000, project, configuration, listProjects }: SystemWorkspaceProps) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected