One enhancement request for syncing

I have created a PR to implement this suggestion here Desktop: Add sync pending indicator by mrjo118 · Pull Request #13277 · laurent22/joplin · GitHub

I think it is a reasonable suggestion that can benefit everyone, but we’ll have to see how things go in code review

Thank you for working on improving the sync button and behavior. One of the pull requests mentioned that maybe the 15 second delay on desktop was perhaps due to the distraction due to things changing near the sync button on the screen. I find the button to be distracting because the icon is animated and the debug text changes as the sync happens. I’d prefer no debug text and an icon that didn’t rotate. Maybe a mouse hover tooltip showing when it was last successfully completed. I think the addition of the red dot or some other kind of dot (maybe purple to match the default UI color) is a nice way to indicate that a sync is needed.

All I need to know from the button is that: If a sync is needed, in progress, or done/successful. If it isn’t successful, some way to access more details about the failure. The button should let me trigger a sync or cancel a sync. All of the movement, changing text, is more distracting than any other application I’ve used that saves changes remotely.

This is an accessibility matter for some: ”For any auto-updating information that (1) starts automatically and (2) is presented in parallel with other content, there is a mechanism for the user to pause, stop, or hide it or to control the frequency of the update unless the auto-updating is part of an activity where it is essential.” Understanding Success Criterion 2.2.2: Pause, Stop, Hide | WAI | W3C

@scottku I think you should make a new thread for your feedback, as this thread is getting long and the scope of the discussion is expanding too much.

I’m glad that the dot indicator seems logical and beneficial to you. I did have second thoughts about the colour of the dot though. A red dot can suggest error or urgency and ChatGPT suggested that blue would be a more suitable colour which is commonly used for a more neutral type of indicator

I made a new PR now to replace the other one Desktop, Mobile: Implement a dirty state indicator which shows when there are pending outgoing changes to be synced by mrjo118 · Pull Request #13312 · laurent22/joplin · GitHub

I think this style of dot is more fitting, and I’ve also added mobile support (see the ‘Justification’ section in the PR description for why that is beneficial)

@Matt-NL In response to your OP, this issue is now addressed in the latest Joplin 3.6 prerelease via this PR:

That’s great news, thank you! Will test.

Works well and as expected. Cheers!