-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Step 2] VisEditors Telemetry enhancements (remove legacy Lens teleme…
…tries) (#135684) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Joe Reuter <[email protected]>
- Loading branch information
1 parent
ee3cfb6
commit 51816a0
Showing
41 changed files
with
7 additions
and
2,349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,6 @@ import { | |
import { DragDrop, DragContext, DragDropIdentifier } from '../../../drag_drop'; | ||
import { switchToSuggestion } from '../suggestion_helpers'; | ||
import { buildExpression } from '../expression_helpers'; | ||
import { trackUiEvent } from '../../../lens_ui_telemetry'; | ||
import { WorkspacePanelWrapper } from './workspace_panel_wrapper'; | ||
import { DropIllustration } from '../../../assets/drop_illustration'; | ||
import applyChangesIllustrationDark from '../../../assets/[email protected]'; | ||
|
@@ -358,11 +357,9 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({ | |
|
||
const onDrop = useCallback(() => { | ||
if (suggestionForDraggedField) { | ||
trackUiEvent('drop_onto_workspace'); | ||
trackUiEvent(expressionExists ? 'drop_non_empty' : 'drop_empty'); | ||
switchToSuggestion(dispatchLens, suggestionForDraggedField, { clearStagedPreview: true }); | ||
} | ||
}, [suggestionForDraggedField, expressionExists, dispatchLens]); | ||
}, [suggestionForDraggedField, dispatchLens]); | ||
|
||
const IS_DARK_THEME = core.uiSettings.get('theme:darkMode'); | ||
|
||
|
@@ -625,7 +622,6 @@ export const VisualizationWrapper = ({ | |
<EuiButton | ||
data-test-subj="errorFixAction" | ||
onClick={async () => { | ||
trackUiEvent('error_fix_action'); | ||
const newState = await validationError.fixAction?.newState({ | ||
...framePublicAPI, | ||
...context, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.