Commit Graph

1325 Commits

Author SHA1 Message Date
Dan 9aafe7dad6 run pyl 2023-04-23 12:27:40 -04:00
Dan 59bf136864 * Was doing things a bit out of order - so we weren't always displaying messages as we should have on the interstitial page.
* Do a better job of catching all the error messages when they happen.
2023-04-23 12:22:43 -04:00
Dan c8c74dded9 run_pyl 2023-04-23 11:46:29 -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
burnettk 8070f51b1e fix lint 2023-04-21 18:20:07 -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 e6f875d904 set buffering header to no for interstitial page response. w/ burnettk danfunk 2023-04-21 11:03:53 -04:00
jasquat 98ec512680 pyl 2023-04-21 09:32:22 -04:00
Dan Funk 3dca7d2ed4 Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
burnettk 8e9c6cdf3f fixing TypeError: type of value sent to generator must be str 2023-04-20 23:16:45 -04:00
burnettk 2760319a52 lint 2023-04-20 18:25:44 -04:00
burnettk 5d6ddf96b5 add test to ensure your database is case sensitive 2023-04-20 17:43:11 -04:00
Dan 3d235e0c8e Fixing formatting? 2023-04-20 17:05:05 -04:00
Dan 259290846d fallout from recent changes to Main. 2023-04-20 16:55:13 -04:00
Dan a6adb98a19 Merging with main. 2023-04-20 16:06:22 -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 e7f0bbbce6 fixed sqlalchemy warning w/ burnettk 2023-04-20 15:00:12 -04:00
jasquat 2dc3b0a76e updated SpiffWorkflow w/ burnettk 2023-04-20 14:49:34 -04:00
jasquat 8cc2d56dbd merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 92c21f2c11 fixed tests and added test to ensure we are saving error events to the db on error w/ burnettk 2023-04-20 13:32:45 -04:00
jasquat f082f0966c flake8 and mypy fixes w/ burnettk 2023-04-20 13:01:05 -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 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
Dan 0244d58613 getting all the tests to pass. 2023-04-19 15:13:00 -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
jasquat 320d1b4083 store process instance errors in the db w/ burnettk 2023-04-19 11:24:54 -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 6e931470d2 updated SpiffWorkflow w/ burnettk 2023-04-18 15:24:29 -04:00
jasquat 349c2abd84 fixed broken test w/ burnettk 2023-04-18 12:41:39 -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 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 3b91f0767e Merge remote-tracking branch 'origin/main' into feature/log_filters 2023-04-17 16:41:06 -04:00
burnettk 8032e1f419 ignore annoying logger with useless output 2023-04-17 16:40:51 -04:00
jasquat 971b69ffb3 Merge remote-tracking branch 'origin/main' into feature/log_filters 2023-04-17 16:29:58 -04:00
jasquat 8fe98812fc try to make single process hash unique within full process model hash 2023-04-17 15:42:58 -04:00
jbirddog 1dd445de68 spiff-element-units integration (#214) 2023-04-17 14:49:38 -04:00