Piggyback on changeSort message

This commit is contained in:
Robert
2023-01-17 16:46:02 +00:00
parent 4009f03dd2
commit 37e3e041e8
2 changed files with 1 additions and 2 deletions

View File

@@ -256,6 +256,7 @@ export class ResultsView extends AbstractWebview<
}
case "changeSort":
await this.changeRawSortState(msg.resultSetName, msg.sortState);
telemetryListener?.sendUIInteraction("local-results-column-sorting");
break;
case "changeInterpretedSort":
await this.changeInterpretedSortState(msg.sortState);

View File

@@ -4,7 +4,6 @@ import { vscode } from "../vscode-api";
import { RawResultsSortState, SortDirection } from "../../pure/interface-types";
import { nextSortDirection } from "./result-table-utils";
import { Column } from "../../pure/bqrs-cli-types";
import { sendTelemetry } from "../common/telemetry";
interface Props {
readonly columns: readonly Column[];
@@ -40,7 +39,6 @@ function toggleSortStateForColumn(
resultSetName: schemaName,
sortState: nextSortState,
});
sendTelemetry("local-results-column-sorting");
}
export default function RawTableHeader(props: Props) {