Closed Bug 1873455 Opened 1 year ago Closed 1 year ago

Add support for action.setBadgeTextColor()

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
128 Branch

People

(Reporter: john, Assigned: john)

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → john
Summary: Add support for action.setBadgeTextColor() in MV3 → Add support for action.setBadgeTextColor()

Adds support to set the badge text color for all our action buttons.

Also adds tests for the badge text, badge text color and badge
background color, which have not been tested before.

The tests for label and title only existed for the browser action
button, which was acceptable since all action buttons once shared
the same implementation. However, with the introduction of the unified
toolbar, the implementation for the browser action button changed
and the original implementation used by the compose and message
display action button became untested. Adding these missing tests here
as well.

Target Milestone: --- → 128 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f22c8eb2a5b4
Add support for action.setBadgeTextColor(). r=mkmelin

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Pushed by john@thunderbird.net: https://hg.mozilla.org/comm-central/rev/691f7bc79eb6 Follow-up lint fix. rs=me DONTBUILD
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: