Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions extensions/ql-vscode/src/query-history/query-history-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ import type { QueryRunner } from "../query-server";
import type { VariantAnalysisManager } from "../variant-analysis/variant-analysis-manager";
import type { VariantAnalysisHistoryItem } from "./variant-analysis-history-item";
import { getTotalResultCount } from "../variant-analysis/shared/variant-analysis";
import { HistoryTreeDataProvider } from "./history-tree-data-provider";
import {
HistoryTreeDataProvider,
SortOrder,
} from "./history-tree-data-provider";
import type { QueryHistoryDirs } from "./query-history-dirs";
import type { QueryHistoryCommands } from "../common/commands";
import type { App } from "../common/app";
Expand Down Expand Up @@ -98,15 +101,6 @@ const SHOW_QUERY_TEXT_QUICK_EVAL_MSG = `\

`;

enum SortOrder {
NameAsc = "NameAsc",
NameDesc = "NameDesc",
DateAsc = "DateAsc",
DateDesc = "DateDesc",
CountAsc = "CountAsc",
CountDesc = "CountDesc",
}

/**
* Number of milliseconds two clicks have to arrive apart to be
* considered a double-click.
Expand Down
Loading