Open Bug 1592873 Opened 5 years ago Updated 2 years ago

Measure interaction with bookmarks synced from other devices

Categories

(Firefox :: Sync, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: lina, Unassigned)

References

(Blocks 1 open bug)

Details

It would be great if we could count each time a user interacts (edits, deletes, visits, others?) with a bookmark or folder that's synced from another device.

As with history, we don't currently store this information. SYNC_STATUS_NORMAL tells us that a bookmark was synced, but not if it originated from us or from another device. Bug 1302797 would help here, but that's super complicated; instead, we could use a simpler isRemote column like we would for history (bug 1592817).

An even easier way to do this is to split SYNC_STATUS_NORMAL into SYNC_STATUS_NORMAL_FROM_REMOTE_DEVICE and SYNC_STATUS_NORMAL_FROM_THIS_DEVICE. NEW bookmarks will transition to NORMAL_FROM_THIS_DEVICE after they're uploaded, and stay in that state, while synced bookmarks that we insert or dedupe will be SYNC_STATUS_NORMAL_FROM_REMOTE_DEVICE. Everything that we currently do for NORMAL now, including deduping and tombstone behavior, will apply to both statuses.

Another interesting question is what to do if you disconnect sync. Currently, we reset all items to NEW. Should we separate that into NEW_FROM_THIS_DEVICE and NEW_FROM_REMOTE_DEVICE, too? If the user reconnects Sync, NEW_FROM_REMOTE_DEVICE will transition to NORMAL_FROM_THIS_DEVICE. That way, the local or remote bit can stick across migrations.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.