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

Issue 11161031: Show notifications on startup (Chrome) (Closed)

Created:
July 19, 2013, 5:26 p.m. by Felix Dahlke
Modified:
July 25, 2013, 10:06 a.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Note that the UI is a bit more complex than that for FF, it's implemented as discussed in the forum.

Patch Set 1 #

Patch Set 2 : Address issue from the Firefox review #

Total comments: 21

Patch Set 3 : Addressed issues (except for the animation) #

Total comments: 19

Patch Set 4 : Improved animation (animate for all severities, new icons, don't animate continuously, respect whit… #

Patch Set 5 : Use just one click handler for all links #

Total comments: 4

Patch Set 6 : Addressed issues, fixed issues with tab/window switching #

Total comments: 2

Patch Set 7 : Address remaining issue #

Total comments: 10

Patch Set 8 : Addressed issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -3 lines) Patch
M .hgsubstate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M background.js View 1 2 3 4 5 6 7 5 chunks +146 lines, -1 line 0 comments Download
A icons/notification-critical.png View 1 2 3 Binary file 0 comments Download
A icons/notification-information.png View 1 2 3 Binary file 0 comments Download
M lib/prefs.js View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M metadata.chrome View 2 chunks +2 lines, -0 lines 0 comments Download
M metadata.opera View 1 chunk +1 line, -0 lines 0 comments Download
A notification.html View 1 chunk +38 lines, -0 lines 0 comments Download
A notification.js View 1 2 3 4 1 chunk +94 lines, -0 lines 0 comments Download
M popup.html View 2 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 15
Felix Dahlke
July 19, 2013, 5:28 p.m. (2013-07-19 17:28:44 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/11161031/diff/5001/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/5001/background.js#newcode139 background.js:139: setNotificationPageAction(tab); This logic seems wrong to me - you ...
July 21, 2013, 11:15 a.m. (2013-07-21 11:15:30 UTC) #2
Felix Dahlke
The animation thing needs discussing, I'll address the other comments in a bit. http://codereview.adblockplus.org/11161031/diff/5001/background.js File ...
July 21, 2013, 12:19 p.m. (2013-07-21 12:19:53 UTC) #3
Felix Dahlke
Addressed all issues except the animation for now. I did reduce the frame rate though ...
July 22, 2013, 12:30 p.m. (2013-07-22 12:30:15 UTC) #4
Felix Dahlke
Improved the animation as discussed: 1. Animate the icon for both critical/information 2. Use new ...
July 22, 2013, 1:49 p.m. (2013-07-22 13:49:54 UTC) #5
Wladimir Palant
I've reviewed Patch Set 3, not Patch Set 4. Please have a look at my ...
July 22, 2013, 2:18 p.m. (2013-07-22 14:18:36 UTC) #6
Felix Dahlke
Commented on all issues. Seems like most have already been addressed by the latest patch ...
July 22, 2013, 3:10 p.m. (2013-07-22 15:10:22 UTC) #7
Felix Dahlke
http://codereview.adblockplus.org/11161031/diff/11001/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/11001/background.js#newcode573 background.js:573: / (duration - fadeOutStartTime); On 2013/07/22 15:10:22, Felix H. ...
July 22, 2013, 3:16 p.m. (2013-07-22 15:16:45 UTC) #8
Felix Dahlke
On 2013/07/22 15:16:45, Felix H. Dahlke wrote: > But I definitely prefer how you approached ...
July 22, 2013, 3:33 p.m. (2013-07-22 15:33:50 UTC) #9
Wladimir Palant
http://codereview.adblockplus.org/11161031/diff/11001/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/11001/background.js#newcode545 background.js:545: var abpIconFile = "icons/abp-19.png"; On 2013/07/22 15:10:22, Felix H. ...
July 23, 2013, 7:25 a.m. (2013-07-23 07:25:04 UTC) #10
Felix Dahlke
http://codereview.adblockplus.org/11161031/diff/11001/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/11001/background.js#newcode545 background.js:545: var abpIconFile = "icons/abp-19.png"; On 2013/07/23 07:25:04, Wladimir Palant ...
July 23, 2013, 10:38 a.m. (2013-07-23 10:38:08 UTC) #11
Felix Dahlke
That final issues is address as well now. http://codereview.adblockplus.org/11161031/diff/20003/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/20003/background.js#newcode580 background.js:580: chrome.tabs.query({active: ...
July 23, 2013, 11:24 a.m. (2013-07-23 11:24:57 UTC) #12
Wladimir Palant
LGTM if all the comments are addressed. http://codereview.adblockplus.org/11161031/diff/1031/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/1031/background.js#newcode124 background.js:124: startIconAnimation(tab, iconFilename); ...
July 23, 2013, 11:53 a.m. (2013-07-23 11:53:17 UTC) #13
Felix Dahlke
Uploaded a new patch set. Hopefully the last one :) http://codereview.adblockplus.org/11161031/diff/1031/background.js File background.js (right): http://codereview.adblockplus.org/11161031/diff/1031/background.js#newcode124 ...
July 23, 2013, 12:52 p.m. (2013-07-23 12:52:02 UTC) #14
Wladimir Palant
July 23, 2013, 12:57 p.m. (2013-07-23 12:57:39 UTC) #15
LGTM

Powered by Google App Engine
This is Rietveld