Closed Bug 1388463 Opened 8 years ago Closed 8 years ago

Consider adding a `lastModified` column for keywords and tags

Categories

(Toolkit :: Places, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: lina, Unassigned)

References

Details

It occurs to me that, since keywords (and tags, once bug 1039200 lands) are associated with URLs and not bookmarks, Sync can reconcile them separately. Currently, changing a tag on one device, and a tagged bookmark's title or URL on another, will throw away the new tags because we treat the tags as part of the bookmark. Storing a last modified timestamp for tags and keywords would allow Sync to merge them without querying `moz_bookmarks` for the bookmark info.
Summary: Consider adding a `lastModified` field for keywords and tags → Consider adding a `lastModified` column for keywords and tags
I went with a different approach for bug 1305563, so I don't think this makes sense anymore...unless other consumers besides Sync want to know when a keyword or tag was modified.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
(In reply to Kit Cambridge (he/him) [:kitcambridge] (UTC-7) from comment #0) > It occurs to me that, since keywords (and tags, once bug 1039200 lands) are > associated with URLs and not bookmarks, Sync can reconcile them separately. Note that while tags will (and are) associated to urls in the schema, they will always be set along (and just for) bookmarks. That is not going to change. Indeed we are thinking to merge the tagging API into the Bookmarks.jsm API in bug 1039200. The keywords change was required because we actually plan to completely remove them and rather transform them into custom search engines.
You need to log in before you can comment on or make changes to this bug.