* Apply a filter to show subtasks of a project
(projectTask: TaskInfo)
| 1271 | * Apply a filter to show subtasks of a project |
| 1272 | */ |
| 1273 | async applyProjectSubtaskFilter(projectTask: TaskInfo): Promise<void> { |
| 1274 | try { |
| 1275 | const file = this.app.vault.getAbstractFileByPath(projectTask.path); |
| 1276 | if (!file) { |
| 1277 | new Notice("Project file not found"); |
| 1278 | return; |
| 1279 | } |
| 1280 | |
| 1281 | // Note: This feature was part of the old view system (deprecated in v4) |
| 1282 | // TODO: Re-implement for Bases views if needed |
| 1283 | new Notice("Project subtask filtering not available"); |
| 1284 | } catch (error) { |
| 1285 | tasknotesLogger.error("Error applying project subtask filter:", { |
| 1286 | category: "persistence", |
| 1287 | operation: "applying-project-subtask-filter", |
| 1288 | error: error, |
| 1289 | }); |
| 1290 | new Notice("Failed to apply project filter"); |
| 1291 | } |
| 1292 | } |
| 1293 | |
| 1294 | /** |
| 1295 | * Starts a time tracking session for a task |
no test coverage detected