Closed Bug 1226020 Opened 9 years ago Closed 9 years ago

NotificationHelper closeOnClick regression

Categories

(Firefox OS Graveyard :: Gaia::System::Status bar, Utility tray, Notification, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: heidi.kasemir, Assigned: heidi.kasemir, Mentored)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Mentor: gandalf
Component: General → Gaia
Component: Gaia → Gaia::System::Status bar, Utility tray, Notification
Blocks: 1111841
Assignee: nobody → heidi.kasemir
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment on attachment 8689222 [details] [review]
[gaia] hkasemir:1226020-closeonclick-regression > mozilla-b2g:master

James, Shawn, while working on bug 1111841 Heidi migrated two cases from Notification API to use NotificationHelper.

One consequence of that switch is that NotificationHelper by default adds "closeOnClick" behavior. Becuase in the original code there was no click handler in those two calls, this patch adds "closeOnClick: false" to remove the unintended behavior change.

Could you please review this patch?
Attachment #8689222 - Flags: review?(shuang)
Attachment #8689222 - Flags: review?(jrburke)
Attachment #8689222 - Flags: review?(jrburke) → review+
(In reply to Zibi Braniecki [:gandalf][:zibi] from comment #2)
> Comment on attachment 8689222 [details] [review]
> [gaia] hkasemir:1226020-closeonclick-regression > mozilla-b2g:master
> 
> James, Shawn, while working on bug 1111841 Heidi migrated two cases from
> Notification API to use NotificationHelper.
> 
> One consequence of that switch is that NotificationHelper by default adds
> "closeOnClick" behavior. Becuase in the original code there was no click
> handler in those two calls, this patch adds "closeOnClick: false" to remove
> the unintended behavior change.
> 
> Could you please review this patch?

Hi,
Sorry, I'm not sure this is my domain.
Hi,
Sorry, I'm not sure this is not my domain. Can you confirm again?
According to https://wiki.mozilla.org/Modules/FirefoxOS you're an owner of Bluetooth module. The patch touches ./apps/bluetooth so I assumed you'll be the right person to review it.

Can you point the right person if that's not you?
Flags: needinfo?(shuang)
Flags: needinfo?(shuang)
Attachment #8689222 - Flags: review?(shuang) → review?(gasolin)
Attachment #8689222 - Flags: review?(gasolin) → review+
please resolve the unit test error before merge
Commit: https://github.com/mozilla-b2g/gaia/commit/c2d090af1b37ce942025e2725930ea035376b063
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: