fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Sync bookmarks

Open bbinto opened this issue 7 years ago • 17 comments

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

bbinto avatar Mar 08 '19 13:03 bbinto

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.

grigoryk avatar Mar 12 '19 17:03 grigoryk

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.

colintheshots avatar Mar 12 '19 19:03 colintheshots

Yup. rfeeley will be the person to talk to about this. I'd vote for a single "sync status" to begin with.

grigoryk avatar Mar 12 '19 22:03 grigoryk

@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 avatar Mar 23 '19 21:03 mheubusch

@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?

bbinto avatar Mar 26 '19 21:03 bbinto

@ryanfeeley Looks like there is a question to you here that is blocking implementation. Can you follow up?

mheubusch avatar Apr 12 '19 15:04 mheubusch

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.

ryanfeeley avatar Apr 12 '19 17:04 ryanfeeley

@colintheshots looks like this is unblocked.

bifleming avatar Apr 12 '19 22:04 bifleming

Reopening so I can add blocking issues.

sv-ohorvath avatar Apr 24 '19 14:04 sv-ohorvath

Pulling from current sprint, so it can go out in the second beta release.

bifleming avatar Apr 25 '19 23:04 bifleming

Removing QA needed for now. When this re-lands please add it back.

kbrosnan avatar Apr 26 '19 01:04 kbrosnan

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.

mhammond avatar May 09 '19 06:05 mhammond

Need #2252 fixed to verify this.

kbrosnan avatar May 16 '19 16:05 kbrosnan

Closing this - 2252 is still open and work is tracked there.

mheubusch avatar May 20 '19 16:05 mheubusch

This needs to go through the correct process.

kbrosnan avatar May 21 '19 00:05 kbrosnan

#2252 landed, will be in tomorrow's build. This can be QA'd.

grigoryk avatar May 24 '19 01:05 grigoryk

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).

lobontiumira avatar May 24 '19 12:05 lobontiumira