feat(ui,store): live today clock, rail as lane filter, b toggle, quick look on space
This commit is contained in:
1 parent
83ca32d98e
commit
0a7742eb5e
19 files changed
+1236
-192
No files matched your search
@@ -2,6 +2,7 @@ import { Notice, TFile } from "obsidian";
|
||||
import ExternalLink from "@lucide/svelte/icons/external-link";
|
||||
import FileText from "@lucide/svelte/icons/file-text";
|
||||
import PenLine from "@lucide/svelte/icons/pen-line";
|
||||
import ScanEye from "@lucide/svelte/icons/scan-eye";
|
||||
import { STATUS_META } from "../lib/vocab";
|
||||
import { STATUS_ORDER } from "../model/types";
|
||||
import type { Task } from "../model/types";
|
||||
@@ -47,6 +48,16 @@ export function taskMenu(view: ViewContext, task: Task): MenuItem[] {
|
||||
|
||||
return [
|
||||
...statuses,
|
||||
{
|
||||
icon: ScanEye,
|
||||
label: "Quick look",
|
||||
hint: "space",
|
||||
onselect: () => {
|
||||
view.store.cursorTask = task.id;
|
||||
view.store.keyboard = true;
|
||||
if (!view.store.peeking) view.store.peek();
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: PenLine,
|
||||
label: "Edit in Tasks",
|
||||
|
||||
Reference in new issue
Block a user