Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Support for getting recently bookmarked items #10419

@grigoryk

Description

@grigoryk

We'll need this for some upcoming feature work.

Basically, three ways of doing this:

  1. expose dateAdded/lastModified timestamps in our BookmarkNode type (these are already available to us over FFI); to get recent, fetch the entire tree and perform an in-memory filter.
  2. add a places API specifically for this purpose (which will perform this work entirely in SQL).
  3. keep track of recently bookmarked items in some auxiliary storage

(1) is likely the slowest, but quick to do. (2) will be certainly faster, but the most work. However, it's not that much work, we should be able to easily add this additional API to A-S.

(3) seems wrong to me entirely, given that (1) and (2) exist.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

<storage>Concerning general browser storagea-sApplication Services work needed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions