Description
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.2
Bug summary
I am currently developing a custom WorkspaceAction by extending UmbWorkspaceActionBase. In this process, I need to determine whether there are any unpersisted changes before executing the action, similar to the check performed when navigating away from the workspace.
While reviewing the base class, I noticed the method _getHasUnpersistedChanges(): boolean:
Since this method is marked as protected, it cannot be accessed directly from a subclass. This restriction makes it difficult to implement a feature that needs to verify the presence of unsaved changes.
Request:
Would it be possible to either:
Remove the protected modifier from _getHasUnpersistedChanges() to make it accessible to subclasses, or
Provide an alternative public method to check for unpersisted changes?
This change would help developers building custom workspace actions and align with existing internal behaviors for unsaved change detection.
Specifics
No response
Steps to reproduce
Extend UmbWorkspaceActionBase and see that it is not accessible.
Expected result / actual result
No response