nextcloud / nextcloud/mail

To preserve opened folder structure when dragging mail to folder

Open
#10,182 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Is your feature request related to a problem? Please describe.

Folders are re-arranged during mail dragging.
It's probably an inappropriate design rather than an error.

Describe the solution you'd like

To preserve open folder structure as it was before dragging started. Allow to drop mail to the already opened folder.
Don't move with the folder structure at all (move it only if I need to drag above / bellow visible part).

Describe alternatives you've considered

No response

Additional context

Currently, when I open some folders in the left side and then I drag any mail into it (to the left), all opned folders are closed, some other (maybe first ?) folder is opened. I have to navigate to my target folder (which was previously already opened) through the bumpy path to the target folder (which is totally non-intuitive and user anti-friendly) and then I can drop the mail to desired target folder.
Additionally, I need to go this rough path for every mail to the same target folder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the drag-and-drop behavior in the left folder tree with several folders expanded, then locate the frontend entry point responsible for folder scrolling and expansion during mail dragging. Done means expanded folders remain open and a mail can be dropped into an already visible target folder without forcing the folder structure to change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.