Page MenuHomePhorge

Do not ignore INBOX for the displayed folder hierarchy
ClosedPublic

Authored by mollekopf on Jan 13 2021, 7:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 8:16 PM
Unknown Object (File)
Tue, Apr 9, 9:41 AM
Unknown Object (File)
Thu, Apr 4, 7:39 PM
Unknown Object (File)
Sat, Mar 30, 2:14 PM
Unknown Object (File)
Mar 2 2024, 3:13 AM
Unknown Object (File)
Feb 29 2024, 3:30 PM
Unknown Object (File)
Feb 15 2024, 3:56 AM
Unknown Object (File)
Feb 14 2024, 8:09 PM
Subscribers
None

Details

Summary

Previously INBOX.Archive and Archive were indistinguishable.

Diff Detail

Repository
rRPK roundcubemail-plugins-kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

FWIW, this code was just like this from the beginning, so I don't know if there ever was a valid usecase for it.
Can't think of one though.

I'm not sure I like this. While fixing the issue you also changed how the list will look like. I.e. flat list instead of a tree-like list. If we do this anyway we should do the same in kolab_delegation plugin.

mollekopf retitled this revision from Do not truncate the prefix in the activesync UI to Do not ignore INBOX for the displayed folder hierarchy.

Instead of not showing a tree at all, show it for INBOX as well.

This solves the original concern, while keeping the hierarchy intact.
This is also relevant because the previous patch did not work with localized special folder names (such as "Posteingang" for INBOX).

I applied the same change for delegation as well.

FWIW, I assume the original code meant to make the case prettier where all folders are below inbox. I think for the affected UI's it shouldn't be a big deal, and avoids the confusing situation we can have right now.

This revision is now accepted and ready to land.Jan 19 2021, 11:04 AM
This revision was automatically updated to reflect the committed changes.