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

Issue 29317001: Relocated icon and redesigned icon popup (Closed)

Created:
Nov. 7, 2013, 5:44 p.m. by Thomas Greiner
Modified:
Dec. 17, 2013, 2:47 p.m.
Visibility:
Public.

Description

This review includes the following changes: - relocated icon to toolbar - added blocked requests number to icon (including opt-out mechanism) - changed icon image - added opt-out for number in icon - applied Sven's design - removed jQuery dependency

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 15

Patch Set 3 : Applied Sebastian's suggestions and updated strings #

Total comments: 52

Patch Set 4 : Addressed Felix' comments #

Total comments: 9

Patch Set 5 : Addressed Wladimir's comments #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Merged setBadgeNumber and setBadgeBackgroundColor #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+616 lines, -238 lines) Patch
M _locales/en_US/messages.json View 1 2 6 chunks +20 lines, -16 lines 0 comments Download
M background.js View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/background.js View 1 2 3 4 5 6 7 2 chunks +34 lines, -7 lines 0 comments Download
M iconAnimation.js View 1 1 chunk +1 line, -1 line 0 comments Download
A icons/abp-19-whitelisted.png View 1 6 Binary file 0 comments Download
M lib/prefs.js View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M lib/stats.js View 1 2 3 4 5 6 7 3 chunks +54 lines, -1 line 1 comment Download
M metadata.chrome View 1 1 chunk +1 line, -1 line 0 comments Download
M metadata.safari View 1 1 chunk +1 line, -1 line 0 comments Download
M notification.html View 1 chunk +2 lines, -2 lines 0 comments Download
M notification.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M popup.html View 1 2 3 4 1 chunk +73 lines, -136 lines 0 comments Download
M popup.js View 1 2 3 4 3 chunks +63 lines, -51 lines 0 comments Download
M safari/background.js View 1 2 3 4 5 6 7 2 chunks +9 lines, -3 lines 0 comments Download
A skin/popup.css View 1 2 3 4 5 6 1 chunk +333 lines, -0 lines 1 comment Download
A skin/popup.png View 1 Binary file 0 comments Download
M stats.js View 1 2 3 4 5 chunks +15 lines, -11 lines 0 comments Download

Messages

Total messages: 38
Thomas Greiner
Nov. 7, 2013, 5:55 p.m. (2013-11-07 17:55:39 UTC) #1
Sebastian Noack
Please remember to update all chrome.* API calls to ext.* (our new Chrome/Safari abstraction layer). ...
Nov. 15, 2013, 5:42 p.m. (2013-11-15 17:42:11 UTC) #2
Sebastian Noack
Also note that the bubble has a fixed size in Safari. So please set it ...
Nov. 15, 2013, 6:10 p.m. (2013-11-15 18:10:19 UTC) #3
Thomas Greiner
Rebased to revision 1026
Nov. 19, 2013, 2:36 p.m. (2013-11-19 14:36:19 UTC) #4
Felix Dahlke
LGTM for the strings, with some suggestions for the descriptions below. http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json File _locales/en_US/messages.json (right): ...
Nov. 19, 2013, 3:11 p.m. (2013-11-19 15:11:43 UTC) #5
Sebastian Noack
http://codereview.adblockplus.org/29317001/diff/5668600916475904/popup.js File popup.js (right): http://codereview.adblockplus.org/29317001/diff/5668600916475904/popup.js#newcode19 popup.js:19: var imports = ["require", "isWhitelisted", "extractHostFromURL", "refreshIconAndContextMenu", "openOptions"]; I ...
Nov. 19, 2013, 3:22 p.m. (2013-11-19 15:22:08 UTC) #6
Sebastian Noack
http://codereview.adblockplus.org/29317001/diff/5668600916475904/safari/background.js File safari/background.js (right): http://codereview.adblockplus.org/29317001/diff/5668600916475904/safari/background.js#newcode94 safari/background.js:94: setBadgeText: function(text) {} It turned out that Safari actually ...
Nov. 19, 2013, 3:27 p.m. (2013-11-19 15:27:54 UTC) #7
Wladimir Palant
LGTM on the strings (Felix' nits still apply unless I noted otherwise). I have a ...
Nov. 26, 2013, 3:31 p.m. (2013-11-26 15:31:23 UTC) #8
Felix Dahlke
http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json File _locales/en_US/messages.json (right): http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json#newcode44 _locales/en_US/messages.json:44: "description": "Popup balloon label to disable blocking", On 2013/11/26 ...
Nov. 26, 2013, 3:33 p.m. (2013-11-26 15:33:46 UTC) #9
Wladimir Palant
http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json File _locales/en_US/messages.json (right): http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json#newcode168 _locales/en_US/messages.json:168: "message": "Show number in icon" On 2013/11/26 15:33:46, Felix ...
Nov. 26, 2013, 3:35 p.m. (2013-11-26 15:35:33 UTC) #10
Thomas Greiner
Applied Sebastian's suggestions and updated strings http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json File _locales/en_US/messages.json (right): http://codereview.adblockplus.org/29317001/diff/5668600916475904/_locales/en_US/messages.json#newcode44 _locales/en_US/messages.json:44: "description": "Popup balloon ...
Nov. 26, 2013, 5:50 p.m. (2013-11-26 17:50:50 UTC) #11
Sebastian Noack
LGTM
Nov. 26, 2013, 6:03 p.m. (2013-11-26 18:03:19 UTC) #12
Felix Dahlke
Reviewed the rest of the code (although I have to admit I didn't review the ...
Dec. 2, 2013, 3:45 p.m. (2013-12-02 15:45:58 UTC) #13
Thomas Greiner
http://codereview.adblockplus.org/29317001/diff/5631943370604544/lib/stats.js File lib/stats.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/lib/stats.js#newcode104 lib/stats.js:104: forEachTab(function(tab) { On 2013/12/02 15:45:58, Felix H. Dahlke wrote: ...
Dec. 3, 2013, 12:06 p.m. (2013-12-03 12:06:05 UTC) #14
Wladimir Palant
My comments apply to patch set 3 - patch set 4 was uploaded while I ...
Dec. 3, 2013, 12:55 p.m. (2013-12-03 12:55:43 UTC) #15
Sebastian Noack
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } On 2013/12/03 12:55:43, Wladimir Palant wrote: > This ...
Dec. 3, 2013, 1:12 p.m. (2013-12-03 13:12:26 UTC) #16
Wladimir Palant
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } On 2013/12/03 13:12:26, sebastian wrote: > Safari only ...
Dec. 3, 2013, 1:45 p.m. (2013-12-03 13:45:03 UTC) #17
Sebastian Noack
You have removed the padding from icons/abp-19.png, but not from the notification icons. You have ...
Dec. 3, 2013, 2:48 p.m. (2013-12-03 14:48:08 UTC) #18
Sebastian Noack
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } On 2013/12/03 13:45:03, Wladimir Palant wrote: > > ...
Dec. 3, 2013, 3:03 p.m. (2013-12-03 15:03:32 UTC) #19
Thomas Greiner
Ignore the new icon images from now on as we decided to move those changes ...
Dec. 4, 2013, 10:44 a.m. (2013-12-04 10:44:50 UTC) #20
Sebastian Noack
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } On 2013/12/04 10:44:50, Thomas Greiner wrote: > > ...
Dec. 4, 2013, 11:48 a.m. (2013-12-04 11:48:37 UTC) #21
Felix Dahlke
http://codereview.adblockplus.org/29317001/diff/5631943370604544/lib/stats.js File lib/stats.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/lib/stats.js#newcode109 lib/stats.js:109: tab.browserAction.setBadgeNumber(frameData.blocked); On 2013/12/03 12:06:05, Thomas Greiner wrote: > The ...
Dec. 4, 2013, 12:30 p.m. (2013-12-04 12:30:06 UTC) #22
Thomas Greiner
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } On 2013/12/04 11:48:38, sebastian wrote: > Or to ...
Dec. 10, 2013, 10:09 a.m. (2013-12-10 10:09:28 UTC) #23
sven
It's just about the hover effect. http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css File skin/popup.css (right): http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css#newcode119 skin/popup.css:119: background-image: url(background-main-hover.png); IMHO ...
Dec. 11, 2013, 11 a.m. (2013-12-11 11:00:27 UTC) #24
sven
It's just about the hover effect.
Dec. 11, 2013, 11 a.m. (2013-12-11 11:00:29 UTC) #25
Felix Dahlke
http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css File skin/popup.css (right): http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css#newcode119 skin/popup.css:119: background-image: url(background-main-hover.png); On 2013/12/10 10:09:29, Thomas Greiner wrote: > ...
Dec. 11, 2013, 11:11 a.m. (2013-12-11 11:11:13 UTC) #26
Felix Dahlke
Dec. 11, 2013, 11:11 a.m. (2013-12-11 11:11:14 UTC) #27
Wladimir Palant
http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css File skin/popup.css (right): http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css#newcode119 skin/popup.css:119: background-image: url(background-main-hover.png); Apparently, the idea is simply to make ...
Dec. 11, 2013, 11:20 a.m. (2013-12-11 11:20:25 UTC) #28
Felix Dahlke
http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css File skin/popup.css (right): http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css#newcode119 skin/popup.css:119: background-image: url(background-main-hover.png); Just saw the screen cast, looks fine ...
Dec. 11, 2013, 11:30 a.m. (2013-12-11 11:30:57 UTC) #29
Wladimir Palant
http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css File skin/popup.css (right): http://codereview.adblockplus.org/29317001/diff/5732694713434112/skin/popup.css#newcode119 skin/popup.css:119: background-image: url(background-main-hover.png); It isn't quite solid, it rather has ...
Dec. 11, 2013, 11:46 a.m. (2013-12-11 11:46:18 UTC) #30
Thomas Greiner
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } Can we agree on using Wladimir's suggestion? @Felix ...
Dec. 11, 2013, 1:15 p.m. (2013-12-11 13:15:24 UTC) #31
Felix Dahlke
http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } I think it's nicer API-wise to have a ...
Dec. 11, 2013, 1:23 p.m. (2013-12-11 13:23:02 UTC) #32
Thomas Greiner
Merged setBadgeNumber and setBadgeBackgroundColor http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/29317001/diff/5631943370604544/chrome/background.js#newcode230 chrome/background.js:230: } On 2013/12/11 13:23:02, Felix ...
Dec. 13, 2013, 10:37 a.m. (2013-12-13 10:37:40 UTC) #33
Felix Dahlke
LGTM from my side, with the final nit below addressed. http://codereview.adblockplus.org/29317001/diff/5742506566221824/lib/stats.js File lib/stats.js (right): http://codereview.adblockplus.org/29317001/diff/5742506566221824/lib/stats.js#newcode81 ...
Dec. 13, 2013, 1:57 p.m. (2013-12-13 13:57:20 UTC) #34
Sebastian Noack
On 2013/12/03 14:48:08, sebastian wrote: > You have added icons/abp-19-whitelisted.png, but it is auto-generated. So ...
Dec. 16, 2013, 1:38 p.m. (2013-12-16 13:38:53 UTC) #35
Thomas Greiner
On 2013/12/16 13:38:53, sebastian wrote: > On 2013/12/03 14:48:08, sebastian wrote: > > You have ...
Dec. 16, 2013, 2:33 p.m. (2013-12-16 14:33:34 UTC) #36
Sebastian Noack
On 2013/12/16 14:33:34, Thomas Greiner wrote: > On 2013/12/16 13:38:53, sebastian wrote: > > On ...
Dec. 16, 2013, 3:19 p.m. (2013-12-16 15:19:13 UTC) #37
Wladimir Palant
Dec. 17, 2013, 2:11 p.m. (2013-12-17 14:11:14 UTC) #38
LGTM with the issue below addressed.

http://codereview.adblockplus.org/29317001/diff/5742506566221824/skin/popup.css
File skin/popup.css (right):

http://codereview.adblockplus.org/29317001/diff/5742506566221824/skin/popup.c...
skin/popup.css:123: background: linear-gradient(top, rgba(70, 50, 0, 0.1),
rgba(70, 50, 0, 0.1)),
The standardized linear gradient syntax is actually different, see
https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient#Cross-browse....
Should be:

background: linear-gradient(to bottom, ...)

Powered by Google App Engine
This is Rietveld