Fix inconsistency regarding messageDisplay.getDisplayedMessages() and mailTabs.getSelectedMessages()
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Tracking
(thunderbird128 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird128 | --- | fixed |
People
(Reporter: john, Assigned: john)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
|
Details |
We introduced message lists in order to cope with large amount of returned messages. We should be consistent in its usage. The number of displayed messages can be as large as the number of selected messages, so both functions should behave the same.
| Assignee | ||
Comment 1•1 year ago
|
||
We introduced message lists in order to cope with large amount of
returned messages. We should be consistent in its usage. The number of
displayed messages can be as large as the number of selected messages,
so both functions should behave the same.
The only other place where we still return messages as plain arrays is
in the compose API, when returning the saved/send messages, which is
limited to only a few messages. It is acceptable to keep returning these
in an array.
This change is only affecting Manifest V3.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/6928290ca41a
Fix inconsistency regarding messageDisplay.getDisplayedMessages() and mailTabs.getSelectedMessages() in Manifest V3. r=mkmelin
| Assignee | ||
Comment 3•1 year ago
|
||
Comment on attachment 9406904 [details]
Bug 1901930 - Fix inconsistency regarding messageDisplay.getDisplayedMessages() and mailTabs.getSelectedMessages() in Manifest V3. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #): -
User impact if declined: Inconsistent API behavior. ESR 128 is our launch for official Manifest V3 support and we worked hard to get it ready. This was not ready in time by a few days.
Testing completed (on c-c, etc.): none (besides automated tests)
Risk to taking this patch (and alternatives if risky): Low
Comment 4•1 year ago
|
||
Comment on attachment 9406904 [details]
Bug 1901930 - Fix inconsistency regarding messageDisplay.getDisplayedMessages() and mailTabs.getSelectedMessages() in Manifest V3. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Comment 5•1 year ago
|
||
| bugherder uplift | ||
Thunderbird 128.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/3040976ed2ca
Description
•