feat(kitchen-sink): add mock agent event log copy#4943
Conversation
PR Review: feat(kitchen-sink): add mock agent event log copyOverviewThis PR adds a Copy button to the Event Log panel in the kitchen-sink example's What Works Well
IssuesUnhandled clipboard API rejection
Wrap the clipboard call in a try/catch: try {
await navigator.clipboard.writeText(text);
setEventLogCopied(true);
if (copyResetTimerRef.current) clearTimeout(copyResetTimerRef.current);
copyResetTimerRef.current = setTimeout(() => {
setEventLogCopied(false);
copyResetTimerRef.current = null;
}, 1500);
} catch (err) {
console.error("Failed to copy event log:", err);
}Minor Notes
SummaryStraightforward and well-implemented. The only actionable change is adding a |
Preview packages published to npmInstall with: npm install rivetkit@pr-4943All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-a6ee1bd
docker pull rivetdev/engine:full-a6ee1bdIndividual packagesnpm install rivetkit@pr-4943
npm install @rivetkit/react@pr-4943
npm install @rivetkit/rivetkit-napi@pr-4943
npm install @rivetkit/workflow-engine@pr-4943 |
a247dd2 to
6c0e498
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: