This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 975
hidden top site fixes you wouldn't believe existed #12470
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cezaraugusto
changed the title
pinned sites should retain position
hidden top site fixes you wouldn't believe existed
Jan 3, 2018
Codecov Report
@@ Coverage Diff @@
## master #12470 +/- ##
==========================================
- Coverage 55.91% 55.89% -0.03%
==========================================
Files 278 278
Lines 26983 27015 +32
Branches 4363 4369 +6
==========================================
+ Hits 15087 15099 +12
- Misses 11896 11916 +20
|
cezaraugusto
force-pushed
the
topsites-revisited
branch
from
January 3, 2018 17:01
5f3c4e4
to
ae0a1a4
Compare
This was referenced Jan 3, 2018
This was referenced Jan 3, 2018
- default pinned top site was persistent even after restart. changes address it
cezaraugusto
force-pushed
the
topsites-revisited
branch
from
January 4, 2018 20:20
f95dd73
to
f016455
Compare
bsclifton
approved these changes
Jan 8, 2018
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.
All issues as described are fixed. However, I did notice two issues (not sure if new? or regression? If you're able to repro, let's create a new issue)
- When pinning a site, it moves the position once (then stays)
- Bookmarking a top sites tile does not affect the star icon. It's supposed to fill it in. I tried closing/re-opening Brave and had no luck
bsclifton
added a commit
that referenced
this pull request
Jan 8, 2018
hidden top site fixes you wouldn't believe existed
bsclifton
added a commit
that referenced
this pull request
Jan 8, 2018
hidden top site fixes you wouldn't believe existed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
address #12435
fix #12027
fix #12026
fix #11102
fix #5768
fix #5413
Test plan:
Please note that several topSites features are broken and tracked in #12435 (there's likely more issues). This PR only addresses what's covered by referenced issues.
Covered by
npm run test -- --grep="respects position of pinned items when populating results"
Manual test plan (ensure you're on a fresh profile first):
#12027
visit some websites and ensure they're on the topsites list. Restart browser several times, sites shouldn't be missing
#12026
visit some websites and ensure they're on the topsites list. Restart. You shouldn't see default topSites anywhere else as previous position (they shouldn't appear momentarily)
#11102
visit some websites and ensure they're on the topsites list. Restart. Visit other sites. Top sites shouldn't be missing
#5768
visit some websites and ensure they're on the topsites list. pin 2nd and 4th websites. Visited site should be stored in the first position.
#5413
bookmark any default topsite using the star icon inside tile. Shouldn't jump position. Visit some websites and repeat operation. They shouldn't jump positions.