Skip to content

Improve auto-sync behavior when editing parent and child features #4087

@joonaris

Description

@joonaris

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.

auto_sync.mp4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions