You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the editors of our customer stumbled upon the following issue:
Steps to Reproduce
Do changes in the content area - now you have unpublished changes
Open the inspector on the right and change something there, but "forget" to click the apply button
You are used to the system warning you about unsaved changes in the inspector
You click the publish button and get the feedback, that all was successfully published
The change in the inspector is still unsaved, but you do not notice it, because in former versions of Neos you got a warning, if you left the inspector without hitting the "apply" button.
You log our or close the window and your change is lost without you even realizing it.
Expected behavior
If you click on the top frame when there is an not-applied change in the inspector, you should get the same warning about unsaved changes as when you click in the content area.
Affected Versions
Neos: 5.x
UI: 5.x
This is not a big issue, but might be fixed easily and would avoid frustration for the editors.
The text was updated successfully, but these errors were encountered:
I can reproduce this issue with UI version: v8.1.0 and i noticed it myself lately.
maybe we can add a beforeunload hook, that prevents closing the page accidentally (which would also solve your issue but in a much wider range ;) )
We could add this to the <Inspector />
publicwarnUserForPossibleNotSavedChanges(e){if(this.pendingChanges){constconfirmationMessage="Pending changes at ... property ... do you really want to close the window";(e||window.event).returnValue=confirmationMessage;returnconfirmationMessage;}}publiccomponentDidMount(){window.addEventListener("beforeunload",this.warnUserForPossibleNotSavedChanges);}publiccomponentWillUnmount(){window.removeEventListener("beforeunload",this.warnUserForPossibleNotSavedChanges);}
mhsdesign
changed the title
Editor is not warned about unsave changes in inspector when changing focus into top area (publish, logout)
Editor is not warned about unsave changes in inspector (on publish, on page close)
Oct 12, 2022
I suggest we keep this separate from #2059. As far as I understand the original issue, it was about the "Not Applied"-Dialog not showing up if the user clicks anywhere outside the guest frame. I do not believe that #2059 would fix this.
Description
One of the editors of our customer stumbled upon the following issue:
Steps to Reproduce
Expected behavior
If you click on the top frame when there is an not-applied change in the inspector, you should get the same warning about unsaved changes as when you click in the content area.
Affected Versions
Neos: 5.x
UI: 5.x
This is not a big issue, but might be fixed easily and would avoid frustration for the editors.
The text was updated successfully, but these errors were encountered: