( file: TFile, notTaskNotice = "Selected file is not a tasknote" )
| 1766 | } |
| 1767 | |
| 1768 | private async openQuickActionsForTaskFile( |
| 1769 | file: TFile, |
| 1770 | notTaskNotice = "Selected file is not a tasknote" |
| 1771 | ): Promise<void> { |
| 1772 | const taskInfo = await this.cacheManager.getTaskInfo(file.path); |
| 1773 | if (!taskInfo) { |
| 1774 | new Notice(notTaskNotice); |
| 1775 | return; |
| 1776 | } |
| 1777 | |
| 1778 | await this.openQuickActionsForTaskInfo(taskInfo); |
| 1779 | } |
| 1780 | |
| 1781 | private async openQuickActionsForTaskInfo(taskInfo: TaskInfo): Promise<void> { |
| 1782 | const { TaskActionPaletteModal } = await import("./modals/TaskActionPaletteModal"); |
no test coverage detected