Skip to content

Added notification when a project has a newer version available on the server#4386

Open
gabriel-bolbotina wants to merge 2 commits intomasterfrom
project-update-req-notification
Open

Added notification when a project has a newer version available on the server#4386
gabriel-bolbotina wants to merge 2 commits intomasterfrom
project-update-req-notification

Conversation

@gabriel-bolbotina
Copy link
Contributor

Added a function in mergin api that checks if the project needs a sync and fires a notification in case it is needed.

Tested to work for the currently open project and when switching from one project to another

Use case below:
https://github.com/user-attachments/assets/e0c01bec-5a55-4e22-82a4-2a50c673825b

@github-actions
Copy link

Pull Request Test Coverage Report for Build 23007140846

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 39 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.02%) to 59.766%

Files with Coverage Reduction New Missed Lines %
mm/app/position/providers/simulatedpositionprovider.cpp 1 91.67%
mm/app/notificationmodel.h 3 50.0%
mm/app/notificationmodel.cpp 4 50.54%
mm/core/merginapi.cpp 31 74.6%
Totals Coverage Status
Change from base Build 22999470615: -0.02%
Covered Lines: 8785
Relevant Lines: 14699

💛 - Coveralls

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 65151 dmg Expires: 10/06/2026 #6515
linux Build 📬 Mergin Maps 65261 x86_64 Expires: 10/06/2026 #6526
win64 Build 📬 Mergin Maps 57101 win64 Expires: 10/06/2026 #5710
Android Build 📬 Mergin Maps 782511 APK [armeabi-v7a] Expires: 10/06/2026 #7825
Android Build 📬 Mergin Maps 782551 APK [arm64-v8a] Expires: 10/06/2026 #7825
iOS Build 📬 Build number: 26.03.876611 #8766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check for a new version of a project when it gets loaded

1 participant