spiff-arena/spiffworkflow-frontend/src/hooks
Dan 2b6b053671 TaskShow had a useEffect that depended on params, that dependency caused an infinite request cycle when an error occured.
The same issue was happening on the ProcessInstanceListTable, and there it was being managed by a "SafelySetErrorMessage" function in one case,
but would not be addressed in all possible cases.

Reworked error handling into a context provider (APIErrorProvider) and hook (UseApiError) and removed the "(useContext as any)(ErrorContext)[1];" that felt a little off but that never was an actual problem.
2023-01-25 10:46:56 -05:00
..
PermissionService.tsx allow disabling the permission check for the Create New Instance page to improve performance. 2022-11-25 15:23:08 -05:00
UriListForPermissions.tsx add endpoint to reset process to earlier step 2022-12-29 15:26:29 -05:00
UseApiError.tsx TaskShow had a useEffect that depended on params, that dependency caused an infinite request cycle when an error occured. 2023-01-25 10:46:56 -05:00
UsePrompt.tsx do not navigate away from diagram editor page if there are changes w/ burnettk 2023-01-18 16:43:11 -05:00