Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide move file function in Project Data tab #1279

Open
tdudgeon opened this issue Mar 9, 2024 · 1 comment
Open

Provide move file function in Project Data tab #1279

tdudgeon opened this issue Mar 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tdudgeon
Copy link
Contributor

tdudgeon commented Mar 9, 2024

Now that we have the ability to create directories in the Project Data tab, the next thing the user will want to do is to move files into it using drag and drop.
Will first need API support.

@tdudgeon tdudgeon added the enhancement New feature or request label Mar 9, 2024
@alanbchristie
Copy link

Suggest the following: -

  • /file/move endpoint to move unmanaged files (to a new path)
  • /path/move endpoint to move paths

I worry that any path that contains a ProjectFile/Managed File (an instance of a Dataset in a project) will cause all sorts of problems in the backend. So I think moving and deleting paths that contain ProjectFile instances will need to result in one of two actions: -

  • Update the corresponding ProjectFile records to reflect the new path
  • Prevent the move/removal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants