Closed Bug 490691 Opened 15 years ago Closed 15 years ago

in smart folders mode, remove special folders from normal accounts

Categories

(Thunderbird :: Folder and Message Lists, defect, P2)

x86
Windows Vista
defect

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: Bienvenu, Assigned: Bienvenu)

References

Details

(Whiteboard: [b3ux, m6 has patch, needs r standard8])

Attachments

(1 file, 2 obsolete files)

Attached patch proposed fix (obsolete) — Splinter Review
Since we're showing you your special folders in the smart folders account, we can hide them from their actual accounts.

This is slightly tricky, because we then need to promote children of the Inbox to top level folders in the actual accounts (we hide children of the inbox from the smart folders account). So I had to add a subclass of ftvItem that knows not to include special folders in its children, and to add sub-folders of the inbox to its children as top level folders.

Once I did this, it became clear that I should add a smart folder for the spam folders, so I've done that as well.
Flags: blocking-thunderbird3+
Attachment #375073 - Flags: ui-review?(clarkbw)
Attachment #375073 - Flags: review?(bugzilla)
My memory of the plan was that the special folders would be top-level, not inside a 'special folders' top-node.  Is that hard?
I don't think it would be hard (famous last words), but it makes it very hard to collapse them away - I can try adding that to this patch.
Attachment #375073 - Attachment is obsolete: true
Attachment #375081 - Flags: ui-review?(clarkbw)
Attachment #375081 - Flags: review?(bugzilla)
Attachment #375073 - Flags: ui-review?(clarkbw)
Attachment #375073 - Flags: review?(bugzilla)
One thing I'm not clear on is where the gloda saved searches will go in this UI - will they be top level folders as well? If you get a lot of them, you might want to occasionally collapse them away...
Whiteboard: [has patch, needs r standard8]
Priority: -- → P2
Whiteboard: [has patch, needs r standard8] → [b3ux, m6 has patch, needs r standard8]
Blocks: 491440
(In reply to comment #4)
> One thing I'm not clear on is where the gloda saved searches will go in this UI
> - will they be top level folders as well? If you get a lot of them, you might
> want to occasionally collapse them away...

Does this need resolving before I review this patch? Bryan?
(In reply to comment #5)
> (In reply to comment #4)
> > One thing I'm not clear on is where the gloda saved searches will go in this UI
> > - will they be top level folders as well? If you get a lot of them, you might
> > want to occasionally collapse them away...
> 
> Does this need resolving before I review this patch? Bryan?

I'm pretty sure Bryan and David want the smart folders at the top level...
IMO, this doesn't need resolving.  gloda saved searches will show up either toplevel or in a "recent & saved searches" toplevel, or something.  but let's not hold this generic patch for that specific bit.
Comment on attachment 375081 [details] [diff] [review]
remove special folders, and remove special folder account

ah, sorry.

I think bienvenu makes a good point that lots of smart folders at the top level might mean that people want to collapse them but I don't think we want to block on that need right now.
Attachment #375081 - Flags: ui-review?(clarkbw) → ui-review+
Blocks: 492922
Attachment #375081 - Flags: review?(bugzilla)
Comment on attachment 375081 [details] [diff] [review]
remove special folders, and remove special folder account

In general the patch looks good. However unfortunately its bitrotted, I tried fixing it but got some exception on startup. Can you take a look?
yuck, that was bit-rotted - I'm impressed you even tried to de-bitrot it :-) I didn't get any startup errors running with this patch.
Attachment #375081 - Attachment is obsolete: true
Attachment #378598 - Flags: ui-review+
Attachment #378598 - Flags: review?(bugzilla)
Comment on attachment 378598 [details] [diff] [review]
un-bitrotted patch

The only issue I've seen is when we create a new account we get the Inbox listed under the account and the Inbox smart folder. That's not really a big issue so I'm happy if you want to ship that out to another bug to fix.

r=Standard8 with either a bug or a fix for the issue mentioned.
Attachment #378598 - Flags: review?(bugzilla) → review+
 Bug 493960 filed for the new account inbox issue.
fix checked in.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 490328
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: