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

Issue 29727563: Fixes #35 - Progressively enhance install button with appropriate links and text (Closed)

Created:
March 19, 2018, 10:25 a.m. by ire
Modified:
April 16, 2018, 4:24 p.m.
Base URL:
https://hg.adblockplus.org/web.adblockplus.org
Visibility:
Public.

Description

Fixes #35 - Progressively enhance install button with appropriate links and text Issue - https://gitlab.com/eyeo/websites/web.adblockplus.org/issues/35 Specification - https://gitlab.com/eyeo/specs/spec/blob/67d3451e3c78148090191ab6df2a3549b0054a4a/spec/adblockplus.org/website.md#hero-unit Branch: index_page

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 12

Patch Set 3 : Added inline installation #

Patch Set 4 : Rebase #

Total comments: 14

Patch Set 5 : Addressed comments #7 #

Total comments: 13

Patch Set 6 : Addressed comments #10 #

Total comments: 11

Patch Set 7 : Addressed comments #12 #

Total comments: 4

Patch Set 8 : Addressed #14 #

Patch Set 9 : Change translation strings #

Total comments: 9

Patch Set 10 : Addressed comments #21 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+748 lines, -17 lines) Patch
A globals/browsers.py View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
M includes/hero-download.html View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
R includes/index.html View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
A includes/index.tmpl View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
M static/css/index.css View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
A static/js/index.js View 1 2 3 4 5 6 7 8 9 1 chunk +57 lines, -0 lines 0 comments Download
A static/js/vendor/bowser.js View 1 chunk +601 lines, -0 lines 0 comments Download

Messages

Total messages: 23
ire
March 19, 2018, 10:25 a.m. (2018-03-19 10:25:09 UTC) #1
ire
@Manvel If you get a chance please take a look at this
March 19, 2018, 10:28 a.m. (2018-03-19 10:28:40 UTC) #2
saroyanm
First round is ready. https://codereview.adblockplus.org/29727563/diff/29729574/includes/hero-download.html File includes/hero-download.html (right): https://codereview.adblockplus.org/29727563/diff/29729574/includes/hero-download.html#newcode21 includes/hero-download.html:21: <header class="column one-half content show-on-maxthon"> ...
March 23, 2018, 7:08 p.m. (2018-03-23 19:08:37 UTC) #3
ire
New patch set up https://codereview.adblockplus.org/29727563/diff/29729574/includes/hero-download.html File includes/hero-download.html (right): https://codereview.adblockplus.org/29727563/diff/29729574/includes/hero-download.html#newcode21 includes/hero-download.html:21: <header class="column one-half content show-on-maxthon"> ...
March 26, 2018, 10:23 a.m. (2018-03-26 10:23:01 UTC) #4
juliandoucette
Patch does not apply. Please rebase.
April 3, 2018, 1:41 p.m. (2018-04-03 13:41:35 UTC) #5
ire
On 2018/04/03 13:41:35, juliandoucette wrote: > Patch does not apply. Please rebase. Done
April 3, 2018, 4:06 p.m. (2018-04-03 16:06:45 UTC) #6
juliandoucette
Thanks Ire! It looks like there is still implementation left to do. https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js File static/js/index.js ...
April 4, 2018, 10:18 a.m. (2018-04-04 10:18:23 UTC) #7
juliandoucette
On 2018/04/04 10:18:23, juliandoucette wrote: > It looks like there is still implementation left to ...
April 4, 2018, 10:23 a.m. (2018-04-04 10:23:24 UTC) #8
ire
New patch set ready! https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js File static/js/index.js (right): https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js#newcode1 static/js/index.js:1: "use strict"; On 2018/04/04 10:18:23, ...
April 5, 2018, 2:32 p.m. (2018-04-05 14:32:44 UTC) #9
juliandoucette
Thanks! Almost there! https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js File static/js/index.js (right): https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js#newcode1 static/js/index.js:1: "use strict"; On 2018/04/05 14:32:43, ire ...
April 6, 2018, 12:35 p.m. (2018-04-06 12:35:23 UTC) #10
ire
Thanks Julian! New patch set https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js File static/js/index.js (right): https://codereview.adblockplus.org/29727563/diff/29741628/static/js/index.js#newcode1 static/js/index.js:1: "use strict"; On 2018/04/06 ...
April 6, 2018, 1:21 p.m. (2018-04-06 13:21:50 UTC) #11
juliandoucette
Another round *person hammering emoji* Detail: I've only tested using Chrome and Firefox on OS ...
April 6, 2018, 4:29 p.m. (2018-04-06 16:29:17 UTC) #12
ire
Thanks Julian! New patch up https://codereview.adblockplus.org/29727563/diff/29743690/static/js/index.js File static/js/index.js (right): https://codereview.adblockplus.org/29727563/diff/29743690/static/js/index.js#newcode57 static/js/index.js:57: if (detectedPlatform === "maxthon") ...
April 9, 2018, 9:24 a.m. (2018-04-09 09:24:02 UTC) #13
juliandoucette
Thanks! The only not-NIT left is a request for clarification. https://codereview.adblockplus.org/29727563/diff/29744602/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29727563/diff/29744602/includes/index.tmpl#newcode15 ...
April 9, 2018, 1:01 p.m. (2018-04-09 13:01:03 UTC) #14
juliandoucette
See https://gitlab.com/eyeo/websites/web.adblockplus.org/issues/53#note_67969303
April 11, 2018, 8:29 p.m. (2018-04-11 20:29:45 UTC) #15
ire
On 2018/04/11 20:29:45, juliandoucette wrote: > See https://gitlab.com/eyeo/websites/web.adblockplus.org/issues/53#note_67969303 Ack. Jeen/Tiago haven't answered, so I assume ...
April 12, 2018, 7:58 a.m. (2018-04-12 07:58:33 UTC) #16
ire
Thanks Julian! New patch set up. https://codereview.adblockplus.org/29727563/diff/29744602/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29727563/diff/29744602/includes/index.tmpl#newcode15 includes/index.tmpl:15: <script id="hero-download-button-template" type="text/template"> ...
April 12, 2018, 8:05 a.m. (2018-04-12 08:05:47 UTC) #17
juliandoucette
Response from Tamara below. https://codereview.adblockplus.org/29727563/diff/29744602/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29727563/diff/29744602/includes/index.tmpl#newcode15 includes/index.tmpl:15: <script id="hero-download-button-template" type="text/template"> On 2018/04/12 ...
April 16, 2018, 11:46 a.m. (2018-04-16 11:46:38 UTC) #18
ire
> From Tamara in the email thread "RE: translation of "[Agree and] Install for ${browser}" ...
April 16, 2018, 3:07 p.m. (2018-04-16 15:07:49 UTC) #19
juliandoucette
Quick note: You permanently uncovered the IE only message in your last change.
April 16, 2018, 3:32 p.m. (2018-04-16 15:32:10 UTC) #20
juliandoucette
NITs + IE text issue. The rest looks good :). https://codereview.adblockplus.org/29727563/diff/29753582/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29727563/diff/29753582/includes/index.tmpl#newcode16 ...
April 16, 2018, 3:44 p.m. (2018-04-16 15:44:42 UTC) #21
ire
Thanks, new patch set https://codereview.adblockplus.org/29727563/diff/29753582/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29727563/diff/29753582/includes/index.tmpl#newcode16 includes/index.tmpl:16: <script id="hero-download-button-template-{{ browser.id }}" type="text/template"> ...
April 16, 2018, 4:01 p.m. (2018-04-16 16:01:01 UTC) #22
juliandoucette
April 16, 2018, 4:12 p.m. (2018-04-16 16:12:59 UTC) #23
LGTM

https://codereview.adblockplus.org/29727563/diff/29753582/static/js/index.js
File static/js/index.js (right):

https://codereview.adblockplus.org/29727563/diff/29753582/static/js/index.js#...
static/js/index.js:35: heroDownloadButton.innerHTML = document
On 2018/04/16 16:00:59, ire wrote:
> On 2018/04/16 15:44:41, juliandoucette wrote:
> > NIT/Suggest: innerText (we don't support IE 8 anymore and it's ~more
secure?)
> 
> Changed to textContent which seems to be better for performance 
> 
> (https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent,
> https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)

Thanks!

(Facepalm: I meant to say textContent. My unconsciously wrote the last thing I
read by mistake.)

Powered by Google App Engine
This is Rietveld