Closed Bug 1615934 Opened 4 years ago Closed 4 years ago

Send tab ID with compose.onBeforeSend and composeAction.onClicked events

Categories

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

enhancement
Not set
normal

Tracking

(thunderbird74 fixed)

RESOLVED FIXED
Thunderbird 75.0
Tracking Status
thunderbird74 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(2 files)

Given the difficulties (bug 1615926) of finding the currently active compose window, I think the events should give a reference to it. messageDisplay.onMessageDisplayed and messageDisplayAction.onClicked already do this. This would be a breaking change for compose.onBeforeSend, but that has only just reached beta.

Attachment #9127194 - Flags: review?(mkmelin+mozilla)
Attachment #9127195 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9127194 [details] [diff] [review]
1615934-onbeforesend-tabid-1.diff

Review of attachment 9127194 [details] [diff] [review]:
-----------------------------------------------------------------

Sure, r=mkmelin
Attachment #9127194 - Flags: review?(mkmelin+mozilla) → review+
Attachment #9127195 - Flags: review?(mkmelin+mozilla) → review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2996d7ac481a
Send tab ID with compose.onBeforeSend event. r=mkmelin
https://hg.mozilla.org/comm-central/rev/80f6ca1e8ac7
Send tab ID with composeAction.onClicked event. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 75.0
Comment on attachment 9127194 [details] [diff] [review]
1615934-onbeforesend-tabid-1.diff

We should get this on beta before it becomes too well used.
Attachment #9127194 - Flags: approval-comm-beta?
Attachment #9127195 - Flags: approval-comm-beta?
See Also: → 1615926
Attachment #9127194 - Flags: approval-comm-beta? → approval-comm-beta+
Attachment #9127195 - Flags: approval-comm-beta? → approval-comm-beta+
Blocks: 1617514
See Also: 1615926
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: