Skip to content

[app] visible sync/download queue progress #2832

@legoktm

Description

@legoktm

Description

We want to have some visible indicator when sync is running, there's a download queue or there are pending events to be sent to the server.

A few notes on the workflow:

  1. sync runs, fetching the list of items and sources and files/messages
  2. that list of messages populates the download queue, which then immediately starts downloading the individual messages and decrypting them
  3. as the journalist interacts with the sources, they queue a list of pending events (item_seen, starring, deletion, reply). in most cases we will submit the pending events to the server ASAP but in offline mode a queue will build up.
  4. sync runs upon login and then on a 60-second timer. In most cases when sync runs, nothing will happen!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions