-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
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:
- sync runs, fetching the list of items and sources and files/messages
- that list of messages populates the download queue, which then immediately starts downloading the individual messages and decrypting them
- 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.
- sync runs upon login and then on a 60-second timer. In most cases when sync runs, nothing will happen!