We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee090b commit d30ca71Copy full SHA for d30ca71
1 file changed
extensions/ql-vscode/src/pure/variant-analysis-filter-sort.ts
@@ -4,6 +4,11 @@ import {
4
} from "../variant-analysis/shared/repository";
5
import { parseDate } from "./date";
6
7
+export enum FilterKey {
8
+ All = "all",
9
+ WithResults = "withResults",
10
+}
11
+
12
export enum SortKey {
13
Name = "name",
14
Stars = "stars",
@@ -13,6 +18,7 @@ export enum SortKey {
18
19
export type RepositoriesFilterSortState = {
15
20
searchValue: string;
21
+ filterKey: FilterKey;
16
22
sortKey: SortKey;
17
23
};
24
@@ -22,6 +28,7 @@ export type RepositoriesFilterSortStateWithIds = RepositoriesFilterSortState & {
28
29
export const defaultFilterSortState: RepositoriesFilterSortState = {
30
searchValue: "",
31
+ filterKey: FilterKey.All,
25
32
sortKey: SortKey.Name,
26
33
27
34
0 commit comments