Skip to content

Add new endpoint to move children of a dataset resource into a workspace folder#529

Draft
philmcmahon wants to merge 3 commits intomainfrom
add-resource-children-workspace
Draft

Add new endpoint to move children of a dataset resource into a workspace folder#529
philmcmahon wants to merge 3 commits intomainfrom
add-resource-children-workspace

Conversation

@philmcmahon
Copy link
Contributor

@philmcmahon philmcmahon commented Feb 6, 2026

What does this change?

Currently if we want to add stuff to a workspace we have to either upload it directly to the workspace via the UI or to add files one by one from the dataset view.

Right now we have a lot of files to put into giant, it's a shame to be held back by the speed of UI uploads. With that in mind, this PR adds a new endpoint that will get all the File children of a particular resource and create WorkspaceNode nodes for each of them in neo4j, with a parent of a specified workspace folder.

This is a bit of a half arsed solution to what should be a 'Add Resource to workspace' functionality, but it provides a short term fix to the problem of wanting to add thousands of files at a time to a workspace.

How has this change been tested?

I've tested this locally, it needs doing on playground

@philmcmahon philmcmahon requested a review from a team as a code owner February 6, 2026 17:01
@philmcmahon philmcmahon self-assigned this Feb 6, 2026
@philmcmahon philmcmahon marked this pull request as draft February 9, 2026 10:05
@philmcmahon philmcmahon added the feature Departmental tracking: work on a new feature label Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant