Piggyback on changeSort message
This commit is contained in:
Родитель
4009f03dd2
Коммит
37e3e041e8
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче