Closed
Bug 829520
Opened 11 years ago
Closed 11 years ago
[Email] Folder sorting breaks the displayed folder hiearchy.
Categories
(Firefox OS Graveyard :: Gaia::E-Mail, defect)
Tracking
(blocking-b2g:-, b2g18+ fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: pzhang, Assigned: squib)
Details
(Whiteboard: interaction [UX-P1], [TEF_REQ], PRODUCT-FIXFEATURE, [TEF UX Critical])
Attachments
(3 files)
The sub-folders under "Sent" are displayed as the sub-folders of "Junk" in the Email app.
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Folders are stored in a flat list that is sorted on the composite key: [account id, folder type priority, folder path] Hierarchy is maintained within a folder type priority value, but the problem is that child folders do not inherit the folder type of their parents. Options to avoid this problem are to: - Have child folders inherit their parent's priority. - Have the sort key always maintain hierarchy by sorting on an augmented folder path where each path segment is prefixed by the priority of that folder. This is not entirely straightforward because the path is currently a flattened string with no meta-data. - Use a tree structure and sort the contents of the tree. This would require some internal rep changes.
Summary: [Email] The structure of the local folders are inconsistent with the folders displayed in the Hotmail website. → [Email] Folder sorting breaks the displayed folder hiearchy.
Comment 3•11 years ago
|
||
[TEF_REQ] as Feature required for TEF build.
Whiteboard: interaction [UX-P1], [TEF_REQ]
Updated•11 years ago
|
Whiteboard: interaction [UX-P1], [TEF_REQ] → interaction [UX-P1], [TEF_REQ], PRODUCT-FIXFEATURE
Updated•11 years ago
|
Whiteboard: interaction [UX-P1], [TEF_REQ], PRODUCT-FIXFEATURE → interaction [UX-P1], [TEF_REQ], PRODUCT-FIXFEATURE, [TEF UX Critical]
Updated•11 years ago
|
blocking-b2g: --- → tef?
Updated•11 years ago
|
blocking-b2g: tef? → tef+
Comment 4•11 years ago
|
||
Who can take this? Jim? Andrew?
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 6•11 years ago
|
||
It has been decided that the UX bugs will track, not block for v1.0.1 and we'll consider uplift but potentially target v1.1 depending on risk/reward.
blocking-b2g: tef+ → -
status-b2g18:
--- → affected
status-b2g18-v1.0.0:
--- → wontfix
tracking-b2g18:
--- → +
Comment 7•11 years ago
|
||
Hey Jim, when do you expect to have a fix for this?
Assignee | ||
Comment 8•11 years ago
|
||
In a day or two, I expect. I had gotten pulled off this to work on the music app for a bit, but now I'm back to focusing on this.
Assignee | ||
Comment 9•11 years ago
|
||
In-progress PR up: https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/125 Things basically work for ActiveSync, but I haven't run tests, nor have I written any new tests yet. I also haven't fixed IMAP yet. Still, the interesting part (fixing the sort function) should be done.
Comment 10•11 years ago
|
||
Why are we spending time on this *now* ?
Comment 11•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #10) > Why are we spending time on this *now* ? It's "[TEF UX Critical]"; we were directed to work in this priority: shira+, tef+, TEF UX critical, v1.1 features.
Assignee | ||
Comment 12•11 years ago
|
||
Just a quick update for those following along: the code changes are done, and I'm just writing unit tests now. I should be totally finished this evening.
Comment 13•11 years ago
|
||
Batch edit: Bugs marked status-b2g18: affected after 2/13 branching of v1.0.1 are now also status-b2g18-v1.0.1: affected
status-b2g18-v1.0.1:
--- → affected
Assignee | ||
Comment 14•11 years ago
|
||
This is ready for review now.
Attachment #714169 -
Flags: review?(bugmail)
Assignee | ||
Comment 15•11 years ago
|
||
Checked in: https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/125 https://github.com/mozilla-b2g/gaia/pull/8219
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•11 years ago
|
||
Comment on attachment 714169 [details] [review] https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/125 (r+ from asuth over IRC)
Attachment #714169 -
Flags: review?(bugmail) → review+
Comment 17•11 years ago
|
||
Uplifted commit 2ebf7c3cc1addf0b46a6d7fa865c7c541c220065 as: v1-train: 9abda2f7e31343519673a1cad2ce7657b47e2728
Comment 18•11 years ago
|
||
Was landed in v1.0.1 as part of Bug 851124 big uplift. Will land (again) in v1-train tomorrow at the latest too.
Comment 19•11 years ago
|
||
Landed in v1-train as part of Bug 851124 big uplift.
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•