-
Notifications
You must be signed in to change notification settings - Fork 544
[DASH-624] Add tracking in insight playground #5737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DASH-624] Add tracking in insight playground #5737
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5737 +/- ##
=======================================
Coverage 52.89% 52.89%
=======================================
Files 1099 1099
Lines 59010 59010
Branches 4791 4791
=======================================
Hits 31211 31211
Misses 27083 27083
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
## Problem solved DASH-624 <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the `CodeBlockContainer` and related components to support an `onCopy` callback, allowing for custom actions when code is copied. It also introduces tracking for user interactions within the `BlueprintPlayground` component. ### Detailed summary - Added `onCopy` prop to `CodeBlockContainer`, `RenderCode`, `PlainTextCodeBlock`, and `CodeClient`. - Updated button click handler in `CodeBlockContainer` to call `onCopy` and pass the copied code. - Integrated `useTrack` for tracking user events in `BlueprintPlayground`. - Added tracking for "run", "copy-url", and "copy-response" actions in relevant components. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
6eabe57
to
9954b37
Compare
Problem solved
DASH-624
PR-Codex overview
This PR focuses on enhancing the
CodeBlockContainer
and related components to support a newonCopy
callback, which allows for custom actions when code is copied. Additionally, it integrates tracking events for user interactions in theBlueprintPlayground
component.Detailed summary
onCopy
prop toCodeBlockContainer
,RenderCode
,PlainTextCodeBlock
, andCodeClient
.onClick
handler inCodeBlockContainer
to callonCopy
and execute the newonCopy
prop.useTrack
for tracking events inBlueprintPlayground
andPlaygroundHeader
.BlueprintPlayground
andResponseSection
.