diff --git a/cspell.config.json b/cspell.config.json index e75694ee6..33483451f 100644 --- a/cspell.config.json +++ b/cspell.config.json @@ -78,8 +78,9 @@ "timerange", "timeseries", "timespan", - "TLSCA", "toggleTip", + "TLSCA", + "TLSSSL", "Toggletip", "totime", "traceid", diff --git a/src/components/configEditor/AliasTableConfig.tsx b/src/components/configEditor/AliasTableConfig.tsx index 0d64c179d..cb4d7442c 100644 --- a/src/components/configEditor/AliasTableConfig.tsx +++ b/src/components/configEditor/AliasTableConfig.tsx @@ -1,10 +1,11 @@ import React, { ChangeEvent, useState } from 'react'; import { ConfigSection } from 'components/experimental/ConfigSection'; -import { Input, Field, HorizontalGroup, Button } from '@grafana/ui'; +import { Input, Field, Stack, Button } from '@grafana/ui'; import { AliasTableEntry } from 'types/config'; import allLabels from 'labels'; import { styles } from 'styles'; import { selectors as allSelectors } from 'selectors'; +import { trackClickhouseConfigV2ColumnAliasTableAdded } from 'views/config-v2/tracking'; interface AliasTablesConfigProps { aliasTables?: AliasTableEntry[]; @@ -90,7 +91,10 @@ export const AliasTableConfig = (props: AliasTablesConfigProps) => { icon="plus-circle" variant="secondary" size="sm" - onClick={addEntry} + onClick={() => { + addEntry(); + trackClickhouseConfigV2ColumnAliasTableAdded(); + }} className={styles.Common.smallBtn} > {labels.addTableLabel} @@ -123,7 +127,7 @@ const AliasTableEditor = (props: AliasTableEditorProps) => { return (
{labels.descriptionParts[1]}
+ {labels.descriptionParts[2]}
+