Closed Bug 267672 Opened 20 years ago Closed 16 years ago

Request: groups (when "group by sort") should have the number of read and unread emails

Categories

(Thunderbird :: Mail Window Front End, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME
Thunderbird2.0

People

(Reporter: maa_public, Assigned: mscott)

Details

Attachments

(3 files, 2 obsolete files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.53  [en]
Build Identifier: 

It would be nice to have the number of unread and also probably total emails in 
a group name, when emails are grouped by sort.



Reproducible: Always
Steps to Reproduce:
1. Switch to Inbox, choose sort by date, then group by sort. 
2. Look at group names
Actual Results:  
Seen names are:
"Today"
"Yesterday"
"Last Week"
etc.

Expected Results:  
It would be nice to have something like "Today (1)" (when 1 today email is 
unread). When the number of unread is not 0, it could be in bold font for 
consistency with the "Folders" style.
Even more nice it would be to have something like "Today (1 of 20)", where 1 is 
the number of unread today emails and 20 is total number of today emails.
you can use the total and unread columns to get that information...
(In reply to comment #1)
> you can use the total and unread columns to get that information...
It wastes space for thousands of emails and used only for a dozen of groups.

My suggestion if for group row to be slightly higher (at least in "closed" 
state) than an email row. If it is higher, much more useful information could be 
placed on it (number of unread/total emails, size of emails, number of work/
todo/personal/etc emails if any, number of flagged/spam emails if any, etc). An 
if a group row is higher, it helps in distinguishing it from a email.
It would also be nice to make the Heading BOLD Only when there is unread mail
instead of all the time.  Just like in Outlook.  That way a user does not need
to expand the headings to see unread email, they can go down the list.
does outlook show the unread counts for a particular group in the group row?
someone want to post a screen shot if so?
Outlook does display:   the format (# Unread,# Read) in the heading.  I do not
have Outlook on this computer.  I want to say that the headings are very similar
though.  If Unread is >0 then the entire heading is BOLD, otherwise it is Regular.
By heading I'm talking about "+  Name   (Unread,Read)"
Attached patch Code patch (obsolete) — Splinter Review
Code to add this feature.  Adds totals to the group header in the format "
(unread/total)" - see the screenshot for what it looks like.
Attached image Screenshot of patch
I like this idea a lot. 

Some other options:

1) Just show the unread message counts like we do in the folder pane:

Today (5)
Yesterday
Last Week (3)

not displaying anything if there are no unread messages

2) Skipping the unread message count if its value is zero
i.e. instead of 
Today (0/10)
it could be
Today (10)
Yesterday (4/50)

Likewise, if a group has 0 messages in it, we'd show nothing at all:
Today

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Thunderbird1.1
opions on the current screen shot vs. option 1 vs. option 2 listed above?
I prefer #2
and if we do that, we might want to automatically hide and restore the thread
total columns (though we don't do that for flat sort either...)
Here's a variation of the contributed fix which skips the unread and the '/' if
the group doesn't have any unread messages.

I'd like to try this out on the trunk to see how folks like it.
Attachment #191345 - Attachment is obsolete: true
Attachment #192746 - Flags: superreview?(bienvenu)
Attachment #192746 - Flags: superreview?(bienvenu) → superreview+
this is now in the trunk so we can try it out
someone on mozillazine suggested a 3rd alternative.


Just show the unread counts for the group. 

If Today has 2 unread messages, yesterday has none, you'd see something like:

Inbox (2)
  Today (2)
  Yesterday

I think I like that idea.
we'll probably leave this alone for 1.5. It's getting late in the game and I'm
not sure which of the ideas I like yet either. 
Target Milestone: Thunderbird1.1 → Thunderbird2.0
Attached patch Only show unread message count (obsolete) — Splinter Review
This is another variation of the contributed fix that only shows unread messages (as suggested in Scott's option #1). Of course, if there are no unread messages it doesn't change the group header at all.

--bsiegel
Attachment #202587 - Attachment is obsolete: true
Old patch was generating an error after successfully applying. Fixed.
While you are at it, Group By Sort headings should also include size of messages (sum of sizes for that header).
Is there any reason to leave this bug open?  Is the patch in attachment 202750 [details] [diff] [review] something that is (still?) needed?
It would be really good to have a feature like this. One person I know will not change to Thunderbird until it has the same type of feature as Outlook.
Outlook makes the group BOLD if any unread messages and Regular if zero.
This with the option to view the number of unread messages in a column I would think would keep most people happy.
Please add this
Chris
I agree - any reason not to land this, Scott? Are you still on the fence?
For consistency I think it would look better if it worked the way Folders work. i.e. bold if unread mail in folder and (nn) after the folder name where nn is number unread
I have a user who will not move to Thunderbird until this facility is available. They work with there inbox Grouped by Sender and they need to see how many unread emails there are for each person.
What is the status of this improvement?
QA Contact: front-end
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/20080814031842 Shredder/3.0b1pre
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: