Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Update .github/copilot-instructions.md
Lucasc332e9764a1a
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.mdindex 1b40aba840..d3a985673d 100644--- a/.github/copilot-instructions.md+++ b/.github/copilot-instructions.md@@ -53,10 +53,9 @@ Use `TaskContext` for operations with progress reporting (imports, exports, bulk```typescriptconst taskContext = new TaskContext("task-id", "import", "Import Notes");-taskContext.reportProgress(50, "Processing...");+taskContext.increaseProgressCount();-// WebSocket messages: { type: 'task-progress-update', taskId, progress, message }-```+// WebSocket messages: { type: 'taskProgressCount', taskId, taskType, data, progressCount }**Pattern**: All long-running operations (delete note trees, export, import) use TaskContext to send WebSocket updates to the frontend.