📈(backend) capture an event when a document is moved

When a document is moved we want to capture an event. The position and
target_document_id is added to the sent properties.
This commit is contained in:
Manuel Raynaud
2026-06-01 17:47:28 +02:00
parent 0df2d753c4
commit c91c443b08
3 changed files with 68 additions and 16 deletions
+1
View File
@@ -21,6 +21,7 @@ class PosthogEventName(StrEnum):
DOC_IMPORTED = "doc_imported"
DOC_FAVORITED = "doc_favorited"
DOC_AI_ACTION = "doc_ai_action"
DOC_MOVED = "doc_moved"
# DocumentAccess
DOC_ACCESS_CREATED = "doc_access_created"