feat(web): 播报板每行显示节点 id
This commit is contained in:
1 parent
e78b35869c
commit
3cde43f64f
1 file changed
+3
@@ -303,6 +303,9 @@ function BroadcastRow({
|
|||||||
<div className="min-w-0 flex-1">
|
<div className="min-w-0 flex-1">
|
||||||
<div className="flex min-w-0 flex-wrap items-center gap-1.5">
|
<div className="flex min-w-0 flex-wrap items-center gap-1.5">
|
||||||
<KindChip kind={kind} />
|
<KindChip kind={kind} />
|
||||||
|
<code className="rounded bg-muted px-1.5 py-0.5 font-mono text-xs text-muted-foreground">
|
||||||
|
#{node.id}
|
||||||
|
</code>
|
||||||
<NodeStateBadge node={node} />
|
<NodeStateBadge node={node} />
|
||||||
{node.priority > 0 && (kind === "goal" || kind === "intent") && (
|
{node.priority > 0 && (kind === "goal" || kind === "intent") && (
|
||||||
<span className="rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground">P{node.priority}</span>
|
<span className="rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground">P{node.priority}</span>
|
||||||
|
|||||||
Reference in new issue
Block a user