Closed
Bug 1259127
Opened 8 years ago
Closed 8 years ago
Content notifications: Consider adding "Read" action to notification
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox49 verified)
VERIFIED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | verified |
People
(Reporter: sebastian, Assigned: sebastian)
References
Details
Attachments
(4 files)
This is how content notifications look like currently: https://bugzilla.mozilla.org/attachment.cgi?id=8723718 For me it looks like "Notifications Setting" is the primary action and I want to click it. Maybe we should add a "Read" or "Open" action as primary action that just does the same as clicking the notification: Open the updated sites.
Assignee | ||
Updated•8 years ago
|
Summary: Consider adding "Read" action to notification → Content notifications: Consider adding "Read" action to notification
Assignee | ||
Comment 1•8 years ago
|
||
This is a screenshot from YouTube for reference. From IRC: 16:37:56 <•mfinkle> sebastian: "read" would be a nice action approach 16:38:13 <•mfinkle> "read" lets the user know an action is available 16:38:30 <•mfinkle> instead of just thinking "thanks for telling me" and swiping it away @antlam: What do you think? Adding the option and then looking at telemetry should be quite simple.
Flags: needinfo?(alam)
Comment 2•8 years ago
|
||
I think this is a good idea. We should measure this and compare it with our current design (no action button). How does this look? [ ] READ NOW | [ ] SETTINGS We can use the same icon for our notifications SETTINGS button (https://design.google.com/icons/#ic_notifications_off) and the "open in browser" icon for our READ NOW button (https://design.google.com/icons/#ic_open_in_browser)
Flags: needinfo?(alam) → needinfo?(s.kaspari)
Assignee | ||
Comment 3•8 years ago
|
||
Sounds good. I'll create a patch and flag you for feedback.
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Flags: needinfo?(s.kaspari)
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8745334 -
Flags: feedback?(alam)
Assignee | ||
Comment 5•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/48983/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/48983/
Attachment #8745336 -
Flags: review?(gkruglov)
Comment 6•8 years ago
|
||
Comment on attachment 8745334 [details]
content-notification-actions.png
Nice! let's see how this affects things
Attachment #8745334 -
Flags: feedback?(alam) → feedback+
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8745336 [details] MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r=grisha I need to add telemetry for the "Read Now" button. I'll reflag you as soon as I have a new patch ready.
Attachment #8745336 -
Flags: review?(gkruglov)
Assignee | ||
Comment 8•8 years ago
|
||
Comment on attachment 8745336 [details] MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r=grisha Review request updated; see interdiff: https://reviewboard.mozilla.org/r/48983/diff/1-2/
Attachment #8745336 -
Attachment description: MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r?grisha → MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r?grisha,mfinkle
Attachment #8745336 -
Flags: review?(mark.finkle)
Attachment #8745336 -
Flags: review?(gkruglov)
Assignee | ||
Comment 9•8 years ago
|
||
(Build on top of the patches from bug 1267639)
Comment 10•8 years ago
|
||
Comment on attachment 8745336 [details] MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r=grisha https://reviewboard.mozilla.org/r/48983/#review46857 ::: mobile/android/base/java/org/mozilla/gecko/feeds/ContentNotificationsDelegate.java:10 (Diff revision 2) > > package org.mozilla.gecko.feeds; > > import android.content.Intent; > import android.os.Bundle; > +import android.support.v4.app.NotificationCompat; Unused import ::: mobile/android/base/java/org/mozilla/gecko/feeds/ContentNotificationsDelegate.java:66 (Diff revision 2) > - Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.NOTIFICATION, "content_update"); > Telemetry.sendUIEvent(TelemetryContract.Event.LOAD_URL, TelemetryContract.Method.INTENT, "content_update"); > > + if (intent.getBooleanExtra(EXTRA_READ_BUTTON, false)) { > + // "READ NOW" button in notification was clicked > + Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.NOTIFICATION, "content_update_read_now"); Can we move "content_update_read_now" and "content_update" into constants? They're starting to be sprinkled all over the place.
Attachment #8745336 -
Flags: review?(gkruglov) → review+
Assignee | ||
Comment 11•8 years ago
|
||
Comment on attachment 8745336 [details] MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r=grisha Review request updated; see interdiff: https://reviewboard.mozilla.org/r/48983/diff/2-3/
Attachment #8745336 -
Attachment description: MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r?grisha,mfinkle → MozReview Request: Bug 1259127 - Content notifications: Add "Read now" action. r=grisha
Attachment #8745336 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 12•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/3fc88e045b865c3a9c1deb1f90f7c0c92b167d9c Bug 1259127 - Content notifications: Add "Read now" action. r=grisha
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3fc88e045b86
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 14•8 years ago
|
||
Verified as fixed in build 49.0a1 (2016-05-23); Device: Nexus 5 (Android 6.0.1).
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•