Skip to content

Conversation

@Withalion
Copy link
Contributor

@Withalion Withalion commented Dec 8, 2025

fixes #4178

This PR adds new triggers for autosync when allowed:

  • autosync when project is opened
  • autosync after 1 minute
  • autosync after app is brought to foreground and last autosync is older than a minute

Besides the triggers also UX was improved. With synchronizations triggered by autosync there won't be so much "visual smog" only notification about successful sync will be shown.

@Withalion Withalion changed the title Imrprove autosync capabilities Improve autosync capabilities Dec 8, 2025
Copy link
Contributor

@gabriel-bolbotina gabriel-bolbotina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall seems fine. I was wondering if we should also add/ update the unit test for this enhancement?

@gioman
Copy link

gioman commented Dec 11, 2025

@Withalion we have tested the functionality and it seems to work fine, thanks!

@Withalion
Copy link
Contributor Author

@gioman I'm happy to hear that, after some discussion with @tomasMizera we will add some more improvements to the autosync.

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📬 artifact Expires: 12/03/2026 #6117
win64 Build 📬 artifact Expires: 12/03/2026 #5299
Android Build 📬 Mergin Maps 741611 APK [armeabi-v7a] Expires: 12/03/2026 #7416
Android Build 📬 Mergin Maps 741651 APK [arm64-v8a] Expires: 12/03/2026 #7416
iOS Build 📬 Build number: 25.12.835711 #8357

@Withalion
Copy link
Contributor Author

@tomasMizera I fixed the missing banner, but I forgot what were the other issues. I'll fix them when you publish your review

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 artifact Expires: 12/03/2026 #5306
Android Build 📬 Mergin Maps 742351 APK [arm64-v8a] Expires: 12/03/2026 #7423
Android Build 📬 Mergin Maps 742311 APK [armeabi-v7a] Expires: 12/03/2026 #7423
iOS Build 📬 Build number: 25.12.836411 #8364

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 artifact Expires: 12/03/2026 #5308
Android Build 📭 Build not yet complete or failed.
iOS Build 📭 Build not yet complete or failed.

@Withalion
Copy link
Contributor Author

Change the option description in app settings to something more meaningful

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 artifact Expires: 15/03/2026 #5309
Android Build 📬 Mergin Maps 742611 APK [armeabi-v7a] Expires: 15/03/2026 #7426
Android Build 📬 Mergin Maps 742651 APK [arm64-v8a] Expires: 15/03/2026 #7426
iOS Build 📬 Build number: 25.12.836711 #8367

Copy link
Collaborator

@tomasMizera tomasMizera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@Withalion Withalion merged commit 69108dd into master Dec 15, 2025
11 of 12 checks passed
@Withalion Withalion deleted the feature/autosync branch December 15, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Synchronize project when the App starts Point users to turn-off auto-sync when offline Auto-sync based on time interval Handle network timeouts

5 participants