Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29370562: [adblockpluscore] Issue 4762 - Added "relentless" notification that shows up in intervals (Closed)

Created:
Dec. 30, 2016, 9:48 a.m. by wspee
Modified:
Feb. 21, 2017, 11:14 a.m.
CC:
Wladimir Palant
Visibility:
Public.

Description

[adblockpluscore] Issue 4762 - Added "relentless" notification that shows up in intervals

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressed review comments #

Total comments: 2

Patch Set 3 : Changed not equal comparison #

Total comments: 2

Patch Set 4 : Added tests for relentless notification #

Total comments: 10

Patch Set 5 : Added another testcase and fixed review comments #

Total comments: 12

Patch Set 6 : Adressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -11 lines) Patch
M lib/notification.js View 1 2 3 3 chunks +32 lines, -11 lines 0 comments Download
M test/notification.js View 1 2 3 4 5 3 chunks +64 lines, -0 lines 0 comments Download

Messages

Total messages: 14
wspee
Dec. 30, 2016, 9:54 a.m. (2016-12-30 09:54:00 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29370562/diff/29370563/lib/notification.js File lib/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29370563/lib/notification.js#newcode212 lib/notification.js:212: let shown = undefined; Initializing a variable with undefined ...
Jan. 6, 2017, 11:21 a.m. (2017-01-06 11:21:08 UTC) #2
wspee
https://codereview.adblockplus.org/29370562/diff/29370563/lib/notification.js File lib/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29370563/lib/notification.js#newcode212 lib/notification.js:212: let shown = undefined; On 2017/01/06 11:21:08, Sebastian Noack ...
Jan. 6, 2017, 2:08 p.m. (2017-01-06 14:08:51 UTC) #3
wspee
Added Felix and removed Wladimir as a reviewer as he will be afk for the ...
Jan. 6, 2017, 2:10 p.m. (2017-01-06 14:10:23 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29370562/diff/29370799/lib/notification.js File lib/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29370799/lib/notification.js#newcode314 lib/notification.js:314: if (!(typeof data.shown == "object")) How about |typeof != ...
Jan. 6, 2017, 2:17 p.m. (2017-01-06 14:17:02 UTC) #5
wspee
https://codereview.adblockplus.org/29370562/diff/29370799/lib/notification.js File lib/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29370799/lib/notification.js#newcode314 lib/notification.js:314: if (!(typeof data.shown == "object")) On 2017/01/06 14:17:02, Sebastian ...
Jan. 6, 2017, 2:35 p.m. (2017-01-06 14:35:54 UTC) #6
Sebastian Noack
LGTM
Jan. 11, 2017, 6:16 p.m. (2017-01-11 18:16:58 UTC) #7
Felix Dahlke
Looks good, just have one nit for the changes. But: I'm missing tests for the ...
Jan. 12, 2017, 4:39 p.m. (2017-01-12 16:39:49 UTC) #8
wspee
Added tests to test relentless notification features: * cannot be disabled * shows up in ...
Jan. 16, 2017, 1:51 p.m. (2017-01-16 13:51:13 UTC) #9
Felix Dahlke
Sorry for the delay, looks good! Few more comments. https://codereview.adblockplus.org/29370562/diff/29372039/lib/notification.js File lib/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29372039/lib/notification.js#newcode227 lib/notification.js:227: ...
Jan. 19, 2017, 5:16 p.m. (2017-01-19 17:16:14 UTC) #10
wspee
https://codereview.adblockplus.org/29370562/diff/29372039/lib/notification.js File lib/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29372039/lib/notification.js#newcode227 lib/notification.js:227: if (notification.type !== "relentless" && Prefs.notifications_ignoredcategories.indexOf("*") != -1) On ...
Jan. 20, 2017, 9:21 a.m. (2017-01-20 09:21:41 UTC) #11
Felix Dahlke
LGTM - added a couple of test description nits you might want to address, but ...
Jan. 20, 2017, 9:51 a.m. (2017-01-20 09:51:37 UTC) #12
wspee
https://codereview.adblockplus.org/29370562/diff/29372772/test/notification.js File test/notification.js (right): https://codereview.adblockplus.org/29370562/diff/29372772/test/notification.js#newcode410 test/notification.js:410: test.deepEqual(showNotifications(), [], "Relentless notification is not shown without url"); ...
Jan. 20, 2017, 10:26 a.m. (2017-01-20 10:26:14 UTC) #13
Felix Dahlke
Jan. 20, 2017, 10:32 a.m. (2017-01-20 10:32:50 UTC) #14
LGTM!

Powered by Google App Engine
This is Rietveld