mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Improve auto-sync behavior when editing parent and child features

Open joonaris opened this issue 4 months ago • 0 comments

Description: When automatic synchronization is enabled, the app starts syncing as soon as I open a layer form and add features

It seems that the current logic triggers synchronization immediately after it detects any edits, even if the parent feature is still being edited and the child feature is not yet fully saved.

This can be a bit distracting and also feels premature. A better approach would be:

Only trigger synchronization after the parent feature has been saved, not already when a child feature is being added to it.

Use case: When I add features to a layer with a 1-N relation, auto-sync pushes changes while I am still saving the child feature’s data. This interrupts the workflow and feels unexpected.

Expected behavior: Sync should only start after completing the parent save action.

https://github.com/user-attachments/assets/ab1bb7af-1b96-4615-b121-8dfd1363ce75

joonaris avatar Sep 08 '25 07:09 joonaris