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

move items to any folders in any levels #42

Closed
thisroot opened this issue Oct 30, 2020 · 4 comments
Closed

move items to any folders in any levels #42

thisroot opened this issue Oct 30, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@thisroot
Copy link

The good idea make possible move files or folders in any levels through context menu item with tree view folders structure . It need because in current version chonky allow move files and folders in only same level folders. The second idea is move files and folders through breadcrumbs menu when drag file or folder on breadcrumb level

@TimboKZ TimboKZ added the enhancement New feature or request label Oct 30, 2020
@TimboKZ
Copy link
Owner

TimboKZ commented Oct 30, 2020

Hi, thanks for the suggestions, I agree with both of them. I actually briefly tried to implement it before, but the drag & drop code was too much of a mess.

Chonky 2.x does some refactoring around file entry components which makes supporting the features you suggest much easier.

I'll get on this once other todos from #40 are completed.

@thisroot
Copy link
Author

thanks a lot :)

@TimboKZ TimboKZ mentioned this issue Nov 9, 2020
39 tasks
@wraybowling
Copy link

I second that drop onto breadcrumb would be ideal for the elements that currently exist. A tree sidebar that you could drop to would also be good.

@TimboKZ
Copy link
Owner

TimboKZ commented Nov 15, 2020

I have just released Chonky v2.0.3, that implements the features mentioned in this issue. It also lets users define custom drop zones, as shows in the Advanced drag & drop example.

There is currently one visual bug - when you use drag & drop hover to open an empty folder, a folder-wide DnD indicator does not show up (even though you can drop files into the folder). I believe this might be a bug in react-dnd, I'll create an issue in their repo. I'll probably keep this issue open until this bug is resolved.

Quick preview:

Chonky DND open preview

@TimboKZ TimboKZ closed this as completed Dec 22, 2020
samuelncui pushed a commit to samuelncui/Chonky that referenced this issue Oct 4, 2023
Bumps [@mui/styles](https://github.com/mui/material-ui/tree/HEAD/packages/mui-styles) from 5.11.11 to 5.11.12.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.11.12/packages/mui-styles)

---
updated-dependencies:
- dependency-name: "@mui/styles"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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