Closed
Bug 1777386
Opened 2 years ago
Closed 2 years ago
[PBM] Add SpecialMessageAction MULTI_ACTION that allows to configure multiple special actions
Categories
(Firefox :: Messaging System, enhancement, P1)
Firefox
Messaging System
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: pdahiya, Assigned: jprickett)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Scope of this bug is to implement a SpecialMessageAction MULTI_ACTION that takes an array of actions to run. SpecialMessageAction.handleAction would call itself multiple times for each action, e.g.,
case "MULTI_ACTION": action.data.forEach(this.handleAction)
where JSON will have data passed as
action: {
type: "MULTI_ACTION",
data : {
action: {
type: "OPEN_URL",
data: {
args: "https://example.com",
where: "tabshifted",
},
},
action: {
type: "SHOW_MIGRATION_WIZARD",
data: {},
},
}
}
Reporter | ||
Comment 1•2 years ago
•
|
||
For Pinning Private Browsing Tab experiment, we want to SET_PREF and PIN_TO_TASKBAR on click of Pin Private Tab promo button on about:privatebrowsing
https://bugzilla.mozilla.org/show_bug.cgi?id=1776934#c1
Without MULTI_ACTION support we can only execute on special action on click on promoButton.
See https://mozilla.slack.com/archives/G90HG2UQH/p1656545171768649
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → jprickett
Reporter | ||
Updated•2 years ago
|
Iteration: --- → 104.1 - June 27 - July 8
Priority: -- → P1
Assignee | ||
Comment 2•2 years ago
|
||
Reporter | ||
Updated•2 years ago
|
Iteration: 104.1 - June 27 - July 8 → 104.2 - July 11 - July 22
Pushed by jprickett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/351d37795399
Special Message Action MULTI_ACTION r=pdahiya
Comment 4•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•