feat: show configured taps count on Admin App Config overview
New Taps column shows enabled/total count as a badge (e.g. "2/3") next to the existing Traced column. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -102,6 +102,17 @@ export default function AppConfigPage() {
|
||||
: <MonoText size="xs">0</MonoText>;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'taps',
|
||||
header: 'Taps',
|
||||
width: '70px',
|
||||
render: (_val, row) => {
|
||||
const total = row.taps?.length ?? 0;
|
||||
const enabled = row.taps?.filter(t => t.enabled).length ?? 0;
|
||||
if (total === 0) return <MonoText size="xs">0</MonoText>;
|
||||
return <Badge label={`${enabled}/${total}`} color="running" variant="filled" />;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'version',
|
||||
header: 'v',
|
||||
|
||||
Reference in New Issue
Block a user