Skip to content

Ability to drag and drop a folder into another folder (or another storage) #205

Closed
@Rokt33r

Description

@Rokt33r

Specs

To same storage

  1. Check the destination not the target folder's sub folders.(Prevent circular structure)
  2. Calculate which folders and notes are needed to be moved.
  3. Create folders to new destination.
  4. Update folderPathname of the notes.
  5. Delete the old folders.

To other storage

Almost same to To same storage specs. But we should ask if users want to copy or move the folder.

  1. (Circular structure won't be happen in this case. So we don't need to check destination)
  2. Calculate which folders and notes are needed to be moved.
  3. Create folders to new destination.
  4. Copy all notes to other storage with updated folderPathname prop
  5. Delete the old folders if user choose moving

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvement request 🔨Issue concerns an existing feature that needs improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions