Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Edit lock] Check for edit lock when editing data, not when opening element #724

Open
wants to merge 4 commits into
base: 1.x
Choose a base branch
from

Conversation

BlackbitDevs
Copy link
Contributor

Currently when 2 users open the same element, there is this warning:
Bildschirmfoto 2024-10-17 um 15 56 08

This confuses users because this even happens if they only want to look up things without changing anything. For this reason this PR changes the behaviour so that the edit lock does not get checked when opening an element but when editing it. As soon as any data of the element gets changed and thus the element gets dirty, the edit lock will get checked. The message in the popup window has been adjusted a bit:
Bildschirmfoto 2024-10-17 um 16 04 00

When the user chooses to continue editing (= clicks "Yes"), the edit lock will get released.
When the user clicks "No", the element will get closed and reopened.

Copy link

github-actions bot commented Oct 17, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

Copy link

sonarcloud bot commented Oct 17, 2024

@BohdanSheyko
Copy link

I have read the CLA Document and I hereby sign the CLA

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.

2 participants