-
Notifications
You must be signed in to change notification settings - Fork 974
Moves bookmark text calculation into the state #10325
Conversation
let's remove |
@luixxiul good catch, thank you |
f6ad0c4
to
003c142
Compare
003c142
to
850b475
Compare
Codecov Report
@@ Coverage Diff @@
## master #10325 +/- ##
=========================================
+ Coverage 53.39% 54.19% +0.8%
=========================================
Files 253 255 +2
Lines 21892 22079 +187
Branches 3421 3448 +27
=========================================
+ Hits 11689 11966 +277
+ Misses 10203 10113 -90
|
Tests added. Tests for
will be handled in #10310 |
850b475
to
ff49fdd
Compare
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 I'm still not seeing the overflow icon at the end of the bookmarks toolbar using the following commit:
commit 1c51823
Author: NejcZdovc nejc.zdovc@3zsistemi.si
Date: Mon Sep 11 12:35:57 2017 +0200review comments 2
I went through the same STR that I mentioned above and imported my bookmarks. I moved them all into the bookmark toolbar and resized the window several times without seeing the overflow icon. I also went through the following settings via about:preferences#general
:
- enabled
Text Only
and resized the window several times (no overflow icon) - enabled
Text and Favicons
and resized the window several time (no overflow icon) - enabled
Favicons only
and resized the window several time (no overflow icon)
Quick example:
@kjozwiak this is ready for you to re-review next week. |
@bbondy sounds good! I started testing this yesterday but transitioned into the Just an FYI, the overflow icon is now appearing correctly but I still wanted to go through a few more tests to make sure there's no regressions. |
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.
Used the following PR:
commit e54ce52
Author: NejcZdovc nejc.zdovc@3zsistemi.si
Date: Wed Sep 13 22:52:08 2017 +0200review commit 3
Possible Issues:
Issue: Favicons not loading:
Favicons are not being loaded when they've been imported and added into the bookmark toolbar. This appears to be a new regression that this PR might have caused as I couldn't reproduce the issue with the following builds:
0.18.36 rev: 7ab85e9 - Couldn't Reproduce
0.19.6 rev: 3be25d4 - Couldn't Reproduce
0.21.0 rev: 2b120a0 - Couldn't Reproduce
STR:
- under about:preferences#general, select "Favicons Only"
- import several bookmarks via about:bookmarks
- move the bookmarks into the bookmarks toolbar
- open all those bookmarks in new tabs and you'll notice that the favicons are not updating
Issue: Moving folders from other folders into bookmarks doesn't work
Folders that belong to other folders will not appear under the bookmark toolbar when moved unless the original folder has been removed. This appears to be a new regression that this PR might have caused as I couldn't reproduce the issue with the following builds:
0.18.36 rev: 7ab85e9 - Couldn't Reproduce
0.19.6 rev: 3be25d4 - Couldn't Reproduce
0.21.0 rev: 2b120a0 - Couldn't Reproduce
STR:
- open about:bookmarks and create a folder named "Test1" under the toolbar
- create a folder names "Test2" and move it into "Test1"
- once "Test2" is inside the "Test1" folder, move "Test2" into the toolbar
- you'll notice it won't be visible
- delete "Test1" and "Test2" should now be appearing under the toolbar
@NejcZdovc, I'm still going through it but here's two possible issues that you can take a look at so you're not blocked and waiting for me.
8dc9969
to
9b414b0
Compare
@kjozwiak I tried first bug and favicons are not imported on master as well, so it's not limited to this PR. Bug 2 was fixes for folders and bookmarks |
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.
Looks good @NejcZdovc! I went through a bunch of different test cases and didn't run into any obvious regressions. I also went through the issues that I mentioned above and ensured those were working correctly as well.
Used the following PR during testing:
Kamils-MBP:browser-laptop kjozwiak$ git log -1
commit 9b414b0
Author: NejcZdovc nejc.zdovc@3zsistemi.si
Date: Mon Aug 7 17:52:26 2017 +0200Moves bookmark text calculation into the state Resolves #9517 Auditors: Test Plan
Resolves brave#9517 Auditors: Test Plan:
9b414b0
to
1a7ed9c
Compare
Submitter Checklist:
git rebase -i
to squash commits (if needed).Resolves #9517
Resolves #9939
Auditors:
Test Plan:
Reviewer Checklist:
Tests