Commit Graph

882 Commits

Author SHA1 Message Date
jasquat 0cc15d0da6 updated system report names to match more closely the text used on the homepage w/ burnettk 2023-05-03 11:42:42 -04:00
jasquat 4832256fc5 removed the format header method from frontend so we only use the columns that come from the metadata now w/ burnettk 2023-05-03 11:16:13 -04:00
Dan Funk 64692f0d59 Merge pull request #237 from sartography/feature/cancel_button
Feature/cancel button
2023-05-03 10:12:02 -04:00
Dan 546f941e96 remove chatty console log. 2023-05-03 10:11:54 -04:00
jasquat beba4cb91b use hyphens instead of parenthesis for process model search 2023-05-03 09:08:25 -04:00
burnettk e71ff3f701 notion 400: get_toplevel_process_info instead of get_process_info 2023-05-02 22:28:52 -04:00
jasquat 38428cb6a4 fixed tests w/ burnettk 2023-05-02 17:09:29 -04:00
jasquat 66bd628c58 disallow saving a process model file if it has changed w/ burnettk 2023-05-02 16:31:29 -04:00
Dan 0285fe5b85 hide the js-properties-panel if we are in view-only mode. 2023-05-02 14:53:39 -04:00
Dan 6aaae539a0 run_pyl 2023-05-02 14:00:15 -04:00
Dan ac149c9dcb * Adding signal_buttons to tasks, which will prompt the frontend to display a button that when pressed will cause the signal to fire.
* This alters how the send_event endpoint responds - it originally responded with a process instance, it now responds with the next task, in keeping with how other task completion endpoints behave.
* I was forced to upgrade some of the bpmn-js libraries which fixes some of the linting errors on the front end.
* The "Return to home" button isn't always displayed.  It will not display when it is redirecting, or when the current task is running.
.
2023-05-02 13:40:41 -04:00
jasquat ab1cc4b102 use a black background for the view filterable table button and fixed process model show instances table w/ burnettk 2023-05-02 11:41:55 -04:00
burnettk fa2c00821d add title text to explain reset a bit more 2023-05-02 10:44:30 -04:00
jasquat 40e6e9a6bb autoreload instances on the inprogress home page 2023-05-02 09:16:09 -04:00
jasquat 938096f8b9 allow users to post to process instance list and truncate process model ids on the process instance list table page w/ burnettk 2023-05-01 16:30:08 -04:00
jasquat 22138e1bf1 renamed home page table headers and added filter table link to the completed instances page w/ burnettk 2023-05-01 15:52:11 -04:00
jasquat ca8af1bce0 fixed cypress tests w/ burnettk 2023-05-01 14:54:11 -04:00
jasquat 07b4616d45 fixed tests w/ burnettk 2023-05-01 12:51:58 -04:00
jasquat 3247955db5 merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jasquat c84aa44acf lint fixes w/ burnettk 2023-05-01 12:29:48 -04:00
jasquat 607abf97c2 added links to filtered tables on homepage and added advanced options modal to use them w/ burnettk 2023-05-01 12:25:22 -04:00
jbirddog e9827d0d5e Stable last updated time for human tasks with timers (#231) 2023-05-01 10:32:19 -04:00
jasquat 1f17e58a07 only return the compiled report metadata to the frontend and remove most usages of the internal filters w/ burnettk 2023-04-28 15:42:35 -04:00
jasquat b01b398287 added tmp link to homepage table w/ burnettk 2023-04-28 14:29:56 -04:00
jasquat b179b66e26 home page tables are working again w/ burnettk 2023-04-28 12:36:16 -04:00
jasquat 80ec1194db fixed cypress process instance tests w/ burnettk 2023-04-28 11:56:52 -04:00
jasquat 3754d72f4f tests are now passing and pyl w/ burnettk 2023-04-28 10:07:21 -04:00
jasquat f67bb6b04f Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-28 08:14:24 -04:00
Madhurya Liyanage 393fac80a7 Test cases for request - add, edit, cancel, save as draft 2023-04-28 15:25:54 +05:30
Madhurya Liyanage 2fefe4e4de Updates to match the interstitial pages 2023-04-28 15:25:04 +05:30
jasquat 6a9d30e3fe Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 17:33:49 -04:00
jasquat a4fd81cb9a remove a lot of unused code and fixed linting issues w/ burnettk 2023-04-27 17:33:25 -04:00
jasquat b86ddf8a96 reports seem to be working again w/ burnettk 2023-04-27 15:19:02 -04:00
jasquat e49734b9ef most of the process instance filters are working. still need to add back in support for reports w/ burnettk 2023-04-27 11:47:48 -04:00
Dan 8354f23ce3 Update text on interstitial page 2023-04-27 09:14:41 -04:00
jasquat d29a4ca0ae Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 07:28:47 -04:00
jasquat 2376080267 more filter work 2023-04-27 07:28:06 -04:00
burnettk 93ec911484 fix permissions for process callers api 2023-04-27 07:20:52 -04:00
Dan de21567887 run pyl 2023-04-26 21:30:29 -04:00
Dan d845b0b1e2 Need to remove the initial greedy first task from run-until-user-instructions as it was causing us to skip over user messages.
We weren't formatting instructions for end events.
More cleanup of the UI
More rapid graying out of past messages
2023-04-26 21:27:52 -04:00
Dan dbd3f5e5ea more run_pyl 2023-04-26 20:28:40 -04:00
Dan 0b5cba5c6e run_pyl 2023-04-26 20:24:47 -04:00
Dan 342da115f8 a little css love 2023-04-26 19:53:18 -04:00
Dan 015754e089 some styling changes and a better end page. 2023-04-26 19:15:15 -04:00
Dan d1fc75c877 run_pyl 2023-04-26 18:34:10 -04:00
Dan e2b582b7fc various css tweaks 2023-04-26 18:10:02 -04:00
Dan 3473cf7cfe randome critical code that I missed during last resolve of conflicts. 2023-04-26 16:38:30 -04:00
Dan 4cbf4e456b a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
Dan 85c34de9df run_pyl and a changes to the way we loop through tasks for the interstitial page. 2023-04-26 15:50:14 -04:00
jasquat 09fca807a4 Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 13:58:10 -04:00
jasquat ecee5a795b escape backslashes when inserting variables from env with perl for frontend w/ burnettk 2023-04-26 13:47:27 -04:00
jasquat c10cc5035c allow overriding the backend url on frontend w/ burnettk 2023-04-26 13:31:12 -04:00
jasquat 871d7a73de some more updates for searching w/ burnettk 2023-04-26 13:24:08 -04:00
jasquat dc9b60676a Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 11:16:42 -04:00
jasquat 8ac5f0228f can somewhat search now w/ burnettk 2023-04-26 11:06:01 -04:00
Madhurya Liyanage 66786755f5 Updates related to the new UI changes 2023-04-26 19:54:30 +05:30
jasquat 3984aa16aa attempting to filter process instances with json instead of report filters w/ burnettk 2023-04-25 17:21:38 -04:00
jasquat 04864692b6 added typeahead search for bpmn name and identifier in process instance event list w/ burnettk 2023-04-25 15:30:26 -04:00
jasquat 849232be33 do not iterate over callers if undefined w/ burnettk 2023-04-24 17:06:28 -04:00
Dan 80eabe0eb7 Allow call activities to have instructions for end users, and show up on the interstitial page 2023-04-24 16:41:46 -04:00
jasquat d845745924 also display the process model id in the call activity references modal w/ burnettk 2023-04-24 16:34:16 -04:00
jasquat 60684126af Merge remote-tracking branch 'origin/main' into feature/call-activity-references 2023-04-24 16:17:32 -04:00
jasquat 0446f7c0a5 rename Actions column to Action w/ burnettk 2023-04-24 16:12:08 -04:00
jasquat 882ab451f5 format process instance status strings w/ burnettk 2023-04-24 16:10:45 -04:00
jasquat 7fb5c82bbc give users access to error events if they have access to start a process model w/ burnettk 2023-04-24 15:37:17 -04:00
jasquat ebdefe9f7f make js Task interface act more like ProcessInstanceTask w/ burnettk 2023-04-24 15:01:24 -04:00
jasquat b1f9bbc475 fixed some cypress tests w/ burnettk 2023-04-24 14:40:42 -04:00
burnettk 1a11f5edba Merge remote-tracking branch 'origin/main' into feature/call-activity-references 2023-04-24 13:22:20 -04:00
jasquat 20fa640cf0 add extensions back onto task before returning task show w/ burnettk 2023-04-24 12:58:07 -04:00
Elizabeth Esswein ea5778f269 add modal to display references 2023-04-24 12:21:36 -04:00
jasquat f131196ac8 merged in main and resolved conflicts w/ burnettk 2023-04-24 11:30:27 -04:00
Dan c5cd81975e * Clicking anywhere in the row should take you to the process instance page. 2023-04-23 11:43:25 -04:00
Dan 0468f3beb5 fixing a bit of needless heartbreak. 2023-04-23 11:13:25 -04:00
Dan 02d8a86465 run_pyl 2023-04-22 15:45:20 -04:00
Dan 9a0ef59d93 * Scroll to the top on each update of a process result.
* When displaying an error, scroll to the top of the page.
* Rename a few of the filter titles to better match the titles of the table on the process instances list page.
* Add error_message to the task object - so if a task is in an error state and has a message, we send it to the front end.
* Handle errors on the Interstitial page - so if an error happens during execution it is diplayed, and if an error happened previously, we show it.
* Return the last Errored Tasks if no READY or WAITING tasks exists when calling the Interstitial endpoint.
2023-04-22 15:38:51 -04:00
Elizabeth Esswein 59771d09a3 get callers & pass to diagram editor 2023-04-21 17:22:17 -04:00
jasquat e45adff2e9 some pyl stuff. tests are failing w/ burnettk 2023-04-21 16:32:29 -04:00
jasquat f4af53f1dd Revert "some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk"
This reverts commit f000f47794.
2023-04-21 15:56:32 -04:00
jasquat f000f47794 some updates so task_show no longer needs the processor. i think it mostly works w/ burnettk 2023-04-21 15:54:31 -04:00
jasquat b973ce6186 Merge branch 'main' of github.com:sartography/spiff-arena 2023-04-21 11:21:57 -04:00
jasquat b0d2dc79b8 updated bpmn-js-spiffworkflow for on change on service tasks fix w/ burnettk 2023-04-21 11:21:54 -04:00
Dan 99ab8d3158 minor fixes to the frontend so that he Start button works in all cases and the interstial page's console is not so noisy, and images show up correctly. 2023-04-21 11:21:52 -04:00
Dan Funk 3dca7d2ed4 Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
jasquat 38a9816781 display placeholder date as lowercase only 2023-04-21 09:26:49 -04:00
burnettk da98f876a0 fix placeholder text, etc 2023-04-20 17:26:16 -04:00
Dan 259290846d fallout from recent changes to Main. 2023-04-20 16:55:13 -04:00
jasquat 0988b371ec do not show full group path in process model search and do not attempt to convert a date to ymd if it is already ymd w/ burnettk 2023-04-20 16:11:17 -04:00
Dan a6adb98a19 Merging with main. 2023-04-20 16:06:22 -04:00
jasquat 7251777382 use the correct method when converting time strings in react w/ burnettk 2023-04-20 15:48:36 -04:00
Dan fd4489076f pyl 2023-04-20 15:42:57 -04:00
Dan 5c0e6084ab * Because end events won't always have information, allow the interstitial api endpoint to return the last task, even if it doesn't have any end user information. This prevents us from just redirecting everthing back to the home page and encourages better end event messaging.
* Cleaning up icons so they are a little smaller and more consistent.
* Always show that action column.
* Improve the state managment and layout of the interstitial page.
2023-04-20 15:27:32 -04:00
jasquat 8cc2d56dbd merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 48ff72b00b pass full tasks list to react diagram editor for coloring w/ burnettk 2023-04-20 12:05:35 -04:00
jasquat 1b65a277c4 properly save task and instance exceptions to the db and display in the frontend w/ burnettk 2023-04-20 11:49:34 -04:00
jasquat 08271da363 store stacktrace as a json array so we can reverse it when displaying and fixed up display of errors 2023-04-20 08:31:55 -04:00
jasquat 6fa18c53df some debug stuff 2023-04-20 07:35:39 -04:00
Dan 5b44632af8 don't complain in the CI so much, and go ahead and set dependencies in effect() if it doesn't hurt to do so. 2023-04-19 20:01:34 -04:00
Dan 4040614b22 * add a user section to the acceptance tests, this is all that is required to allow the cypress tests to run against the built-in open-id.
* If the interstitial page does not receive any tasks, it should redirect the main home page.  I think this allows all the cypress tests to pass - as the most common moment for this to occur is when an end event has no documentation on it.
2023-04-19 18:46:08 -04:00
jbirddog ff0202f4d4 Called elements (#218) 2023-04-19 18:07:15 -04:00
Dan a8fd0a246d run pyl. 2023-04-19 17:00:09 -04:00
jasquat b1568fb472 fixed test w/ burnettk 2023-04-19 15:52:11 -04:00
jasquat 9254d19b74 display event errors in the frontend using errorDisplay w/ burnettk 2023-04-19 15:20:19 -04:00
Dan d73baedcbe Merge remote-tracking branch 'origin/main' into feature/interstitial 2023-04-19 15:18:10 -04:00
jasquat 6747d9df3d added api to get error details for an event and added simple modal on frontend to show it 2023-04-19 13:56:00 -04:00
Dan be14b9c05f Add a test for the interstitial endpoint.
Assure all "GO" buttons lead to the interstial page, and display differently depending on if there is anything you can actually do.
2023-04-19 13:52:29 -04:00
Dan 5297e4c9cc Add lock icon 2023-04-18 19:36:45 -04:00
Dan 933ccc02ef make sure we can properly display lanes. 2023-04-18 19:36:31 -04:00
Dan 02e8add28f cleaing up the design a little bit so it looks pretty and in keeping with the rest of the site. 2023-04-18 16:58:59 -04:00
jasquat 584a0df7cb downgrade rjsf to last v5 beta version since the actual release breaks our usage of oneOf w/ burnettk 2023-04-18 15:19:16 -04:00
jasquat 1b9e867d5d log filtering is working and downgraded react-router-dom since it broke editing bpmn diagrams w/ burnettk 2023-04-18 12:36:45 -04:00
jasquat 3c3dd6000c merged in main and resolved conflicts w/ burnettk 2023-04-18 11:04:44 -04:00
jasquat 8d1aaec641 Merge pull request #215 from sartography/feature/update_carbon_react
updated carbon react to 1.27 for react 18 support and updated all oth…
2023-04-18 10:58:36 -04:00
Madhurya Liyanage 56ac6e0d30 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-18 19:59:39 +05:30
Madhurya Liyanage a6a86690f0 Updates to match the PP1 process/UI changes 2023-04-18 19:58:32 +05:30
jasquat 541da76193 updated missing columns on homepage to go to instance page and fixed waiting for me table returning incorrect tasks 2023-04-18 10:27:38 -04:00
jasquat be15c01b2e added api to get task types and added combo box w/ burnettk 2023-04-17 17:26:05 -04:00
jasquat f6a0fd2448 updated carbon react to 1.27 for react 18 support and updated all other libraries for it w/ burnettk 2023-04-17 16:25:10 -04:00
Dan 47a3332ed3 Assure we save after every chunk of tasks get completed on the interstital endpoint.
Fix a merge screwup in the workflow execution service
Add an instructions for end user component so we can reuse the logic in multiple places.
Split up the intersitital page so that it clears out the interval timer.
2023-04-17 14:43:30 -04:00
jasquat 2caa42700c some more log stuff using debounce w/ burnettk 2023-04-17 11:08:00 -04:00
Dan 19d4fb9981 Add the new process insterstitial to the frontend. 2023-04-14 15:49:06 -04:00
Dan 8a6426efec drop completed_tasks from the task_api object
Show the "next" task if no task is provided on the task_show api endpoint
Adding interstitial endpoint
Rename run to run_and_save
Remove repeated code from execution strategy
Adding interstital frontend page
2023-04-14 15:44:59 -04:00
jasquat 1768618f27 attempting to move filters from instance table to own component 2023-04-14 15:42:01 -04:00
jasquat a2130ec1d2 fix cypress tests 2023-04-14 10:00:06 -04:00
jasquat 03b30ec7ec Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-14 09:20:30 -04:00
Elizabeth Esswein e21d264756 Merge pull request #211 from sartography/feature/process-map-enhancements
Feature/process map enhancements
2023-04-13 18:47:04 -04:00
jasquat 4a96b56aec stop refreshing homepage if unauthorized w/ burnettk 2023-04-13 17:09:36 -04:00
jasquat c9785b2c34 pyl and turn back on autoreload for homepage w/ burnettk 2023-04-13 16:56:49 -04:00
jasquat fd25bb64d7 updated text on home page w/ burnettk 2023-04-13 16:36:46 -04:00
jasquat 700c2d9ef5 Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-13 14:12:14 -04:00
jasquat 5d1dc716fd displaying process instances instead of tasks functionality is mostly complete. still need to update text on homepage and some cleanup 2023-04-13 14:12:09 -04:00
burnettk cad1cf62a7 bump timeout and use new process name 2023-04-13 12:38:55 -04:00
jasquat 17e266f9ee updated all instance reports for the in progress instances page 2023-04-13 07:42:41 -04:00
jasquat 7a566d2314 display the date in a react json schema form like the config but change it to y-m-d for processing w/ burnettk 2023-04-12 15:49:54 -04:00
jasquat a5fa3f8cde some initial work for home page refactor w/ burnettk 2023-04-12 14:32:34 -04:00
Elizabeth Esswein 234c533816 add coloring for cancelled tasks 2023-04-12 13:51:29 -04:00
jasquat 28f8a810ca use correct date format in date picker on form page. w/ burnettk 2023-04-12 12:45:37 -04:00
jasquat 9802716f19 show model display to the left of the identifier in process model search box w/ burnettk 2023-04-12 11:30:25 -04:00
jasquat cafc7209a0 allow setting date format using an env var at boot time w/ burnettk 2023-04-11 17:25:46 -04:00
Kevin Burnett 3f204eaa2b Merge pull request #208 from sartography/feature/prometheus-metrics
Feature/prometheus metrics
2023-04-11 19:51:35 +00:00
jasquat f54381fb10 removed some debug info w/ burnettk 2023-04-11 15:50:42 -04:00
jasquat f00b2e9f7d added script to build frontend so it can add version info to the index.html file w/ burnettk 2023-04-11 15:48:34 -04:00
jbirddog 674169e3f4 Disable buttons based on permissions (#209) 2023-04-11 14:38:41 -04:00
jasquat 454528d55b attempt to get version info in frontend w/ burnettk 2023-04-07 16:30:44 -04:00
jasquat 3c0b0833b0 updated bpmn-js-spiffworkflow for on change fix w/ burnettk 2023-04-07 12:03:01 -04:00
burnettk 07337cd7b8 get in line with new wording 2023-04-06 18:01:23 -04:00
jasquat 3111195f78 updated pilot tests w/ burnettk 2023-04-06 12:06:05 -04:00
jasquat 649d454bc0 moved NDR_PP1 tests to pilot dir and default configs back to what they were w/ burnettk 2023-04-06 11:42:24 -04:00
jasquat 0e14f3e568 Merge remote-tracking branch 'origin/main' into feature/store_boundary_events_properly 2023-04-06 11:28:31 -04:00
jasquat 2c1433544f Merge remote-tracking branch 'origin/main' into feature/store_boundary_events_properly 2023-04-06 11:23:11 -04:00
Madhurya Liyanage 07dacdff99 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-06 20:17:13 +05:30