mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Remove camel case from tracking labels (#56809)
* refactor: remove camel case from tracking labels * refactor: remove camel case from tracking labels
This commit is contained in:
parent
efe214a293
commit
b71e08ad59
@ -105,7 +105,7 @@ export class AppWrapper extends React.Component<AppWrapperProps, AppWrapperState
|
|||||||
navigationLogger('AppWrapper', false, 'rendering');
|
navigationLogger('AppWrapper', false, 'rendering');
|
||||||
|
|
||||||
const commandPaletteActionSelected = (action: Action) => {
|
const commandPaletteActionSelected = (action: Action) => {
|
||||||
reportInteraction('commandPalette_action_selected', {
|
reportInteraction('command_palette_action_selected', {
|
||||||
actionId: action.id,
|
actionId: action.id,
|
||||||
actionName: action.name,
|
actionName: action.name,
|
||||||
});
|
});
|
||||||
|
@ -55,7 +55,7 @@ export const CommandPalette = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (showing) {
|
if (showing) {
|
||||||
reportInteraction('commandPalette_opened');
|
reportInteraction('command_palette_opened');
|
||||||
|
|
||||||
// Do dashboard search on demand
|
// Do dashboard search on demand
|
||||||
getDashboardNavActions('go/dashboard').then((dashAct) => {
|
getDashboardNavActions('go/dashboard').then((dashAct) => {
|
||||||
|
@ -97,7 +97,7 @@ export const AddToDashboardModal = ({ onClose, exploreId }: Props) => {
|
|||||||
setSubmissionError(undefined);
|
setSubmissionError(undefined);
|
||||||
const dashboardUid = data.saveTarget === SaveTarget.ExistingDashboard ? data.dashboardUid : undefined;
|
const dashboardUid = data.saveTarget === SaveTarget.ExistingDashboard ? data.dashboardUid : undefined;
|
||||||
|
|
||||||
reportInteraction('e2d_submit', {
|
reportInteraction('e_2_d_submit', {
|
||||||
newTab: openInNewTab,
|
newTab: openInNewTab,
|
||||||
saveTarget: data.saveTarget,
|
saveTarget: data.saveTarget,
|
||||||
queries: exploreItem.queries.length,
|
queries: exploreItem.queries.length,
|
||||||
@ -144,7 +144,7 @@ export const AddToDashboardModal = ({ onClose, exploreId }: Props) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
reportInteraction('e2d_open');
|
reportInteraction('e_2_d_open');
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -77,13 +77,13 @@ class UnConnectedExploreToolbar extends PureComponent<Props> {
|
|||||||
onOpenSplitView = () => {
|
onOpenSplitView = () => {
|
||||||
const { split } = this.props;
|
const { split } = this.props;
|
||||||
split();
|
split();
|
||||||
reportInteraction('grafana_explore_splitView_opened');
|
reportInteraction('grafana_explore_split_view_opened');
|
||||||
};
|
};
|
||||||
|
|
||||||
onCloseSplitView = () => {
|
onCloseSplitView = () => {
|
||||||
const { closeSplit, exploreId } = this.props;
|
const { closeSplit, exploreId } = this.props;
|
||||||
closeSplit(exploreId);
|
closeSplit(exploreId);
|
||||||
reportInteraction('grafana_explore_splitView_closed');
|
reportInteraction('grafana_explore_split_view_closed');
|
||||||
};
|
};
|
||||||
|
|
||||||
renderRefreshPicker = (showSmallTimePicker: boolean) => {
|
renderRefreshPicker = (showSmallTimePicker: boolean) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user