-
Notifications
You must be signed in to change notification settings - Fork 973
Refactor navigationBar with Aphrodite - master #9851
Conversation
2d47828
to
afbe9eb
Compare
.getAttribute(urlbarIcon, 'class').then((classes) => | ||
.waitForExist(urlBarIcon) | ||
|
||
// TODO: Fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NejcZdovc would you mind fixing the test errors including below? thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
7a9562f
to
b8ea9ee
Compare
f1ab4ef
to
836ee4e
Compare
@luixxiul can you pls rebase against master latest? I was going to jump in but having problems with spellchecker. I guess two missing parts are the getter thing and 1-5 in https://travis-ci.org/brave/browser-laptop/jobs/255581013#L3262 correct? cc @NejcZdovc |
@cezaraugusto Yes that's correct |
Addresses #9283 .navbarMenubarBlockContainer (introduced with f2426f1#diff-303f0b6a297506f2cc18bf7b4cb370c5R789, which no longer exists on the master branch.) .inputbar-wrapper (introduced with 0e57690#diff-02c4b23ad267fe636760179e32fa29ceR141 with no clear reason. Since .inputbar-wrapper has not been used, it can be removed safely.)
Addresses #9283 Also: - Replace stopButton, homeButton, publisherButton, and braveMenuButton
Addresses #9283
Addresses #9283 See discussion on #9851 (comment)
1561e50
to
fdc4ac3
Compare
@cezaraugusto it seems Aphrodite eg. on this case:
Blocked on #10165. |
The upstream bug of Aphrodite seems to have been |
Abandoned. |
Addresses #9283 See discussion on #9851 (comment)
Addresses #9283 See discussion on #9851 (comment)
See #9299 for pre-work.
The main things that this PR tries to do are:
navigation
folder, except rules with media queries (as there seems to be room for optimization) and for Windows.BEM Level
comments.Closes #9846
Addresses #9283
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plans
Test Plan (obsolete styles)
inputbar-wrapper
on your reponavbarMenubarBlockContainer
@siteEVColor
@loadTimeColor
Since automated tests cannot find visual regressions, please conduct these tests carefully from perspectives of clickability, draggability, animation, color, etc. Thanks!
Test Plan (top panel):
about:preferences#advanced
Always show the URL bar
Test Plan (add bookmark icon)
Test Plan (buttons inside the top panel):
about:preferences#advanced
Always show the URL bar
Test Plan (Publisher Toggle):
Test Plan (navigation buttons):
Test Plan (fullscreen mode)
Test Plan (elements around the URL bar):
.urlbarForm
does not have a white backgroundabout:preferences#advanced
Test plan (loadTime)
Test Plan (URL bar un/lock icon)
Always show the URL bar
if not:a
to the URL barstyles.urlbarIcon
is applied to the amazon favicon.urlbarForm
does not have a white backgroundfTest Plan (NoScript):
Test Plan (bookmark hanger)
arrowUp
appears under the bookmark star iconTest plan (for Windows)
.topLevelStartButtons
has padding-left:5pxTest Plan 8 (for macOS):
.topLevelStartButtons
has padding-left:76pxReviewer Checklist:
Tests