Description
Is your feature request related to a problem? Please describe 👀
Currently there is an error icon shown if sync experiences an error. Otherwise a number is shown, which is the number of records waiting to be synchronised out from the current site.
The display of a number in a badge over the sync navigation has been called into question:
- it reads as if there is an action to be performed; but the user doesn't need to do anything
- the number is a proxy for 'action required' but only when it goes over a certain threshold, and there's no way for the user to interpret what that is
- the value of the number is of little consequence for the user
- the number is shown when you click the sync window - if you really must know what it is!
Describe the solution you'd like 🎁
Describe alternatives you've considered 💭
A more useful indicator for users is to show when action is required.
To that end:
- create a sync warning threshold (1 day) which is stored as a hard coded value ( ideally this would be a global preference - and could be, depending when this issue is tackled
- and a sync error threshold (3 days) which also could be a global pref
- If sync has an error - show the error icon, as it does now
- if a sync has not been successful within the error threshold show the alert icon as a badge in the theme error colour
- if a sync has not been successful within the warning threshold show the alert icon as a badge in the theme warning colour
