feat: move documents between folders via drag & drop in Explorer
Documents can be dragged onto folder tiles, entries in the navigation pane, address bar segments or the empty area of the open folder. The new document_move endpoint updates only the folder (with change log entry) and rejects targets whose folder belongs to another tenant, so a document always stays in its tenant. Invalid targets are highlighted red while dragging; the result is shown as a toast. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
2cb7878351
commit
de8d13aec1
5 files changed
+155
-2
No files matched your search
@@ -16,6 +16,7 @@ urlpatterns = (
|
||||
path("documents/<int:pk>/print/", views.DocumentPrintView.as_view(), name="document_print"),
|
||||
path("documents/<int:pk>/edit/", views.DocumentEditView.as_view(), name="document_edit"),
|
||||
path("documents/<int:pk>/media-upload/", views.DocumentMediaUploadView.as_view(), name="document_media_upload"),
|
||||
path("documents/<int:pk>/move/", views.DocumentMoveView.as_view(), name="document_move"),
|
||||
path("documents/<int:pk>/delete/", views.DocumentDeleteView.as_view(), name="document_delete"),
|
||||
path("documents/<int:pk>/changelog/", ObjectChangeLogView.as_view(), name="document_changelog", kwargs={"model": models.Document}),
|
||||
path("assignments/", views.AssignmentListView.as_view(), name="documentassignment_list"),
|
||||
|
||||
Reference in new issue
Block a user