Syncing works well for me in the desktop Joplin app, but not in the mobile Joplin app where it is not triggered often enough and where I normally don’t see when it happens.
Two simple changes would improve things there:
Do a sync every time I switch from the editing view to the display view. That’s an implicit “save” command.
Always show a sync status indicator so that users can see when a note is unsaved and when syncing happens.
relevant work done in the past
laurent22:dev
← personalizedrefrigerator:pr/addSyncStatus2
opened 04:59PM - 05 Sep 22 UTC
# Summary
* [Original PR](https://github.com/laurent22/joplin/pull/6785)
* [… Feature discussion](https://discourse.joplinapp.org/t/mobile-display-sync-status-while-in-edit-view/27034/4)
* Adds an icon button that shows whether changes made in the mobile editor haven't been synced to the server.
# Testing plan
0. Select a sync target and enable the sync icon in settings > Note > Show sync status.
1. In "configuration", disable syncing
2. Edit a note.
- The "sync status" icon should be invisible
3. In "configuration", set a cloud service as the sync target
4. Open a note.
- The sync icon should be a "push" icon before changes are made/have been pushed to the server
5. Push the "sync" button
- After syncing, the icon should contain a checkmark.
6. Edit the note
- After making a change, but before syncing, the button should contain a "push icon" again
7. Press the "sync" button
8. In "configuration", enable syncing with the filesystem, but with an empty/invalid output directory
9. Open a note and press the "sync" button.
- After pressing the button once, the cloud should contain an exclamation point.
- Attempting to sync again should display an error message.
# Notes
<strike>
* The feature is opt-in and the setting is only visible when a sync target has been selected.]
* This selection was made as a result of [this poll](https://discourse.joplinapp.org/t/mobile-display-sync-status-while-in-edit-view/27034/11)<!--, which, as of September 5th, looked like this:
![Poll — make the sync status icon visible even when not currently syncing has 62% support; making it an opt-in setting has 50% support (other choices in that poll have less support)](https://user-images.githubusercontent.com/46334387/188492895-6500f5f6-63fe-409d-96b1-2b425784ca2e.png) -->
</strike>
* This feature is enabled by default and cannot be disabled.
# Screenshots
![Screenshot of the "show sync status" setting under note.](https://user-images.githubusercontent.com/46334387/188492697-5b53e044-d33a-443a-938d-a5ddcc5901d9.jpg)
- When up-to-date
- ![Outlined cloud with a checkmark](https://user-images.githubusercontent.com/46334387/187069514-e276a3df-fa98-49b4-958e-a3e3d486c753.jpg)
- While syncing
- ![Outlined cloud with a 'syncing' symbol](https://user-images.githubusercontent.com/46334387/187069584-91b46c39-f531-4e60-ac44-caea330eb6cf.jpg)
- When changes can be pushed
- ![Outlined cloud with an upward-pointing arrow](https://user-images.githubusercontent.com/46334387/187069623-1e1f178b-5e91-4ecb-926e-55106aaadde1.jpg)
- After sync errors
- ![Outlined cloud containing an exclamation point](https://user-images.githubusercontent.com/46334387/187069659-1f447a7b-6fbc-4a02-8365-60b137dd3e29.jpg)
<!--
Please prefix the title with the platform you are targetting:
Here are some examples of good titles:
- Desktop: Resolves #123: Added new setting to change font
- Mobile, Desktop: Fixes #456: Fixed config screen error
- All: Resolves #777: Made synchronisation faster
And here's an explanation of the title format:
- "Desktop" for the Windows/macOS/Linux app (Electron app)
- "Mobile" for the mobile app (or "Android" / "iOS" if the pull request only applies to one of the mobile platforms)
- "CLI" for the CLI app
If it's two platforms, separate them with commas - "Desktop, Mobile" or if it's for all platforms, prefix with "All".
If it's not related to any platform (such as a translation, change to the documentation, etc.), simply don't add a platform.
Then please append the issue that you've addressed or fixed. Use "Resolves #123" for new features or improvements and "Fixes #123" for bug fixes.
AND PLEASE READ THE GUIDE: https://github.com/laurent22/joplin/blob/dev/CONTRIBUTING.md
-->
Plugin by Henry
I've added a "show sync indicator" setting to v1.4.0 of the Extra Markdown editor settings plugin .
It can be set to:
"With text": Adds a text panel to the top of the editor that shows the sync status:
[screenshot: Text panel: Not syncing] [screenshot: Text panel: Syncing...]
"With an icon": Shows an icon that indicates the sync status. The "edit" icon means that the note has been edited 1) since opening the editor and 2) after the start of the most recent sync:
[screenshot: Edited icon][scr…
1 Like