fix HistoryEntry children prop conflict and overlay CopyButton in ContentViewer

Rename HistoryEntry's children prop to childEntries to avoid React's
reserved prop name. Replace ContentViewer's onCopy callback with a
copyable flag and overlay CopyButton in the top-right corner.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-03-22 16:03:56 -04:00
commit 8d434e2381

View file

@ -75,7 +75,7 @@ export const WithChildren: Story = {
response: {
result: "completed",
},
children: [
childEntries: [
{
timestamp: "+120ms",
method: "sampling/createMessage",