Closed Bug 803935 Opened 12 years ago Closed 11 years ago

Support marking a notification as "read", directly from the parent App

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cjones, Unassigned)

References

Details

(Whiteboard: interaction, UX-P1)

STR
 (1) Receive SMS
 (2) Tap notification to open SMS app
 (3) Receive more SMSes while in SMS conversation screen

Notifications of the additional SMSes continue to pile up in the system tray, even though the full messages are appearing right in front of me.
Keywords: polish
Whiteboard: [functional polish]
Depends on: 801351
No longer depends on: 801351
Depends on: 801351
Component: Gaia → Gaia::SMS
Notifications should still be valuable if they don't belong to the current thread the user is viewing. I agree they shouldn't be displayed for the thread on screen.
Priority: -- → P2
Whiteboard: [functional polish] → [functional polish] UX_QA, interaction
Keywords: polish
Whiteboard: [functional polish] UX_QA, interaction → interaction
Priority: P2 → --
Whiteboard: interaction → interaction, UX-P2
Currently if the received sms belongs to the thread that we are into, notification does not appear. Probably the key point would be having the capability of 'removing' the notifications that have been checked directly in the APP.

Scenario:
- We are in SMS App, thread for phone number A
- We receive a SMS from A (no notification is created due to we are in the thread for number A)
- We receive a SMS from B (notification appears)
- In SMS App we move from A to B

Expected:
- Notification from B should be removed from the notification bar (check this behaviour in 'What's up' App for example)

Currently:
- Notification will be in notification bar until 'clicking' directly on it, or 'deleting' all notifications.

However this is not a problem of SMS App, is a platform problem. What about changing the name of this bug to 'B2G Notifications: Removing a notification directly from the Apps is not supported'?
Flags: needinfo?(jones.chris.g)
If the SMS app is in the foreground, why would it ever create a notification?
Flags: needinfo?(jones.chris.g)
Because you have to be notified that a message from other sender has been received. It was checked with UX Team and it's the same way of working as other 'messaging' apps as 'What's up'.
(In reply to Borja Salguero [:borjasalguero] (limited access to email until 10th December) from comment #2)

> Expected:
> - Notification from B should be removed from the notification bar (check
> this behaviour in 'What's up' App for example)
> 
> Currently:
> - Notification will be in notification bar until 'clicking' directly on it,
> or 'deleting' all notifications.
> 
> However this is not a problem of SMS App, is a platform problem. What about
> changing the name of this bug to 'B2G Notifications: Removing a notification
> directly from the Apps is not supported'?

Done. Updated the title to: 
"Support marking a notification as "read", directly from the parent App."
Summary: Notifications of SMS appear while SMS app is open, and are never dismissed → Support marking a notification as "read", directly from the parent App
Whiteboard: interaction, UX-P2 → interaction, UX-P1
Component: Gaia::SMS → Gaia
Borja, this is marked UX-P2 ("should fix"). Can Rafa and yourself decide whether or not to nominate this for blocking-basecamp, and if you do nominate, please also be sure to add a rationale for the triagers?
I think that this bug has a lot of implications in 'Notifications API'. We are going to request more info from Vivien.
Flags: needinfo?(21)
In order to 'close' the notification we need bug 779213 that is bb- or the full implementation of the web notification API (which is out of the scope for v1).
Flags: needinfo?(21)
Component: Gaia → Gaia::System
This one seems to be fixed, at least for sms app.
However make every app using notification API to detect visibilitychange sounds weird. Let's revisit the notification API implementation after v1.
Status: NEW → RESOLVED
Closed: 11 years ago
Component: Gaia::System → Gaia::SMS
QA Contact: mbarone976
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.