feat: Add tracking for explore actions and user interactions #984
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds instrumentation to track all "explore action" interactions throughout the UI, capturing what action was chosen and where it was triggered from.
PLA-518
Tracking Categories
Implementation Details
track.ts:EXPLORE_ACTION,EXPLORE_SOURCE,EXPLORE_FORM_EVENT,LINEAGE_SELECTION_ACTIONExamples of Instrumentation
[Web] explore_actionEvent Name: "[Web] explore_action"
Examples of properties sent:
When clicking row count button from schema
{ action: "row_count", source: "schema_row_count_button", node_count: 1 }When running profile from node sidebar (single env)
[Web] lineage_selection// When user clicks Execute button on value diff form
Files Modified
track.ts: Added tracking constants and functionsRunModal.tsx: Track execute/cancel on explore action formsuseValueDiffAlertDialog.tsx: Track value diff confirmation dialogLineageViewContextMenu.tsx: Track explore actions and lineage selectionsNodeView.tsx: Track actions from node sidebarColumnNameCell.tsx: Track actions from schema viewuseMultiNodesAction.ts: Track multi-node actions from top bar🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]