Sync bookmarks
As a user, I want to retrieve my bookmarks from my other devices, so I can retrieve previoulsy saved web content
Why/User Benefit/User Problem
- allow users to retrieve their bookmarks saved on a different device
- allow users to delete bookmark and apply change on the server (change reflected on all other devices)
What / Requirements
- ability to sync bookmarks from other devices via Firefox Account Sync
Acceptance Criteria (how do I know when I’m done?)
- make clear to the user if bookmark was synced or not (what device)
- successfully sync bookmarks both ways
┆Issue is synchronized with this Jira Task
make clear to the user if bookmark was synced or not (what device)
In our current Sync-connected products, we mostly just display a high level sync status on error. We could go a bit more granular here (e.g. history sync succeeded but bookmark sync failed), but this will require some in-depth UX thinking.
I feel like a granular error status might be too much information for the user. I suppose we could have some kind of synced/syncing/sync error indicator for each page in the Library if one type failing is a thing, but I actually prefer to hide this kind of inside baseball. Most users only care on a very high level.
Yup. rfeeley will be the person to talk to about this. I'd vote for a single "sync status" to begin with.
@bbinto @colintheshots I have created a Meta for the Library #1140 and created a user story for syncing bookmarks and history to/from the Library #1155 so can we close this issue? I don't think we have a precedent for syncing only one type of thing or displaying an error status for one type of thing - I believe sync is all or nothing for the things a user wants to sync and for what the app can accept
@mheubusch - #1155 might be now a duplicate of #289.
We do have this epic/meta: https://github.com/mozilla-mobile/fenix/issues/922 I'm removing the assigned epic for this issue and assign #1155 issue to the #922 epic, sounds good?
@ryanfeeley Looks like there is a question to you here that is blocking implementation. Can you follow up?
make clear to the user if bookmark was synced or not (what device)
We don't need this nor do we do this anywhere else. Sync just works. Yes, there may be occasional errors in syncing, but we don't present them to the user. In desktop there is about:sync-log where we direct users who report problems.
@colintheshots looks like this is unblocked.
Reopening so I can add blocking issues.
Pulling from current sprint, so it can go out in the second beta release.
Removing QA needed for now. When this re-lands please add it back.
Bookmark syncing now works - it just looks like it doesn't. The issue is that the library only shows the "mobile" root, which has 2 significant problems:
-
For better or worse, desktop hides the mobile root unless items are already in it. Because of this, it's highly unlikely desktop users have any bookmarks in this folder - so Fenix is showing an empty folder, which the user (including me!) perceives as bookmark syncing simply not working.
-
Once the user creates a bookmark with Fenix (or if they already created a bookmark in Fennec) then desktop will show the mobile folder, and desktop could move bookmarks into it - but that's still going to be a fraction of the bookmarks the user has.
I made a local build of Fenix which replaced BookmarkRoot.Mobile.id with BookmarkRoot.Root.id and it works - I can see all my desktop bookmarks \o/ - however, there are a few UX papercuts that might need addressing.
Need #2252 fixed to verify this.
Closing this - 2252 is still open and work is tracked there.
This needs to go through the correct process.
#2252 landed, will be in tomorrow's build. This can be QA'd.
Verified that the bookmarks and history are synced on the latest build 1.0.1921 (#11440614), with Sony Xperia Z5 Premium (Android 7.1.1), Google Pixel (Android 9), and Huawei Honor 8 (Android 7).