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

Issue 29348067: Issue 4049 - reinstall button and adbockers list added to uninstallation page (Closed)

Created:
July 20, 2016, 2:04 p.m. by saroyanm
Modified:
Sept. 30, 2016, 11:37 a.m.
Reviewers:
juliandoucette
Visibility:
Public.

Description

Issue 4049 - reinstall button and adbockers list added to uninstallation page

Patch Set 1 : #

Patch Set 2 : Fixed some syntax issues #

Total comments: 23

Patch Set 3 : Addressed Julian's comments #

Total comments: 14

Patch Set 4 : And again addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -41 lines) Patch
M pages/uninstalled.tmpl View 1 2 3 5 chunks +80 lines, -34 lines 0 comments Download
M static/css/simple.css View 1 2 3 7 chunks +51 lines, -7 lines 0 comments Download

Messages

Total messages: 7
saroyanm
@Julian can you please have a look when you have time.
July 20, 2016, 2:58 p.m. (2016-07-20 14:58:35 UTC) #1
juliandoucette
https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl File pages/uninstalled.tmpl (right): https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl#newcode61 pages/uninstalled.tmpl:61: document.getElementById(element).classList.remove("hidden"); classList is not supported < IE11 https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl#newcode97 pages/uninstalled.tmpl:97: ...
July 28, 2016, 11:05 p.m. (2016-07-28 23:05:42 UTC) #2
juliandoucette
https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl File pages/uninstalled.tmpl (right): https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl#newcode133 pages/uninstalled.tmpl:133: <ul id="reason-other-container" class="hidden"> See https://www.w3.org/TR/html5/forms.html#the-fieldset-element for better examples.
July 28, 2016, 11:27 p.m. (2016-07-28 23:27:54 UTC) #3
saroyanm
https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl File pages/uninstalled.tmpl (right): https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl#newcode61 pages/uninstalled.tmpl:61: document.getElementById(element).classList.remove("hidden"); On 2016/07/28 23:05:41, juliandoucette wrote: > classList is ...
Aug. 24, 2016, 11:48 a.m. (2016-08-24 11:48:43 UTC) #4
juliandoucette
Generally looks good. A couple really minor issues. Sorry about the delay. https://codereview.adblockplus.org/29348067/diff/29348080/pages/uninstalled.tmpl File pages/uninstalled.tmpl ...
Sept. 24, 2016, 4:49 p.m. (2016-09-24 16:49:34 UTC) #5
saroyanm
https://codereview.adblockplus.org/29348067/diff/29350166/pages/uninstalled.tmpl File pages/uninstalled.tmpl (right): https://codereview.adblockplus.org/29348067/diff/29350166/pages/uninstalled.tmpl#newcode48 pages/uninstalled.tmpl:48: reasonsContainer.addEventListener("click", function(event) On 2016/09/24 16:49:33, juliandoucette wrote: > NIT: ...
Sept. 27, 2016, 12:10 p.m. (2016-09-27 12:10:15 UTC) #6
juliandoucette
Sept. 28, 2016, 1:35 p.m. (2016-09-28 13:35:27 UTC) #7
LGTM

https://codereview.adblockplus.org/29348067/diff/29350166/pages/uninstalled.tmpl
File pages/uninstalled.tmpl (right):

https://codereview.adblockplus.org/29348067/diff/29350166/pages/uninstalled.t...
pages/uninstalled.tmpl:48: reasonsContainer.addEventListener("click",
function(event)
On 2016/09/27 12:10:14, saroyanm wrote:
> On 2016/09/24 16:49:33, juliandoucette wrote:
> > NIT:
> > 
> > I would suggest listening to the "change" event instead of the "click" event
> on
> > checkboxes / radiobuttons. 
> I agree that in this case we can go with the change event. Done.
> > 1. I think it's *more* correct
> I think it's more a design question, whether your intention are to assign
event
> listener on each element, or only to one, or even to body, but in case of
small
> amount of elements we should be fine, considering memory efficient solution.
> > 2. The handler won't be fired on the label when the label is clicked
> It depends, if you will have label containing the input element it will be
fired
> twice, one for the label another for the input:
>
http://stackoverflow.com/questions/17185265/jquery-click-event-triggers-twice...

Acknowledged.

https://codereview.adblockplus.org/29348067/diff/29350166/pages/uninstalled.t...
pages/uninstalled.tmpl:129: <textarea id="reason-other-input" name="reasonOther"
maxlength="300" placeholder="{{"Please explain why you are uninstalling Adblock
Plus"|translate("reason-other-placeholder", "Textarea placeholder text, appears
after selecting 'Other, namely...' option")}}"></textarea>
On 2016/09/27 12:10:14, saroyanm wrote:
> On 2016/09/24 16:49:34, juliandoucette wrote:
> > This textarea is pretty small (it fits about 100 char). Have we considered
> > setting rows or height?
> 
> It has height and width specified, AFAIK it was requested with that sizes, at
> least it was aligned with Designers as far as I remember, but I'm open to
change
> it size as well, I'll suggest to that kind of stylistic change separately.

Acknowledged.

Powered by Google App Engine
This is Rietveld