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

Issue 10585038: First-run page (revisited) (Closed)

Created:
May 14, 2013, 3:12 p.m. by Thomas Greiner
Modified:
May 29, 2013, 8:16 a.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

Follow-up to http://codereview.adblockplus.org/9078049/ (however, based on revision 3652) First patch deliberately doesn't address comments about image paths and inline JavaScript due to the merge with the other version.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merged with existing version; i18n #

Patch Set 3 : Implemented behavior of remaining buttons on Firefox #

Patch Set 4 : Implemented behavior of remaining buttons on Chrome; Added changelog and data corruption warning #

Total comments: 48

Patch Set 5 : Applied proposed changes (except Chrome-specific utils.js due to uncertainty) #

Total comments: 14

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+922 lines, -144 lines) Patch
M chrome/content/ui/firstRun.html View 1 2 3 4 5 2 chunks +74 lines, -26 lines 0 comments Download
M chrome/content/ui/firstRun.js View 1 2 3 4 5 6 1 chunk +249 lines, -59 lines 0 comments Download
A chrome/content/ui/i18n.js View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
M chrome/content/ui/utils.js View 1 2 3 4 5 1 chunk +13 lines, -13 lines 0 comments Download
A chrome/locale/en-US/firstRun.properties View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/skin/abp-icon-big.png View 1 Binary file 0 comments Download
A chrome/skin/ajax-loader.gif View 1 Binary file 0 comments Download
A chrome/skin/background.png View 1 Binary file 0 comments Download
A chrome/skin/features/malware.png View 1 Binary file 0 comments Download
A chrome/skin/features/social.png View 1 Binary file 0 comments Download
A chrome/skin/features/tracking.png View 1 Binary file 0 comments Download
A chrome/skin/features/typo.png View 1 Binary file 0 comments Download
M chrome/skin/firstRun.css View 1 2 3 4 5 6 1 chunk +435 lines, -42 lines 0 comments Download
A chrome/skin/social/facebook.png View 1 Binary file 0 comments Download
A chrome/skin/social/gplus.png View 1 Binary file 0 comments Download
A chrome/skin/social/twitter.png View 1 Binary file 0 comments Download
M lib/ui.js View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M lib/utils.js View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 10
Wladimir Palant
http://codereview.adblockplus.org/10585038/diff/1/chrome/content/ui/firstRun.js File chrome/content/ui/firstRun.js (right): http://codereview.adblockplus.org/10585038/diff/1/chrome/content/ui/firstRun.js#newcode31 chrome/content/ui/firstRun.js:31: document.addEventListener('scroll', onScroll, false); Nit: double quotation marks here and ...
May 15, 2013, 12:12 p.m. (2013-05-15 12:12:02 UTC) #1
Thomas Greiner
Merged with existing version and made it work on Firefox and Chrome. Still to do: ...
May 23, 2013, 9:17 a.m. (2013-05-23 09:17:20 UTC) #2
Thomas Greiner
Implemented behavior of remaining buttons on Firefox
May 23, 2013, 2:39 p.m. (2013-05-23 14:39:18 UTC) #3
Thomas Greiner
Implemented behavior of remaining buttons on Chrome Added changelog and data corruption warning http://codereview.adblockplus.org/10585038/diff/27001/chrome/content/ui/firstRun.js File ...
May 24, 2013, 10:19 a.m. (2013-05-24 10:19:12 UTC) #4
Wladimir Palant
http://codereview.adblockplus.org/10585038/diff/27001/chrome/content/ui/featureSubscriptions.xml File chrome/content/ui/featureSubscriptions.xml (right): http://codereview.adblockplus.org/10585038/diff/27001/chrome/content/ui/featureSubscriptions.xml#newcode30 chrome/content/ui/featureSubscriptions.xml:30: author="Hubird"/> This should be Fanboy's Social Blocking List: <subscription ...
May 27, 2013, 11:02 a.m. (2013-05-27 11:02:00 UTC) #5
Thomas Greiner
Done everything except those comments linked to the creation of a Chrome-specific utils.js due to ...
May 27, 2013, 1:03 p.m. (2013-05-27 13:03:16 UTC) #6
Wladimir Palant
http://codereview.adblockplus.org/10585038/diff/27001/chrome/content/ui/firstRun.js File chrome/content/ui/firstRun.js (right): http://codereview.adblockplus.org/10585038/diff/27001/chrome/content/ui/firstRun.js#newcode33 chrome/content/ui/firstRun.js:33: document.documentElement.className = userAgent; Feel free to replace let by ...
May 27, 2013, 2:10 p.m. (2013-05-27 14:10:37 UTC) #7
Wladimir Palant
I also noticed that you removed the FilterNotifier listener completely - this wasn't really the ...
May 27, 2013, 3:17 p.m. (2013-05-27 15:17:28 UTC) #8
Thomas Greiner
All comments addressed now (including the one about the removal of FilterNotifier) and tested on ...
May 27, 2013, 4:39 p.m. (2013-05-27 16:39:14 UTC) #9
Wladimir Palant
May 28, 2013, 1:39 p.m. (2013-05-28 13:39:01 UTC) #10
LGTM, please fix the nits above and push.

http://codereview.adblockplus.org/10585038/diff/41006/chrome/content/ui/first...
File chrome/content/ui/firstRun.js (right):

http://codereview.adblockplus.org/10585038/diff/41006/chrome/content/ui/first...
chrome/content/ui/firstRun.js:86: }, false);
If you want a function then please don't wrap it in a pointless callback:

  E("toggle-typo").addEventListener("click", toggleTypoCorrectionEnabled,
false);

Note that you can remove the toggleTypo variable, IMHO this is the only place it
is used.

http://codereview.adblockplus.org/10585038/diff/41006/chrome/content/ui/first...
chrome/content/ui/firstRun.js:95: if
(/^(filter|subscription)\.(added|removed|disabled)$/.test(action))
This regexp should be: /^subscription\.(added|removed|disabled)$/ (we don't care
about filter changes). Also, I don't think you want to run that loop for each
action - please check the action first, go through the loop then only if we have
a match.

http://codereview.adblockplus.org/10585038/diff/41006/chrome/skin/firstRun.css
File chrome/skin/firstRun.css (right):

http://codereview.adblockplus.org/10585038/diff/41006/chrome/skin/firstRun.cs...
chrome/skin/firstRun.css:22: }
From where I'm standing this rule is obsolete and can be removed - all browsers
we support now have proper support for the hidden attribute. Did you find a
reason why it needs to be kept?

Powered by Google App Engine
This is Rietveld