Closed
Bug 1431469
Opened 6 years ago
Closed 6 years ago
Expose last session end timestamp to snippets
Categories
(Firefox :: Messaging System, enhancement, P1)
Firefox
Messaging System
Tracking
()
People
(Reporter: jcollings, Assigned: rrosario)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We would like to be able to target snippets to users based on their activity date of the last ping. We've started the investigation awhile ago in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1343510 and it seems that we're blocked by Bug 1054947. Kate please let me know what else you need - hoping to get this in Q1. I've also cc'd Giorgos who may be able to fill you in.
Updated•6 years ago
|
Severity: normal → enhancement
Iteration: --- → 60.3 - Feb 26
status-firefox59:
--- → wontfix
status-firefox60:
--- → affected
Priority: -- → P2
Updated•6 years ago
|
Summary: Expose profile/session timestamps/times in UITour.getConfiguration for snippets → Expose last and current session timestamps to snippets
Comment 1•6 years ago
|
||
Does this sound reasonable for your needs? - the time at which the current session started; - the time at which the previous session ended; Also, do we need to specifically target *browser* sessions or would about:home/about:newtab sessions be OK? (An about:home/about:newtab session is defined as the time during which an individual tab/about:home page is open)
Flags: needinfo?(jcollings)
Reporter | ||
Comment 2•6 years ago
|
||
Hey Kate, That works for us - we just needed a metric that was separate from profile age and would be able to give us a timely update on the most recent activity (whether that's starting a browser session or a tab session).
Flags: needinfo?(jcollings)
Updated•6 years ago
|
Iteration: 60.3 - Feb 26 → 60.4 - Mar 12
Updated•6 years ago
|
Priority: P2 → P1
Updated•6 years ago
|
Iteration: 60.4 - Mar 12 → 61.1 - Mar 26
Updated•6 years ago
|
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
Updated•6 years ago
|
Target Milestone: Firefox 61 → ---
Updated•6 years ago
|
Iteration: 61.1 - Mar 26 → 61.2 - Apr 9
Updated•6 years ago
|
Assignee: khudson → rrosario
Iteration: 61.2 - Apr 9 → 61.1 - Mar 26
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Commits pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/dc6c0574b36a93176f1ffa6592cb0d2cfd69547a Fix Bug 1431469 - expose previous session end (UNINIT) to snippets https://github.com/mozilla/activity-stream/commit/1bfa22719d1280af24e63ddd22f3f3ecc0d99d2e Merge pull request #4048 from rlr/Bug1431469/snippets-session-data Fix Bug 1431469 - expose previous session end (UNINIT) to snippets
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•6 years ago
|
||
We ended up only exposing the timestamp for the last time Activity Stream UNINIT'd which happens when the browser shuts down. It is exposed in snippets data as "previousSessionEnd".
Summary: Expose last and current session timestamps to snippets → Expose last session end timestamp to snippets
Comment 6•6 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cf8982afa7df
status-firefox61:
--- → fixed
Target Milestone: --- → Firefox 61
Updated•5 years ago
|
Component: Activity Streams: Newtab → Messaging System
You need to log in
before you can comment on or make changes to this bug.
Description
•