Add custom note sorting (#149)

This commit is contained in:
Yuri Karamian
2026-06-21 21:44:56 +02:00
5 changed files with 133 additions and 7 deletions
+2 -1
View File
@@ -109,6 +109,7 @@ export interface VaultState {
collapsed_notebooks: string[];
notebook_sort_mode?: string;
notebook_order?: Record<string, number>;
note_order?: Record<string, number>;
sort_mode?: string;
last_view_mode?: string;
last_notebook?: string | null;
@@ -167,7 +168,7 @@ export interface NoteTitleEntry {
path: string;
}
export type SortMode = "modified" | "title" | "created";
export type SortMode = "modified" | "title" | "created" | "custom";
export type ViewMode =
| "all"
| "notebook"