Dynamically Disable Toolbar Buttons
To prevent the user from performing an illegal operation in CartoPac Touch, the application was updated to ensure that users cannot access certain workflows while in the middle of an edit session. Guardrails have been put in-place that prevent the user from accessing some menus or edit buttons (move, delete) while in an active edit session or with the forms open. For example, if the user in the middle of edit session or has a form open, the user is unable to press the + button to add a new record or change to inquire mode.
The software is prone to data integrity and stability concerns if the users are able to access specific workflows while in the middle of an edit session. This change adds additional barriers that support the stability of the application and reduce the risk of data loss or corruption.
By disabling vertical toolbar buttons (including the hamburger button sub-menus) when in active edit session, the application can prevent the user from performing workflows that are likely to cause CartoPac Mobile concerns.
This issue is only applicable in CartoPac Touch, the some similar guardrails were already present in CartoPac Tablet.