-
Notifications
You must be signed in to change notification settings - Fork 971
Conversation
@@ -439,10 +439,15 @@ const handleAppAction = (action) => { | |||
appState = appState.set('sites', siteUtil.addSite(appState.get('sites'), s, action.tag)) | |||
}) | |||
} else { | |||
appState = appState.set('sites', siteUtil.addSite(appState.get('sites'), action.siteDetail, action.tag, action.originalSiteDetail)) | |||
let sites = appState.get('sites') | |||
if (!action.siteDetail.get('folderId') && siteUtil.isFolder(action.siteDetail)) { |
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.
This is the root cause of last backed out
766722a#diff-23ca389e2bcb77191b5a9c10900eb3a3R443
Because this can cause issues with migrations, I wanted to propose a new data-structure for us to use in favor of the sites array and ask what everyone thinks? We could still keep the migration code in there (so that it copies the old values over to the new structure), but instead of: |
This needs to be rebased |
Still needs to be rebased, I'll move to 1.0 |
bdecfdb
to
0be2e3c
Compare
rebased! but still looking for the cause of multi-select on bookmark manager failure |
2873ec9
to
9555a85
Compare
It's ready for review again |
e3f4c76
to
5fdfdcb
Compare
@darkdh please rebase |
5fdfdcb
to
07debeb
Compare
@posix4e , rebasing complete! |
@darkdh sorry to be a bother but how was this tested? |
07debeb
to
2241730
Compare
ba6cfde
to
2368ac4
Compare
@darkdh when you're done can you provide some bulk bookmark file as your STR suggested? Mine don't reach 300 😭 |
sent on slack 😄 |
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.
Tested manually and everything worked as expected.
Noticed some delay regarding DnD for topSites on the new tab but root cause may be #6217.
However, webDriver tests didn't pass for me for sessionStore
tests.
Update: Intermittent fail. Tested again and it worked.
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.
Previous comment pointed to a failing on sessionStore
test but tested again several times and seems like it was a one-timer (intermittent maybe). Otherwise LGTM ++
@darkdh I think this needs another rebase if you have time between C56 building. |
fix #4879 Auditors: @bbondy, @bsclifton, @cezaraugusto Test Plan: Performance: 1. Import bulk bookmarks (4000+) from other browsers (Don't merge into toolbar) 2. The process should finish instantly 3. Delete Import from XXX folder 4. The process should finish instantly Migration: 1. Make sure session-store-1 contains the sites data before 0.12.10 2. Lauch Brave and Close 3. sites of session-store-1 should change from [] tp {}
2368ac4
to
8a9b6c4
Compare
@bbondy, rebased 😄 |
++ |
It's nice to see this finally merged 🎉 |
git rebase -i
to squash commits (if needed).Test Plan:
fix #4879
Auditors: @bbondy, @bsclifton, @cezaraugusto
Test Plan:
Moved to #4879 (comment)