Closed Bug 1870376 Opened 2 years ago Closed 2 years ago

Cards View: Show new icon if there is a new message in the thread

Categories

(Thunderbird :: Folder and Message Lists, enhancement, P3)

enhancement

Tracking

(thunderbird_esr115 wontfix)

RESOLVED FIXED
126 Branch
Tracking Status
thunderbird_esr115 --- wontfix

People

(Reporter: elizabeth, Assigned: micah)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 2 obsolete files)

If there is a new item in a thread, display the new icon on the twisty button that expands/collapses the thread.

I'm not sure we have a way to do this just yet.

Assignee: nobody → elizabeth
Status: NEW → ASSIGNED
Depends on: 1860625

One suggestion, We can show unread bubble same as shown in folder pane. So we can get number of unread message under each thread that are unread.

Duplicate of this bug: 1877289

(In reply to Jaise from comment #2)

One suggestion, We can show unread bubble same as shown in folder pane. So we can get number of unread message under each thread that are unread.

Thanks for your suggestion.

This specific bug already has a specific scope to update the icon only when new mail is present. What you have suggested here is a feature request outside the scope of this specific bug. I'm not sure where to redirect this feature request, but I wanted to acknowledge it.

Thank you!

Attachment #9375978 - Attachment description: WIP: Bug 1870376 - Show new icon in twisty button. → Bug 1870376 - Show new icon in twisty button for top message. r=#thunderbird-front-end-reviewers

Depends on D199341

There are currently two patches on this bug:

The first patch restores the ability to see if the thread has new messages. This only takes the topmost message into account, as was the functionality before the changes in bug 1860868.

Showing when there are new messages in the thread (outside of the topmost message) is new functionality that did not exist before. I've taken some guesses at an approach in the second patch. From my own understanding, this requires either modifying the properties available on a message or using JavaScript to generate a property based on the other items in the thread.

No longer duplicate of this bug: 1877289
Assignee: elizabeth → micah
Attachment #9375978 - Attachment is obsolete: true
Priority: -- → P2

As noted above currently we only pass if a child message in a thread is unread, not if it is new. This will require some new functionality deeper down the line before the front-end can update.

Showing when there are new messages in the thread (outside of the topmost message) is new functionality that did not exist before. ... this requires either modifying the properties available on a message or using JavaScript to generate a property based on the other items in the thread.

This is a little out of my depth currently.

Flags: needinfo?(geoff)

Yeah this is going to take a while. The grouped view handles groups like they're threads and threads have no concept of the number of new messages. In theory it should work the same as the number of unread messages, but nothing is ever as simple as it looks around here.

Thanks for looking into this.
This is a nice to have feature we would like to have before next ESR, but not a blocker for us to move onto other things.
So I marked this as P3.

Severity: -- → N/A
Priority: P2 → P3
Depends on: 1883506

I'll put a WIP patch in bug 1883506 if somebody wants to start working with it.

Flags: needinfo?(geoff)
Target Milestone: 122 Branch → 126 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/62bf4db4252e
[Cards View] Show new icon on replies button if there is a new message in the thread. r=leftmostcat,sol

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Attachment #9378908 - Attachment is obsolete: true

Noticed by comm/mail/test/static/browser_parsable_css.js

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4d6bf535fffc
follow-up, fix incorrect overflow css. r=freaktechnik

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: