Closed Bug 1798701 Opened 2 years ago Closed 2 years ago

AppMenu Update status badge and text need styles

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird_esr102 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
thunderbird_esr102 --- fixed

People

(Reporter: rjl, Assigned: Paenglab)

References

Details

Attachments

(6 files)

Since bug 1797585, various update status' will be displayed in/on the AppMenu via a badge and some text that could appear at the top.

I believe we need to add some possible selectors to mail/themes/shared/mail/panelUI.css from browser/themes/shared/toolbarbutton-icons.css and browser/themes/shared/customizableui/panelUI-shared.css.

  • badge-status="update-available"
  • badge-status="update-downloading"
  • badge-status="update-manual"
  • badge-status="update-other-instance"
  • badge-status="update-restart"

Currently the badge shows up as a red blob, and the line of text looks very out of place.

I will try to get screenshots and some more specifics as to what is needed.

Attached image image.png

Badge currently displayed

Ahh.. the text that appears has a missing string. I will see if I can find and add those in another bug.

Attached image update-icon.png

I see it only for the badge-status="update-restart".

A problem of the badge in the AppButton could be that we have no corresponding entries in the AppMenu for restart.

Alessandro, we have actually the update icon in the title bar (see image). Should we still style the AppButton badge?

Maybe we should implement the update functionality like FX has (you filed a bug for this but closed it again).

Flags: needinfo?(alessandro)
Attached image image.png

Richard, are we looking at the same thing? You're up in the title bar it looks like, I'm just looking at the AppMenu.
This is what i see for Firefox's AppMenu.

Attached image image.png

And this is how it's currently styled in Thunderbird.

(In reply to Rob Lemley [:rjl] from comment #4)

Richard, are we looking at the same thing? You're up in the title bar it looks like, I'm just looking at the AppMenu.
This is what i see for Firefox's AppMenu.

Yes, we had the special update icon because we had no such functionality in in our AppMenu. Maybe with your changes this update icon does no more work and we can remove it.

(In reply to Rob Lemley [:rjl] from comment #5)

Created attachment 9301611 [details]
image.png

And this is how it's currently styled in Thunderbird.

Oh, didn't know we show now this info in the AppMenu.

Depends on: 1798761

(In reply to Richard Marti (:Paenglab) from comment #6)

And this is how it's currently styled in Thunderbird.

Oh, didn't know we show now this info in the AppMenu.

Yeah, it came with the recent updater changes.. sort of.. some of it came in with bug 1621841. It needs some updating though. Bug 1798761 should take care of it.

Flags: needinfo?(alessandro)
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Target Milestone: --- → 108 Branch

Patch for ESR to fix the typo.

Attachment #9301826 - Flags: review?(alessandro)
Comment on attachment 9301826 [details] [diff] [review] 1798701-app-meun-badged-ESR.patch Review of attachment 9301826 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for this
Attachment #9301826 - Flags: review?(alessandro) → review+

Comment on attachment 9301826 [details] [diff] [review]
1798701-app-meun-badged-ESR.patch

[Approval Request Comment]
User impact if declined: no hamburger icon shown when a badge is shown
Testing completed (on c-c, etc.): landing soon on c-c but has more changes than this typo fix
Risk to taking this patch (and alternatives if risky): low, typo fix

Attachment #9301826 - Flags: approval-comm-esr102?

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/19393f477a6d
Style the AppButton badge for badge-status="update-restart". r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9301826 [details] [diff] [review]
1798701-app-meun-badged-ESR.patch

[Triage Comment]
Approved for esr102

Attachment #9301826 - Flags: approval-comm-esr102? → approval-comm-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: