Offline Mode

When there is no internet, actions performed with a task are saved in Local Storage and sent to the server when connection is restored

Loaded tasks are not saved to any database or Local Storage, and remain available until the application is unloaded from memory.

Task Approval

src/store/actions/forms.actions.ts approveFormWorker

  • when approving a task, internet availability is checked, and if unavailable, the action is recorded in Local Storage

  • saved actions will be sent to the server when approving the next task and having internet access (loadActionsWorker) src/store/actions/offline-actions.actions.ts loadActionsWorker