Currently, when moving mails, the current folder is hidden from the move target dropdown, see:
|
export async function getMoveTargetFolderSystemsForMailsInFolder(foldersModel: MailModel, currentFolder: MailSet): Promise<Array<FolderInfo>> { |
|
const mailboxDetails = await foldersModel.getMailboxDetailsForMailFolder(currentFolder) |
|
if (mailboxDetails == null) { |
|
return [] |
|
} |
|
|
|
const folders = await foldersModel.getMailboxFoldersForId(mailboxDetails.mailbox.mailSets._id) |
|
if (folders == null) { |
|
return [] |
|
} |
|
|
|
return folders.getIndentedList().filter((f: IndentedFolder) => { |
|
return !isFolderReadOnly(f.folder) && !isSameId(f.folder._id, currentFolder._id) |
|
}) |
|
} |
So when moving mails from a folder with children, and because the parent folder is not shown, its children appear as if they're nested within another folder (the folder above their parent in the dropdown) which can be confusing.
Example:
When moving mails from Parent with the following folder tree:
SiblingOfParent
Parent
.Child1
.Child2
..GrandChild
the move drop down is shown as:
SiblingOfParent
.Child1
.Child2
..GrandChild
Currently, when moving mails, the current folder is hidden from the move target dropdown, see:
tutanota/src/applications/mail-app/mail/model/MailUtils.ts
Lines 125 to 139 in 57c3c52
So when moving mails from a folder with children, and because the parent folder is not shown, its children appear as if they're nested within another folder (the folder above their parent in the dropdown) which can be confusing.
Example:
When moving mails from
Parentwith the following folder tree:the move drop down is shown as: