-
Notifications
You must be signed in to change notification settings - Fork 973
Bookmarking a site on new tab gridSites change its position #5413
Comments
Possibly related to re-ordering done here (which may not be needed, just like the sanitize in newtabs.js removed it) |
Bookmarking items does not affect position Fixes #5413 Sites are ordered by most visited (count) DESC Fixes #5322 Groundwork laid for #5565, but the task is unfinished as-is. ----- These commits moving existing logic from newtab.js into the session helper. Tests were then added and I manually tested each scenario and tried to make sure tests cover those. Things which are not covered are marked with TODO(bsclifton) The important thing: appState.about.newtab.sites no longer persists a separate copy of the sites array. It instead uses the location/partion of items saved to lookup the real object from appState.sites. ----- Auditors: @cezaraugusto, @bbondy
Reopening as still an issue after #5583 |
@cezaraugusto is this still an issue? Also, I'm curious about #5337 I wasn't sure after we talked today if there were outstanding issues? The behavior may have seemed different, but it's because of how it sorts. The pinning should be working as expected |
Moving to 0.12.10 |
Moving to 0.12.11 |
@cezaraugusto did you ever submit a fix for this? I remember we talked about how bookmarking may update the |
@bsclifton nope but first item of my list now |
Self notes:
Current implementation for a fix still breaks actual tests. This issue is cross-related to #6160 |
Test plan
See #12470
Original issue description
Did you search for similar issues before submitting this one?
yes
Describe the issue you encountered:
When you bookmark a tile on newtab's grid, the site jumps its position to the first position.
Expected behavior:
Bookmarking a site should take no action on topSites grid
Platform (Win7, 8, 10? macOS? Linux distro?): n/a
Brave Version: n/a
Steps to reproduce:
Screenshot if needed: n/æ
Any related issues: n/a
The text was updated successfully, but these errors were encountered: