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

Issue 29587584: Issue 5635 - Implement website-default navbar component (Closed)

Created:
Oct. 24, 2017, 10:32 a.m. by ire
Modified:
Jan. 9, 2018, 8 a.m.
Reviewers:
juliandoucette
Base URL:
https://hg.adblockplus.org/website-defaults
Visibility:
Public.

Description

Issue 5635 - Implement website-default navbar component

Patch Set 1 #

Total comments: 26

Patch Set 2 : Rebased #

Total comments: 31

Patch Set 3 : Demo - Use table layout #

Total comments: 12

Patch Set 4 : Demo of both methods #

Total comments: 7

Patch Set 5 : Use float method #

Patch Set 6 : Add navigation <ul> links #

Total comments: 39

Patch Set 7 : Addressed NITs #

Total comments: 10

Patch Set 8 : Use padding on navbar link, optimise svg #

Total comments: 8

Patch Set 9 : Remove separate open/close states #

Total comments: 6

Patch Set 10 : Variable for adding horizontal padding, link button class #

Total comments: 16

Patch Set 11 : Address scalability of navbar padding with logo size #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -6 lines) Patch
A includes/components/navbar.html View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download
M pages/index.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A pages/navbar.md View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
A static/img/png/eyeo-logo.png View 1 2 3 4 5 6 Binary file 0 comments Download
A static/img/svg/eyeo-logo.svg View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A static/js/navbar.js View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
A static/scss/_navbar.scss View 1 2 3 4 5 6 7 8 9 10 1 chunk +174 lines, -0 lines 0 comments Download
M static/scss/_variables.scss View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -1 line 0 comments Download
M static/scss/forms/_buttons.scss View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M static/scss/main.scss View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M static/scss/utilities/_layout.scss View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -5 lines 0 comments Download

Messages

Total messages: 46
ire
Oct. 24, 2017, 10:32 a.m. (2017-10-24 10:32:34 UTC) #1
ire
Ready for review
Oct. 24, 2017, 10:33 a.m. (2017-10-24 10:33:58 UTC) #2
juliandoucette
Initial feedback. I didn't review _navbar.scss. Looks like we need to agree on the functionality ...
Oct. 26, 2017, 3:55 p.m. (2017-10-26 15:55:56 UTC) #3
juliandoucette
https://codereview.adblockplus.org/29587584/diff/29587585/includes/components/navbar.html File includes/components/navbar.html (right): https://codereview.adblockplus.org/29587584/diff/29587585/includes/components/navbar.html#newcode2 includes/components/navbar.html:2: <div class="container"> On 2017/10/26 15:55:54, juliandoucette wrote: > NIT: ...
Oct. 26, 2017, 3:58 p.m. (2017-10-26 15:58:02 UTC) #4
ire
I think you're right that we do need to discuss what we want this component ...
Oct. 31, 2017, 8:04 a.m. (2017-10-31 08:04:01 UTC) #5
juliandoucette
> I don't really think it should be this way. IMO the navbar contents are ...
Oct. 31, 2017, 12:10 p.m. (2017-10-31 12:10:38 UTC) #6
ire
Rebased
Oct. 31, 2017, 2:08 p.m. (2017-10-31 14:08:06 UTC) #7
juliandoucette
https://codereview.adblockplus.org/29587584/diff/29593565/includes/components/navbar.html File includes/components/navbar.html (right): https://codereview.adblockplus.org/29587584/diff/29593565/includes/components/navbar.html#newcode3 includes/components/navbar.html:3: <h1 class="navbar-branding"> I don't know whether it's better to ...
Oct. 31, 2017, 3:18 p.m. (2017-10-31 15:18:39 UTC) #8
juliandoucette
https://codereview.adblockplus.org/29587584/diff/29593565/includes/components/navbar.html File includes/components/navbar.html (right): https://codereview.adblockplus.org/29587584/diff/29593565/includes/components/navbar.html#newcode3 includes/components/navbar.html:3: <h1 class="navbar-branding"> On 2017/10/31 15:18:37, juliandoucette wrote: > I ...
Oct. 31, 2017, 3:30 p.m. (2017-10-31 15:30:44 UTC) #9
ire
This is kinda an experiment/demo of using table layout instead of my previous method of ...
Nov. 2, 2017, 11:15 a.m. (2017-11-02 11:15:28 UTC) #10
ire
RE: <h1> and site title vs page title, you may be interested in this thread ...
Nov. 2, 2017, 11:18 a.m. (2017-11-02 11:18:13 UTC) #11
juliandoucette
> This is kinda an experiment/demo of using table layout instead of my previous > ...
Nov. 2, 2017, 1:31 p.m. (2017-11-02 13:31:24 UTC) #12
juliandoucette
On 2017/11/02 11:18:13, ire wrote: > RE: <h1> and site title vs page title, you ...
Nov. 2, 2017, 1:38 p.m. (2017-11-02 13:38:27 UTC) #13
ire
On 2017/11/02 13:38:27, juliandoucette wrote: > On 2017/11/02 11:18:13, ire wrote: > > RE: <h1> ...
Nov. 6, 2017, 8:18 a.m. (2017-11-06 08:18:41 UTC) #14
ire
I created a demo of both methods. I just namespaced them so we can compare ...
Nov. 6, 2017, 8:19 a.m. (2017-11-06 08:19:07 UTC) #15
juliandoucette
> I created a demo of both methods. I just namespaced them so we can ...
Nov. 6, 2017, 12:36 p.m. (2017-11-06 12:36:44 UTC) #16
ire
On 2017/11/06 12:36:44, juliandoucette wrote: > > I created a demo of both methods. I ...
Nov. 8, 2017, 5:14 p.m. (2017-11-08 17:14:46 UTC) #17
juliandoucette
How are you planning to handle block/100% navbar menu items? https://codereview.adblockplus.org/29587584/diff/29599558/static/js/navbar.js File static/js/navbar.js (right): https://codereview.adblockplus.org/29587584/diff/29599558/static/js/navbar.js#newcode2 ...
Nov. 9, 2017, 2:34 p.m. (2017-11-09 14:34:52 UTC) #18
juliandoucette
On 2017/11/09 14:34:52, juliandoucette wrote: > How are you planning to handle block/100% navbar menu ...
Nov. 9, 2017, 2:35 p.m. (2017-11-09 14:35:25 UTC) #19
ire
On 2017/11/09 14:35:25, juliandoucette wrote: > On 2017/11/09 14:34:52, juliandoucette wrote: > > How are ...
Nov. 10, 2017, 10:06 a.m. (2017-11-10 10:06:58 UTC) #20
ire
On 2017/11/10 10:06:58, ire wrote: > On 2017/11/09 14:35:25, juliandoucette wrote: > > On 2017/11/09 ...
Nov. 10, 2017, 10:22 a.m. (2017-11-10 10:22:58 UTC) #21
juliandoucette
Regarding the padding and active/hover/focus states that I suggested: I think the answer depends on ...
Nov. 10, 2017, 11:42 a.m. (2017-11-10 11:42:54 UTC) #22
ire
On 2017/11/10 11:42:54, juliandoucette wrote: > Regarding the padding and active/hover/focus states that I suggested: ...
Nov. 13, 2017, 5:57 p.m. (2017-11-13 17:57:44 UTC) #23
juliandoucette
> I'm not 100% sure about this. I don't really think the style of having ...
Nov. 14, 2017, 3:34 p.m. (2017-11-14 15:34:18 UTC) #24
ire
message: On 2017/11/14 15:34:18, juliandoucette wrote: > > I'm not 100% sure about this. I ...
Nov. 15, 2017, 6:41 a.m. (2017-11-15 06:41:31 UTC) #25
juliandoucette
On 2017/11/15 06:41:31, ire wrote: > Going back to what I said above, I don't ...
Nov. 15, 2017, 12:13 p.m. (2017-11-15 12:13:54 UTC) #26
juliandoucette
https://codereview.adblockplus.org/29587584/diff/29606585/includes/components/navbar.html File includes/components/navbar.html (right): https://codereview.adblockplus.org/29587584/diff/29606585/includes/components/navbar.html#newcode7 includes/components/navbar.html:7: <button class="toggle-navbar-collapse float-end"> NIT: It seems inconsistent that you ...
Nov. 15, 2017, 12:56 p.m. (2017-11-15 12:56:43 UTC) #27
ire
New patchset uploaded https://codereview.adblockplus.org/29587584/diff/29603563/static/img/svg/eyeo-logo.svg File static/img/svg/eyeo-logo.svg (right): https://codereview.adblockplus.org/29587584/diff/29603563/static/img/svg/eyeo-logo.svg#newcode1 static/img/svg/eyeo-logo.svg:1: <?xml version="1.0" encoding="UTF-8"?> On 2017/11/14 15:34:17, ...
Nov. 30, 2017, 2:01 p.m. (2017-11-30 14:01:20 UTC) #28
juliandoucette
Thanks Ire, I took a fresh look at this today. https://codereview.adblockplus.org/29587584/diff/29625611/includes/components/navbar.html File includes/components/navbar.html (right): https://codereview.adblockplus.org/29587584/diff/29625611/includes/components/navbar.html#newcode8 ...
Dec. 1, 2017, 4:30 p.m. (2017-12-01 16:30:44 UTC) #29
ire
New patchset https://codereview.adblockplus.org/29587584/diff/29625611/includes/components/navbar.html File includes/components/navbar.html (right): https://codereview.adblockplus.org/29587584/diff/29625611/includes/components/navbar.html#newcode8 includes/components/navbar.html:8: <span class="open-label">Open</span> On 2017/12/01 16:30:43, juliandoucette wrote: ...
Dec. 8, 2017, 10:42 a.m. (2017-12-08 10:42:23 UTC) #30
juliandoucette
On 2017/12/08 10:42:23, ire wrote: > (When you're free let's discuss how this would work) ...
Dec. 8, 2017, 3:18 p.m. (2017-12-08 15:18:07 UTC) #31
juliandoucette
Thanks :) https://codereview.adblockplus.org/29587584/diff/29633581/static/js/navbar.js File static/js/navbar.js (right): https://codereview.adblockplus.org/29587584/diff/29633581/static/js/navbar.js#newcode2 static/js/navbar.js:2: * Navbar Component NIT: Accessibility? (aria-hidden, aria-controlled-by) ...
Dec. 8, 2017, 3:24 p.m. (2017-12-08 15:24:08 UTC) #32
ire
New patch set https://codereview.adblockplus.org/29587584/diff/29633581/static/js/navbar.js File static/js/navbar.js (right): https://codereview.adblockplus.org/29587584/diff/29633581/static/js/navbar.js#newcode2 static/js/navbar.js:2: * Navbar Component On 2017/12/08 15:24:06, ...
Dec. 11, 2017, 3:12 p.m. (2017-12-11 15:12:00 UTC) #33
juliandoucette
https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss File static/scss/_navbar.scss (right): https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss#newcode31 static/scss/_navbar.scss:31: @if ($add-horizontal-navbar-padding) NIT/Suggest: Check if $navbar-padding-x (or similar) is ...
Dec. 13, 2017, 4:17 p.m. (2017-12-13 16:17:39 UTC) #34
ire
Thanks Julian, new patch https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss File static/scss/_navbar.scss (right): https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss#newcode31 static/scss/_navbar.scss:31: @if ($add-horizontal-navbar-padding) On 2017/12/13 16:17:38, ...
Dec. 14, 2017, 10:26 a.m. (2017-12-14 10:26:38 UTC) #35
juliandoucette
https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss File static/scss/_navbar.scss (right): https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss#newcode137 static/scss/_navbar.scss:137: @if ($add-horizontal-navbar-padding) On 2017/12/14 10:26:37, ire wrote: > On ...
Dec. 14, 2017, 12:55 p.m. (2017-12-14 12:55:42 UTC) #36
ire
https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss File static/scss/_navbar.scss (right): https://codereview.adblockplus.org/29587584/diff/29635563/static/scss/_navbar.scss#newcode176 static/scss/_navbar.scss:176: padding-top: $navbar-padding + ($navbar-padding / 2); On 2017/12/14 12:55:41, ...
Dec. 16, 2017, 9:51 a.m. (2017-12-16 09:51:36 UTC) #37
juliandoucette
On 2017/12/16 09:51:36, ire wrote: > Sure :) > > The issue previously was that ...
Dec. 16, 2017, 2:44 p.m. (2017-12-16 14:44:30 UTC) #38
ire
On 2017/12/16 14:44:30, juliandoucette wrote: > On 2017/12/16 09:51:36, ire wrote: > > Sure :) ...
Dec. 18, 2017, 8:29 a.m. (2017-12-18 08:29:27 UTC) #39
juliandoucette
> Under $tablet-breakpoint, the nav is no longer on the same line as the > ...
Dec. 18, 2017, 5:48 p.m. (2017-12-18 17:48:58 UTC) #40
ire
On 2017/12/18 17:48:58, juliandoucette wrote: > > Under $tablet-breakpoint, the nav is no longer on ...
Jan. 4, 2018, 7:50 a.m. (2018-01-04 07:50:33 UTC) #41
juliandoucette
> I can't find a way to accommodate for different sizes that would be simple. ...
Jan. 4, 2018, 5:29 p.m. (2018-01-04 17:29:24 UTC) #42
ire
On 2018/01/04 17:29:24, juliandoucette wrote: > > I can't find a way to accommodate for ...
Jan. 5, 2018, 8:23 a.m. (2018-01-05 08:23:56 UTC) #43
juliandoucette
On 2018/01/05 08:23:56, ire wrote: > Could you demo the change you are suggesting? Yes. ...
Jan. 8, 2018, 12:16 p.m. (2018-01-08 12:16:32 UTC) #44
juliandoucette
LGTM - Let's move forward with this. I will demo/propose improvements separately.
Jan. 8, 2018, 12:19 p.m. (2018-01-08 12:19:10 UTC) #45
ire
Jan. 9, 2018, 8 a.m. (2018-01-09 08:00:04 UTC) #46
On 2018/01/08 12:19:10, juliandoucette wrote:
> LGTM - Let's move forward with this. I will demo/propose improvements
> separately.

Ack.

Powered by Google App Engine
This is Rietveld