MCPcopy
hub / github.com/callumalpass/tasknotes / openQuickActionsForTaskInfo

Method openQuickActionsForTaskInfo

src/main.ts:1781–1788  ·  view source on GitHub ↗
(taskInfo: TaskInfo)

Source from the content-addressed store, hash-verified

1779 }
1780
1781 private async openQuickActionsForTaskInfo(taskInfo: TaskInfo): Promise<void> {
1782 const { TaskActionPaletteModal } = await import("./modals/TaskActionPaletteModal");
1783 // Use fresh UTC-anchored "today" for recurring task handling
1784 const now = new Date();
1785 const today = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate()));
1786 const modal = new TaskActionPaletteModal(this.app, taskInfo, this, today);
1787 modal.open();
1788 }
1789
1790 async addProjectToCurrentTask(): Promise<void> {
1791 try {

Calls 2

getDateMethod · 0.65
openMethod · 0.45

Tested by

no test coverage detected