393 Commits

Author SHA1 Message Date
Dan
c35ba85605 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
jasquat
5b88f88d31 added the process model identifier for the diagram if it is not the top level w/ burnettk 2023-01-25 10:39:17 -05:00
jasquat
1fbd3edde9 use a modal for metadata instead w/ burnettk 2023-01-24 16:53:23 -05:00
jasquat
f156605b0a put process instance show page to match main w/ burnettk 2023-01-24 16:38:05 -05:00
jasquat
be1d306a2f show metadata on instance show page but for some reason it reorders elements w/ burnettk 2023-01-24 14:35:27 -05:00
jasquat
c2a4d8480b add process model file name validation for new files w/ burnettk 2023-01-24 11:35:30 -05:00
jasquat
102413326a added locking system for process instances so hopefully background jobs will not take instances currently being run by the user w/ burnettk 2023-01-23 16:45:07 -05:00
burnettk
d282f66a5c make sure that all new form field elements are not dropdowns 2023-01-22 00:36:16 -05:00
jasquat
336923b1e5 expanded functionality of the form builder 2023-01-21 20:51:11 -05:00
jasquat
f5b77f9245 show start events in logs as well and added bpmn process identifiers to log table w/ burnettk 2023-01-19 10:06:30 -05:00
jasquat
7415c55ce7 do not navigate away from diagram editor page if there are changes w/ burnettk 2023-01-18 16:43:11 -05:00
jasquat
fa4c3d26d7 added End Event to simple log view w/ burnettk 2023-01-18 12:01:37 -05:00
jasquat
223a49ee5b only show milestones for simple log view w/ burnettk 2023-01-17 16:13:11 -05:00
burnettk
0a485681fa fix lint issues 2023-01-16 18:08:05 -05:00
jasquat
ccf64e5bcb added proof of concept to validate date fields in json schema form w/ burnettk 2023-01-16 17:01:15 -05:00
jasquat
14397099f4 added tasks table to process instance show page w/ burnettk 2023-01-13 14:31:12 -05:00
jasquat
96cc8b02d0 added tabs to find by id page and install pre commit libraries if they fail to run help w/ burnettk 2023-01-13 11:29:45 -05:00
jasquat
0038f41a88 stop at call activity as well when getting calling subprocesses by child id w/ burnettk 2023-01-13 10:43:25 -05:00
jasquat
781c9814c2 added detailed area to process instance show page w/ burnettk 2023-01-12 15:27:32 -05:00
jasquat
4224916917 remove several debug print statements 2023-01-12 10:48:42 -05:00
jasquat
3f94038e0e use the cookie from the frontend w/ burnettk 2023-01-11 17:27:12 -05:00
jasquat
1630c9c7b4 this somewhat works and sets cookies w/ burnettk 2023-01-11 15:57:01 -05:00
jasquat
6b5087c128 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
jasquat
bac203727e updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk 2023-01-10 15:15:21 -05:00
jasquat
9eb705ca76 show the error and success notifications when appropriate when editing xml for json w/ burnettk 2023-01-10 14:43:05 -05:00
jasquat
c89c4545c3 only load file references when needed to avoid unnecessary xml errors w/ burnettk 2023-01-10 14:28:14 -05:00
jasquat
f4a9770a66 Merge remote-tracking branch 'origin/main' into feature/add_some_xml_validations 2023-01-10 13:23:19 -05:00
jasquat
a24fca0e30 some updates to validate xml when uploading and saving w/ burnettk 2023-01-10 12:16:24 -05:00
Elizabeth Esswein
47cec2fd27 handle subprocesses in navigation 2023-01-09 23:14:23 -05:00
jasquat
338cf8fa5a call proceses through setProcesses to ensure we have up to date value and removed debug logs w/ burnettk 2023-01-09 17:43:56 -05:00
jasquat
30e5f44bf8 more debug logs w/ burnettk 2023-01-09 17:05:27 -05:00
jasquat
819aeca9bd more debugging and do not watch ProcessModel with getting processes w/ burnettk 2023-01-09 16:40:44 -05:00
jasquat
fa3d727b60 added in debug logging for launching call activity editor w/ burnettk 2023-01-09 16:24:36 -05:00
jasquat
0513413557 highlight tasks even if they are in subprocesses of called activities w/ burnettk 2023-01-06 12:00:24 -05:00
jasquat
618bbeb18a added fix to SpiffWorkflow to deepcopy operation params before evaluating them w/ burnettk 2023-01-05 17:29:28 -05:00
jasquat
499a9562c3 basic support to find a process instance by id w/ burnettk 2023-01-05 14:59:59 -05:00
Elizabeth Esswein
34b78baa65 Merge branch 'main' into feature/process-nav-improvements 2023-01-05 10:46:52 -05:00
jasquat
1d1b2e7e85 fixed issue displaying task data for call activities called multiple times in a diagram w/ burnettk 2023-01-05 10:38:29 -05:00
Elizabeth Esswein
cb8c9258c7 Merge branch 'main' into feature/process-nav-improvements 2023-01-05 10:27:31 -05:00
jasquat
abacdf96e6 merged in main and resolved conflicts 2023-01-04 11:56:33 -05:00
jasquat
2c4ae424a4 added new page to create process models using english text w/ burnettk 2023-01-03 17:26:01 -05:00
jasquat
7c88f2f756 adjust the process model file actions so they do not stack as easily w/ burnettk 2022-12-30 15:44:58 -05:00
jasquat
3506b19f66 cleaned up some debug code w/ burnettk 2022-12-30 15:30:32 -05:00
jasquat
9058a27b10 moved error display to own component w/ burnettk 2022-12-30 15:05:22 -05:00
Elizabeth Esswein
7fde6117f1 redirect to current step when resetting process instance 2022-12-30 10:45:21 -05:00
Elizabeth Esswein
4327dc7925 improve button labels 2022-12-29 20:11:18 -05:00
Elizabeth Esswein
72100e6d92 allow option to complete single tasks with or without execution 2022-12-29 17:21:17 -05:00
Elizabeth Esswein
0edb890470 add endpoint to reset process to earlier step 2022-12-29 15:26:29 -05:00
Elizabeth Esswein
f24d751450 Merge branch 'main' into feature/process-navigation 2022-12-29 12:09:47 -05:00
burnettk
744460fdbf make pagination test work for instances as well 2022-12-28 23:25:03 -05:00