Skip to content

v2 API should include source-level properties for unread and file attachment status #7621

@legoktm

Description

@legoktm

Description

During performance optimization of freedomofpress/securedrop-client#2559, we realized it would be valuable to have source-level properties for:

  • is_read - are all the items in the source's collection marked as read
  • has_attachment - is any of the items in the source's collection a file

The implementation will look something like #7552 (comment) (and this issue supersedes that one).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready to go

Relationships

None yet

Development

No branches or pull requests

Issue actions