Commit Graph

841 Commits

Author SHA1 Message Date
jasquat 92d77f3a51 allow getting all process models, process instances should not save when they are initialized, and fixed some cypress tests w/ burnettk 2022-11-21 14:12:04 -05:00
burnettk dfa44fbb14 iterating on cypress 2022-11-21 10:31:11 -05:00
burnettk bba1497cf7 fix cypress tests 2022-11-20 21:28:23 -05:00
jbirddog 07614abbc1 Frontend label changes (#54) 2022-11-20 14:53:27 -05:00
jasquat 66947160ab added some more widget types to the form builder. w/ burnettk 2022-11-19 20:55:27 -05:00
jasquat 90a9f23339 added basic form builder. w/ burnettk 2022-11-19 19:44:21 -05:00
jasquat 2bacbd3cbe pass the the correct model to id on create 2022-11-19 17:18:46 -05:00
jasquat d51db5cf99 removed tabs from taskshow page w/ burnettk cullerton 2022-11-18 17:10:34 -05:00
jasquat e04921493f fixed some of the form widgets w/ burnettk cullerton 2022-11-18 17:05:01 -05:00
jasquat aa54abb7db Merge branch 'main' of github.com:sartography/spiff-arena 2022-11-18 16:40:53 -05:00
jasquat 7b21ff4eec added create new instance page and moved model run to a component w/ burnettk cullerton 2022-11-18 16:40:49 -05:00
mike cullerton e29eaab76e Merge branch 'main' into update-workflow-json 2022-11-18 15:56:27 -05:00
jasquat ea61d7819d fixed eslint issues w/ burnettk 2022-11-18 15:25:04 -05:00
jasquat e2cfe5cb8a ran some pyl w/ burnettk cullerton 2022-11-18 15:06:02 -05:00
jasquat 2464df4b81 load diagram page even if processes are not set w/ burnettk cullerton 2022-11-18 15:01:41 -05:00
jasquat a795514570 moved model delete button to show page as an icon w/ burnettk 2022-11-18 14:36:54 -05:00
jasquat 128993d255 moved group list tiles to component and use on group show page w/ burnettk 2022-11-18 13:57:40 -05:00
jasquat d393683794 display groups as tiles on list page w/ burnettk 2022-11-18 12:42:08 -05:00
Elizabeth Esswein 0da658c42d add simple refresh capability 2022-11-17 22:52:26 -05:00
burnettk 68130b216d upgrades 2022-11-17 17:45:17 -05:00
jasquat 6607bb6a8d hide messages and configuration if not authorized w/ burnettk 2022-11-17 17:30:51 -05:00
jasquat c744dd8867 default time to midnight if it is null when filtering w/ burnettk 2022-11-17 16:47:29 -05:00
jasquat 4a9e4c820c Merge pull request #48 from sartography/feature/add_times_to_instance_filter
Feature/add times to instance filter
2022-11-17 16:38:32 -05:00
jasquat ce74b07bc4 added back the useEffect for report filtering w/ burnettk 2022-11-17 16:36:38 -05:00
jasquat 82598a9e7e times on instance list table are working now w/ burnettk 2022-11-17 16:05:54 -05:00
jasquat f49d76429e attempting to use date objects as the date states w/ burnettk 2022-11-17 15:03:11 -05:00
burnettk e3afd40b12 oops, just for one column 2022-11-17 13:51:02 -05:00
burnettk 80371d0574 just use the word id in the header and add tooltip 2022-11-17 13:48:11 -05:00
jasquat 9f2d524447 a little cleanup to forms w/ burnettk 2022-11-17 11:52:57 -05:00
burnettk 89233fda59 remove br since it felt like too much margin 2022-11-17 09:29:20 -05:00
burnettk 5786900228 revert to working mui radio 2022-11-16 22:50:19 -05:00
burnettk e449bc351c notes about validation issue 2022-11-16 18:26:35 -05:00
burnettk 60aeaee91d add inline errors 2022-11-16 18:16:55 -05:00
jasquat 7bd3ead772 Merge pull request #45 from sartography/feature/form_carbon_theme
Feature/form carbon theme
2022-11-16 17:14:21 -05:00
jasquat 17e6605306 fixed error messaging a little bit for forms w/ burnettk cullerton 2022-11-16 17:12:01 -05:00
Dan Funk 1ec6a1922a Merge pull request #43 from sartography/send_filters
Send filters used in process_instance_list to the front end
2022-11-16 17:11:20 -05:00
Dan b7d669a394 Searching for call activities seems to be working now.
I had the clear_caches in the wrong place previously - fixing.
2022-11-16 16:53:51 -05:00
Jon Herron b67cec85fc Pre-pr cleanup 2022-11-16 16:40:35 -05:00
Jon Herron f07bf182e5 lint 2022-11-16 16:31:58 -05:00
Jon Herron 5f6bb4a0f8 Clear/remove filter works 2022-11-16 16:25:19 -05:00
jasquat 498292d354 some updates for the carbon form theme w/ burnettk cullerton 2022-11-16 16:09:48 -05:00
jasquat f7aa497aa6 added eslintignore file to ignore carbon theme for now w/ burnettk cullerton 2022-11-16 15:45:54 -05:00
jasquat 87802a60b3 added radio buttons w/ burnettk cullerton 2022-11-16 15:43:11 -05:00
Dan 69f55a07bd Minor tweak, in the hopes of getting a text box to update correctly. 2022-11-16 15:36:12 -05:00
Jon Herron c1813d4ef7 Add flag to indicate if user filtered 2022-11-16 15:02:33 -05:00
jasquat 1b175e65b1 specify onRequestClose on modals w/ burnettk cullerton 2022-11-16 14:55:36 -05:00
jasquat a6680b6768 updated a couple form components to work with carbon w/ burnettk cullerton 2022-11-16 14:46:04 -05:00
jasquat 625b0dd27f support ts and js for lint and format commands w/ burnettk cullerton 2022-11-16 14:02:46 -05:00
jasquat 95442a03cf copied mui theme to use as base for carbon theme w/ burnettk cullerton 2022-11-16 13:59:09 -05:00
jasquat ddce5fcec1 theme working with mui from the internet w/ burnettk cullerton 2022-11-16 13:52:44 -05:00
Jon Herron 502ebac7bd Merge branch 'main' of github.com:sartography/spiff-arena into send_filters 2022-11-16 13:52:03 -05:00
Jon Herron 4f9849a71f Set process model from filter 2022-11-16 13:51:24 -05:00
jasquat 7707c042da attempting to add a theme w/ burnettk cullerton 2022-11-16 13:35:55 -05:00
jasquat 31b5e5ec1e added lint fix for frontend to pyl w/ burnettk cullerton 2022-11-16 13:03:59 -05:00
jasquat ab89f905f0 added development permission for test user w/ burnettk cullerton 2022-11-16 12:57:17 -05:00
Jon Herron ba2e89a3a3 Set status from filters 2022-11-16 11:45:34 -05:00
jasquat ac2064252e added some permissions for tasks 2022-11-16 11:27:10 -05:00
Jon Herron 6d6329a91b Set date filters from response 2022-11-16 10:50:47 -05:00
burnettk dfe267caaa docs 2022-11-15 22:36:21 -05:00
burnettk 19c7ae3275 add cypress grep 2022-11-15 22:34:28 -05:00
jasquat d93a1c910f added some permissions to the process model show page w/ burnettk 2022-11-15 17:35:16 -05:00
jasquat 7cd4f43ad9 use id_for_file_path when using the process model id as a path for windows and added some more permission stuff to the frontend w/ burnettk 2022-11-15 16:18:25 -05:00
jasquat 92a37b61de added permission service to frontend to allow checking for permissions w/ burnettk 2022-11-15 14:40:35 -05:00
jasquat 5a46883d34 fixed linting issues w/ burnettk 2022-11-15 11:05:07 -05:00
jasquat e945439841 added configuration nav item to help reduce nav items w/ burnettk 2022-11-15 11:00:52 -05:00
jbirddog 46e159560e Navigate to my task (#35) 2022-11-15 10:52:39 -05:00
Kevin Burnett 965ab3d5d3 Merge pull request #36 from sartography/feature/call_activity_selection
Feature/call activity selection
2022-11-15 15:51:40 +00:00
Dan a9df1ed23f Merge remote-tracking branch 'origin/main' into feature/call_activity_selection 2022-11-15 09:55:02 -05:00
jasquat 3e4c669167 some minor updates to model show page w/ burnettk 2022-11-15 09:32:22 -05:00
jasquat b9e7b5271e more refactoring for process instance list w/ burnettk 2022-11-14 17:35:04 -05:00
jasquat 0499a3970e turned the table list route into a table component w/ burnettk 2022-11-14 17:00:28 -05:00
jasquat e6db091ba1 refactored pagination table to allow prefixing page options w/ burnettk 2022-11-14 16:29:04 -05:00
Dan d740518e75 Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -05:00
jasquat fcccbdc845 added remaining task tables w/ burnettk 2022-11-14 12:06:39 -05:00
jasquat 79537645ee added message correlations to message instance list api call w/ burnettk 2022-11-14 10:14:00 -05:00
burnettk b76f0e712f i think this is not always truthy, eslint 2022-11-13 18:41:03 -05:00
burnettk 340821b77a open accordion by default per feedback 2022-11-11 22:21:33 -05:00
burnettk 7ecb89d1c4 dedup 2022-11-11 22:15:39 -05:00
burnettk f89b8bdda2 fix a couple tests 2022-11-11 22:12:35 -05:00
burnettk 4cbdc5f8d9 Merge remote-tracking branch 'origin/main' into feature/home_page_redesign 2022-11-11 18:09:03 -05:00
burnettk cd3bb9fb28 lint 2022-11-11 17:20:45 -05:00
jasquat 4dd121fac7 add the username to the task list w/ burnettk 2022-11-11 17:15:38 -05:00
jasquat 43cbcf7924 added more task tables w/ burnettk 2022-11-11 16:31:48 -05:00
jasquat 2d21bd50d2 added tasks for my open processes page w/ burnettk 2022-11-11 11:07:21 -05:00
jasquat 57ec4a31fc some more task tab play 2022-11-11 10:28:08 -05:00
jasquat d3eb7ffdb2 Merge remote-tracking branch 'origin/main' into feature/home_page_redesign 2022-11-11 09:31:57 -05:00
jbirddog a089626d28 Report URL fixes (#29) 2022-11-11 09:21:30 -05:00
mike cullerton 3cf379e18b get pagination for groups 2022-11-11 08:06:05 -05:00
jasquat 0f5d2855d4 added home page routes and some tab stuff w/ burnettk 2022-11-10 17:30:27 -05:00
mike cullerton 2e7a605149 Merge branch 'main' into feature/nested-groups-2
# Conflicts:
#	spiffworkflow-frontend/src/routes/ProcessGroupShow.tsx
2022-11-10 16:50:11 -05:00
jasquat 8ae9179a64 use error as a status instead of faulted w/ burnettk 2022-11-10 15:55:17 -05:00
jasquat 1bd671fe3c favor h1 tags over h2 w/ burnettk 2022-11-10 15:46:57 -05:00
jasquat 427973a4aa fixed up the process instance show page and moved contents of scss to css file and load that last w/ burnettk 2022-11-10 15:44:58 -05:00
burnettk db820623a1 fix lint 2022-11-10 14:32:39 -05:00
Dan 5c702225e1 Assure we are using the latest bpmn-js-spiffworkflow library. 2022-11-10 13:38:28 -05:00
mike cullerton 03492c94c8 Use the modify method 2022-11-10 12:47:45 -05:00
Dan 33ed3b7347 Minor fixes for the launch buttons. 2022-11-10 12:31:26 -05:00
jasquat e3d988d386 moved usage of ProcessBreadcrumb to use hotCrumbs except for report pages 2022-11-10 11:37:41 -05:00
jasquat a29f267b3d cleaned up breadcrumbs some more and cleaned up console.log statements 2022-11-10 09:13:27 -05:00
jasquat fcd5b431e2 support process-groups in breadcrumb component 2022-11-10 08:42:40 -05:00
burnettk c6325303d4 add breadcrumb to instances page sometimes 2022-11-09 22:55:14 -05:00
burnettk 27c5db2339 fix recent process models, at least after they visit process model show page 2022-11-09 22:24:16 -05:00
burnettk 1a060cb213 make Files half-width and add link to file 2022-11-09 21:24:51 -05:00
burnettk d708c5a4f7 lint 2022-11-09 17:48:50 -05:00
jasquat 49187a32fa Merge commit '7a36189cbf9db07b735903625b23ea23b9fa8de7' 2022-11-09 17:30:49 -05:00
jasquat c92dde4da4 pass in perm file for acceptance tests w/ burnettk 2022-11-09 17:30:33 -05:00
mike cullerton a759d06b83 Merge branch 'main' into feature/nested-groups-2 2022-11-09 17:02:40 -05:00
jasquat c3a57c7c89 Merge commit 'd1f95114f860d4e84f36a694edf4b700cfdc1062' 2022-11-09 17:01:21 -05:00
mike cullerton b0d673ac37 Merge branch 'main' into feature/nested-groups-2
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py
#	spiffworkflow-frontend/src/components/ProcessModelForm.tsx
#	spiffworkflow-frontend/src/helpers.tsx
2022-11-09 16:49:15 -05:00
mike cullerton 21b6c947a8 Nested group UI stuff 2022-11-09 15:45:45 -05:00
jasquat 22ad31300a merged in and recsovled conflicts of frontend tree w/ burnettk 2022-11-09 15:03:43 -05:00
jasquat 3c737678c5 Merge branch 'main' of github.com:sartography/spiff-arena 2022-11-09 14:51:26 -05:00
jasquat c1c95aafa5 process instance cypress tests pass now w/ burnettk 2022-11-09 14:51:22 -05:00
burnettk bd57ad29b9 fix breadcrumb 2022-11-09 13:19:01 -05:00
Dan Funk 97ef915944 Merge pull request #28 from sartography/bug/browser_lock_on_dmn_selection
Bug/browser lock on dmn selection
2022-11-09 13:10:36 -05:00
jasquat cb8ea4d966 one instance test left for cypress w/ burnettk 2022-11-09 12:33:43 -05:00
burnettk e37ae5945d kill a few consoles 2022-11-09 12:09:23 -05:00
Dan 1423fe4c84 fixing up routes for launching editor.
Also some fixes in the bpmn-js-spiffworkflow to avoid locking up the browser if no files are available.
2022-11-09 12:03:55 -05:00
jasquat afa8aae60e process model cypress tests are passing 2022-11-09 10:12:13 -05:00
burnettk 34ec5b894a camelcase 2022-11-09 09:18:01 -05:00
burnettk 2cda810a04 fix process model create and a couple tests, docker build refactor 2022-11-08 22:36:39 -05:00
jasquat 0e31ff2be4 fixed lint issue w/ burnettk cullerton 2022-11-08 18:05:17 -05:00
jasquat 1029b36a1b merged in main and resolved conflicts w/ burnettk cullerton 2022-11-08 17:49:23 -05:00
jasquat 06e5d05d51 fixed some acceptance tests w/ burnettk cullerton 2022-11-08 17:20:17 -05:00
jasquat e8ae76958e updated breadcrumbs to work with new process models ids w/ burnettk cullerton 2022-11-08 16:00:44 -05:00
jasquat b50db8999e made a process model form w/ burnettk 2022-11-08 14:31:24 -05:00
mike cullerton b646fa98bd Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/api.yml
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_instance_report.py
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_spec_file_service.py
#	spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx
#	spiffworkflow-frontend/src/routes/ProcessInstanceReportList.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelShow.tsx
2022-11-08 14:09:03 -05:00
burnettk 124d4e2eb0 lint 2022-11-08 12:50:39 -05:00
jasquat 5659ac7104 return next task when running an instance w/ burnettk 2022-11-08 12:35:45 -05:00
mike cullerton 46ea75860e More frontend changes 2022-11-08 12:33:21 -05:00
jasquat 479ea8a208 process model show page lists files as accordion with action icons w/ burnettk 2022-11-08 12:08:18 -05:00
jasquat c338ff0bc2 Merge remote-tracking branch 'origin/main' into feature/carbon_process_model_show 2022-11-08 09:51:02 -05:00
jasquat dddb151bca some minor chnages to prepare for chnaging actions dropdown to buttons 2022-11-08 09:50:58 -05:00
jbirddog 8b47cf49fb First pass at custom report/perspective for Process Instance List (#23) 2022-11-08 09:26:42 -05:00
jasquat ceae23559f change action dropdown direction based on if it is the last one or not 2022-11-08 09:00:51 -05:00
burnettk 7bdc052053 add back run and edit and add actions menu 2022-11-07 18:37:46 -05:00
jasquat 9a83f1c486 added a table for files w/ burnettk 2022-11-07 17:41:35 -05:00
jasquat ff7322f0b8 updated process modal show page to use accordion component w/ burnettk 2022-11-07 17:32:29 -05:00
mike cullerton 7902979cf0 First stab at fixing routes and urls 2022-11-07 17:22:46 -05:00
jasquat b58e5be583 Merge remote-tracking branch 'origin/main' into feature/carbon_process_model_show 2022-11-07 14:38:50 -05:00
Dan 9e5e4688b8 Merge commit '44e49e6ae6a1f644162489a27618c39194f4628d' into main 2022-11-07 14:35:49 -05:00
Dan bce6995439 update gitignore. 2022-11-07 14:35:13 -05:00
jasquat 010e106db4 updated the breadcrumb component and added a test for buttons in file dropdown 2022-11-07 14:23:19 -05:00
burnettk 9f3ff6bda4 explicit themes 2022-11-07 10:10:47 -05:00
burnettk d9762a585f add nav items so people can get everywhere 2022-11-06 13:24:12 -05:00
burnettk aef3c2e8d9 theme header 2022-11-04 22:44:38 -04:00
burnettk cc38022358 it would be nice to know which command is failing 2022-11-04 19:04:59 -04:00
burnettk 11eba6b2ef do not chew all memory 2022-11-04 19:03:53 -04:00
burnettk 921fc04d29 Merge remote-tracking branch 'origin/main' into feature/carbon_ui 2022-11-04 18:33:07 -04:00
burnettk 30f0ce92a3 remove garbage css rule 2022-11-04 18:30:45 -04:00
burnettk d65b6bdfd3 Stack direction to orientation 2022-11-04 18:27:10 -04:00
burnettk c75220b6f6 fix last modal 2022-11-04 18:18:28 -04:00
burnettk 703e967ea0 lint 2022-11-04 18:02:09 -04:00
burnettk 4079c75b34 fix label and comment artificial slowdown 2022-11-04 17:37:32 -04:00
burnettk 05ada1591d unhardcode 2022-11-04 17:21:25 -04:00
burnettk a346df8059 fix a few tests 2022-11-04 17:14:48 -04:00
jasquat b165608430 instances tests are mostly passing, issues with table resizing on the list w/ burnettk 2022-11-04 15:07:40 -04:00
jasquat 5b2264b7f8 process model cypress tests are passing w/ burnettk 2022-11-04 12:48:05 -04:00
jasquat 8a7a7f3de2 process group cypress tests are passing w/ burnettk 2022-11-04 12:20:55 -04:00
jasquat 57cc5f732b pyl is passing w/ burnettk 2022-11-04 11:03:40 -04:00
jbirddog c1dfd3d642 Change steps when viewing a process instance model (#18) 2022-11-03 18:57:26 -04:00
jasquat 7fffa650b0 some more updates for group forms w/ burnettk 2022-11-03 15:55:50 -04:00
jasquat f0cc086e09 added search bar on process groups page w/ burnettk 2022-11-02 17:16:41 -04:00
jasquat 2936a3a826 added login_logout buttons w/ burnettk 2022-11-02 16:02:43 -04:00
Jon Herron 7f40246508 Prettier 2022-11-02 15:21:51 -04:00
jasquat 0365c699d8 finished process instance list filter w/ burnettk 2022-11-02 14:54:02 -04:00
jbirddog 09ac38291e From the logs, allow viewing a diagram in a previous state (#15)
Co-authored-by: Elizabeth Esswein <elizabeth.esswein@gmail.com>
2022-11-02 14:34:59 -04:00
jasquat 74976ec6df add date ranges for process instances search w/ burnettk 2022-11-02 12:42:49 -04:00
jasquat d0e56a2ea1 a simple date picker w/ burnettk 2022-11-01 17:30:55 -04:00
jasquat e199835079 filter is working for status and process model w/ burnettk 2022-11-01 17:00:59 -04:00
jasquat 3f8da5a568 process instance list page is mostly set up now w/ burnettk 2022-11-01 16:26:24 -04:00
jasquat 9bbf40a985 merged in main and resolved conflicts w/ burnettk 2022-11-01 10:50:50 -04:00
jasquat 6c04a05834 updated bpmn-js-spiffworkflow w/ burnettk danfunk 2022-10-31 17:18:47 -04:00
jasquat 130f74daa5 cleaned up some frontend code and put back logic for script unit tests w/ burnettk danfunk 2022-10-31 16:58:10 -04:00
jasquat 37fbb1c6f0 using new bpmn-js-spiffworkflow for python scripts w/ burnettk danfunk 2022-10-31 16:51:27 -04:00
jasquat 15035c5a4a some more changes... navigation bar is broken due to header container w/ burnettk 2022-10-31 16:03:14 -04:00
jasquat c90992b03c many things have been switched to carbon and the home page loads w/ burnettk 2022-10-31 15:09:21 -04:00
jasquat 80744018ec added carbon react package w/ burnettk 2022-10-31 14:50:19 -04:00
jasquat 93526cadfd added script to get the process info and do not set error message when a task fails from the frontend w/ burnettk 2022-10-28 16:46:09 -04:00
jbirddog 46446030ff Front end changes to allow editing task data (#4)
Co-authored-by: mike cullerton <michaelc@cullerton.com>
2022-10-27 10:58:22 -04:00
jbirddog 5af593e8af Pause/resume process instances (#2)
Collab with @cullerton
2022-10-20 16:44:08 -04:00
burnettk a37236563d Merge commit '5adbec7e67d36fd582fc01da083e531ff0925b9e' 2022-10-19 16:48:28 -04:00
burnettk 0d9aabcee4 Merge commit '2a5690772af8fcd121b257dd0b0ba606c57be47a' 2022-10-19 15:25:27 -04:00
burnettk aa4d7d75d4 Merge commit 'f930f96d1b389e239d05e865afe4db339cb49cbf' 2022-10-19 15:17:20 -04:00
jasquat b0cb6bb435 Merge commit '75729ba3df3a8e1eccbae237d96efa7f17f72b26' 2022-10-18 16:41:13 -04:00
burnettk efb162bcd5 Merge commit '8d86fe710d083e1d5b2f031ddcf3443b044785e3' 2022-10-17 17:18:24 -04:00
Jon Herron 3803b835c2 Merge commit 'a087961fab0d73cc54f9cae658e9eb50ab060f96' 2022-10-13 20:45:09 -04:00
Jon Herron 15ace6d680 CI fixes 2022-10-12 15:44:20 -04:00
Jon Herron e0f235ca6e Merge main, resolve conflicts 2022-10-12 15:35:34 -04:00
Dan 8af5e7ed93 Updaging the jinja processing so it doesn't leave a bunch of blank lines in the markdown that has strong feelings about white space. Updating the front end to render markdown formatted instructions. And adding a little css love to tables that are generated in Markdown. 2022-10-12 13:28:57 -04:00
Jon Herron d3efb6cfb9 Merge commit '2382c3f0ab9502dddb9a3f6a8b32981f92bedc18' as 'spiffworkflow-frontend' 2022-10-12 10:21:49 -04:00