Describe the feature
Right now users changes are synced automatically to lexbox when they're online. But they're never synced (automatically) via fw-headless to mercurial. We would like some UI to show the current sync status.
This will require the following:
New lexbox apis #1412
- api to returns the current sync status to FW Lite (probably returns data from the
/api/crdt-sync-status api in fw headless)
- trigger a fw headless sync from FW Lite
these should be rest APIs in their own controller, probably called Sync status or something like that which is marked as a public API similar to the CrdtController to indicate that it has a different versioning restrictions since it's used by FW Lite
UI
- Dialog for displaying status
- Buttons to trigger a sync
FW Lite services:
- fetch the sync status from lexbox and manually trigger a fw headless sync
- return the current unsynced changes (from our local) to lexbox, I'm not sure if we're tracking this yet, so it could just be stubbed out to return an empty list/count for now until we have a way of tracking that. This will really only be useful for people who are working offline.
Here's a mockup of the UI:
green is just annotations, the blue is actual UI

this is pretty rough, but it shows the kind if info I want available to the user as well as what actions they can take.
One other thing to keep in mind is that this view will be used offline, so it needs to gracefully handle being offline, maybe some of the UI is greyed out/disabled with a logo to indicate being offline. It would then just show pending changes to send to the server.
Who is this feature for?
Users, IT support
Pages affected
Project view
Describe the feature
Right now users changes are synced automatically to lexbox when they're online. But they're never synced (automatically) via fw-headless to mercurial. We would like some UI to show the current sync status.
This will require the following:
New lexbox apis #1412
/api/crdt-sync-statusapi in fw headless)these should be rest APIs in their own controller, probably called Sync status or something like that which is marked as a public API similar to the CrdtController to indicate that it has a different versioning restrictions since it's used by FW Lite
UI
FW Lite services:
Here's a mockup of the UI:

green is just annotations, the blue is actual UI
this is pretty rough, but it shows the kind if info I want available to the user as well as what actions they can take.
One other thing to keep in mind is that this view will be used offline, so it needs to gracefully handle being offline, maybe some of the UI is greyed out/disabled with a logo to indicate being offline. It would then just show pending changes to send to the server.
Who is this feature for?
Users, IT support
Pages affected
Project view