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

Issue 8615139: adblockpluschrome: Open share page in lightbox (Closed)

Created:
Oct. 23, 2012, 4:12 p.m. by Felix Dahlke
Modified:
Oct. 25, 2012, 1:44 p.m.
Reviewers:
Wladimir Palant
Visibility:
Public.

Description

I have changed the first run page to open the share page in a lightbox. I'm using fancyBox for this: http://fancyapps.com/fancybox/

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 14

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -13 lines) Patch
M firstRun.html View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M firstRun.js View 1 2 3 4 5 2 chunks +53 lines, -7 lines 1 comment Download
M skin/firstRun.css View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 13
Felix Dahlke
This is the code for what I've demonstrated today.
Oct. 23, 2012, 4:16 p.m. (2012-10-23 16:16:52 UTC) #1
Wladimir Palant
Main issue is that fancybox license isn't GPL-compatible and we probably want to release ABP ...
Oct. 24, 2012, 9:02 a.m. (2012-10-24 09:02:26 UTC) #2
Felix Dahlke
I've addressed all issues and uploaded a new changeset. I've implemented a simple lightbox instead ...
Oct. 24, 2012, 2:55 p.m. (2012-10-24 14:55:01 UTC) #3
Felix Dahlke
http://codereview.adblockplus.org/8615139/diff/12001/firstRun.js File firstRun.js (right): http://codereview.adblockplus.org/8615139/diff/12001/firstRun.js#newcode39 firstRun.js:39: glassPane.fadeIn(200, function() I would have loved to use Function.bind ...
Oct. 24, 2012, 2:57 p.m. (2012-10-24 14:57:33 UTC) #4
Wladimir Palant
I don't really see a compelling reason to use jQuery here. Here an example using ...
Oct. 25, 2012, 7:12 a.m. (2012-10-25 07:12:00 UTC) #5
Felix Dahlke
> http://codereview.adblockplus.org/8615139/diff/12001/firstRun.js > File firstRun.js (right): > > http://codereview.adblockplus.org/8615139/diff/12001/firstRun.js#newcode33 > firstRun.js:33: glassPane.fadeOut(200, glassPane.remove); > I ...
Oct. 25, 2012, 7:34 a.m. (2012-10-25 07:34:47 UTC) #6
Felix Dahlke
Oct. 25, 2012, 7:34 a.m. (2012-10-25 07:34:54 UTC) #7
Felix Dahlke
Uploaded a new change set. I've addressed the issues and am not using jQuery anymore. ...
Oct. 25, 2012, 9:58 a.m. (2012-10-25 09:58:28 UTC) #8
Wladimir Palant
My comments now are mostly nits. However, determining the iframe content size is possible if ...
Oct. 25, 2012, 10:45 a.m. (2012-10-25 10:45:03 UTC) #9
Wladimir Palant
LGTM but I would still prefer to see the automatic sizing (via postMessage) implemented.
Oct. 25, 2012, 11:51 a.m. (2012-10-25 11:51:56 UTC) #10
Felix Dahlke
Here are my comments, forgot to publish them. http://codereview.adblockplus.org/8615139/diff/19002/firstRun.js File firstRun.js (right): http://codereview.adblockplus.org/8615139/diff/19002/firstRun.js#newcode19 firstRun.js:19: } ...
Oct. 25, 2012, noon (2012-10-25 12:00:51 UTC) #11
Felix Dahlke
Uploaded a new changeset, the popup size is no longer hard coded.
Oct. 25, 2012, 1:12 p.m. (2012-10-25 13:12:15 UTC) #12
Wladimir Palant
Oct. 25, 2012, 1:31 p.m. (2012-10-25 13:31:04 UTC) #13
LGTM with the one debug statement removed.

http://codereview.adblockplus.org/8615139/diff/16004/firstRun.js
File firstRun.js (right):

http://codereview.adblockplus.org/8615139/diff/16004/firstRun.js#newcode16
firstRun.js:16: console.log(event);
Debug code?

Powered by Google App Engine
This is Rietveld