removed title counters finally!!!

This commit is contained in:
legop3
2026-05-21 03:06:33 -04:00
parent e9989da71a
commit d72bc0db03
7 changed files with 7 additions and 9 deletions
@@ -290,7 +290,7 @@ export default function HomeAssistantControls() {
);
return (
<CardFrame title="Room Controls" meta={entities.length} accent="#14b8a6" actions={actions} bodyClassName="space-y-0.5 text-base">
<CardFrame title="Room Controls" accent="#14b8a6" actions={actions} bodyClassName="space-y-0.5 text-base">
{controlsLocked ? (
<p className="rounded border border-amber-600/60 bg-amber-900/40 px-1 py-0.5 text-xs text-amber-100">
{lockState === 'off'
+1 -1
View File
@@ -9,7 +9,7 @@ export default function LogPanel() {
const logs = useSessionSelector((state) => state.logs);
const rendered = useMemo(() => logs.slice().reverse(), [logs]);
return (
<CardFrame title="Server logs" meta={logs.length} accent="#f97316" bodyClassName="space-y-0.5 text-base">
<CardFrame title="Server logs" accent="#f97316" bodyClassName="space-y-0.5 text-base">
<div className="surface h-64 overflow-y-auto font-mono text-xs">
{logs.length === 0 ? (
<p>No logs yet.</p>
@@ -60,7 +60,6 @@ export default function RawUserPilePanel({
return (
<CardFrame
title={!hideHeader ? 'Users' : ''}
meta={!hideHeader ? sorted.length : null}
accent="#94a3b8"
hideHeader={hideHeader}
fillHeight={fillHeight}
@@ -150,7 +150,7 @@ export default function ReplaySourcesPanel({ panelId = 'replay-sources', fillHei
const listWrapClass = fillHeight ? 'flex-1 min-h-0 overflow-y-auto' : '';
return (
<CardFrame title="Replay Sources" meta={sources.length} accent="#06b6d4" fillHeight={fillHeight} bodyClassName="space-y-0.5 text-sm">
<CardFrame title="Replay Sources" accent="#06b6d4" fillHeight={fillHeight} bodyClassName="space-y-0.5 text-sm">
<div className={`grid gap-0.5 md:grid-cols-2 ${listWrapClass}`}>
<GroupList title="Rovers" items={grouped.rovers} selected={selected} onToggle={toggleKey} />
<GroupList title="Room Cams" items={grouped.rooms} selected={selected} onToggle={toggleKey} />
@@ -88,7 +88,6 @@ export default function RoomCameraPanel({
return (
<CardFrame
title="Room cameras"
meta={cameras.length}
accent="#38bdf8"
actions={actions}
hideHeader={hideHeader}