Skip to content

Commit 7b1f186

Browse files
committed
Link to docs from trace-id
1 parent d6907a2 commit 7b1f186

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

packages/playground/src/Playground.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,16 @@ function BridgeDslHeader({
237237
title={`Execution trace ID: ${executionTraceId} (decimal)`}
238238
className="ml-auto inline-flex items-center gap-1 rounded-full bg-indigo-900/50 border border-indigo-700/50 px-2 py-0.5 text-[10px] font-mono font-medium text-indigo-300"
239239
>
240-
trace-id 0x{executionTraceId.toString(16)}
240+
<a
241+
href="/advanced/trace-id/"
242+
className="rounded-sm hover:text-indigo-100 hover:underline underline-offset-2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-indigo-300"
243+
target="docs"
244+
>
245+
trace-id 0x{executionTraceId.toString(16)}
246+
</a>
241247
{onClearExecutionTraceId && (
242248
<button
249+
type="button"
243250
onClick={onClearExecutionTraceId}
244251
title="Clear execution trace ID highlighting"
245252
className="ml-0.5 rounded-full hover:bg-indigo-700/50 transition-colors p-0.5 -mr-0.5"

0 commit comments

Comments
 (0)