Closed Bug 1550720 Opened 5 years ago Closed 5 years ago

Expose FxA services targeting attributes for messages

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 71
Iteration:
68.4 - Apr 29 - May 12
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- wontfix
firefox67 --- wontfix
firefox67.0.1 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- fixed

People

(Reporter: andreio, Assigned: andreio)

References

(Blocks 1 open bug)

Details

(Keywords: github-merged)

Attachments

(1 file, 1 obsolete file)

Follow up to bug 1547120, this makes the attributes available for targeting expressions.

Example:

// payload
[
  {
    "name": "Notes",
    "id": "a3dbd8c5a6fd93e2",
    "lastAccessTime": 1556025613000,
    "lastAccessTimeFormatted": "7 days ago",
    "scope": [
      "https://identity.mozilla.com/apps/notes",
      "profile"
    ]
  }
]


// targeting expression
`(["Notes"] intersect fxaServices|mapToProperty('name'))|length > 0`

We could make this more specific as needed: hasNotesService, for example.

Iteration: --- → 68.4 - Apr 29 - May 12
Priority: -- → P1
Blocks: msrouter
No longer blocks: cfr-remote-68
Component: Activity Streams: Newtab → Messaging System
See Also: → 1547120
Attachment #9064010 - Attachment is obsolete: true
Blocks: 1588215
Status: NEW → RESOLVED
Closed: 5 years ago
Keywords: github-merged
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

Regressed by: 1548404
No longer regressed by: 1548404
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: