Commit Graph

6 Commits

Author SHA1 Message Date
burnettk ce1e54dced Squashed 'spiffworkflow-frontend/' changes from f099c181..c22d22ba
c22d22ba logs list page should respect the for-me variant
dcc3e3b1 show help text for textareas as well w/ burnettk
35b8bf35 default to the for-me path on process instance show page links
da646e54 added support to validate custom errors in nested properties in json schema forms
17412e9d make it so the message at the top of form is never strictly wrong
7dea59b7 adding some padding to form text inputs w/ burnettk
3f92f492 added ability to display the environment in the frontend header bar w/ burnettk
85246120 put the env vars in the env section of the github action configs w/ burnettk
58ff9075 added test for quickstart guide w/ burnettk
03e725b0 corrected cypress env var
db755731 added some support for using the backend openid server for cypress tests w/ burnettk
e76b6429 anything in the Tasks waiting for me table can now be completed by the current user
56403b4c users can always complete tasks on process instance show page and on task group table on home page w/ burnettk
e2ab6eff avoid endless redirects on error on authentication list page w/ burnettk
66608837 bug fix
4781d5fc link to the spiff step from a task on the frontend and use the correct db in ci
69eb426c pyl w/ burnettk
3cf036b0 call activities are also working w/ burnettk
40b101a7 add assertions so this fails fast if anything changes in the future
74d2d3fa Update README.md
24c3c431 fix formatting
ed977079 document runtime config
e62427b9 do not fail if SPIFFWORKFLOW_FRONTEND_RUNTIME_CONFIG is missing
551bdf17 allow setting configs for the frontend through env vars w/ burnettk
bc91c62c Merge remote-tracking branch 'origin/main' into frontend/use-api-subpath
eeab0d0f Use the same markdown library for displaying as for editing - could enable a security plugin, but doing so would prevent BPMN developers from using the Sub and Sup markdown supported by GitHub.
28d6f75c When searching for human tasks to determine if the current user can complete it, filter on the "completed" flag.
34b36fe2 put setDisabled back in the awkward place since i was seeing the subsequent form stay disabled
4794a8cd Merge branch 'main' of github.com:sartography/spiff-arena into main
78b9ef73 Fix that dreadful unknown "KeyError" exception that was cropping up. Adding a bit of detail to the spiffworkflow exceptions when a duplicate process model is found. Disable the submit button on tasks after you click submit (avoid the double click and give users a better experience)
d854a122 Merge pull request #125 from sartography/feature/dynamically-hide-fields-w-task-data
eda73854 make form schema and form ui schema both dicts, add support for hiding fields based on task data
bda549f3 Prevent double click on submit of forms.
3f02fa80 try to improve exception handling by avoiding raising ApiError from services
06835267 remove duplicate label on radio buttons
5d1e3517 less annoying file name for autocomplete
c569acde frontend: use /api subpath instead of subdomain
d3dda548 add deps for serve
e6173efe Revert "revert Dockerfile until we get it working"
74103b97 revert Dockerfile until we get it working
8e9badd3 get bin as well for script
df7a97e6 Merge pull request #116 from sartography/frontend/improve-dockerfile
7a17bc6f remove unneeded divs
2cf58c24 IBM says you can't have more columns than your parents, even if you try to start another grid, with kburnett
abc85ee3 make task show wide, and make repeating form icons match site styles. w/ dfunk
6400827e even textareas need to have blank labels since labels are in FieldTemplate
462852d6 replace fieldTemplate with unthemed core version and remove labels since that is handled in there
a50dd004 wrap field template so we can style with margin bottom
e6a1ca97 new mechanism to handle help more in line with how carbon works
cb6ce6b4 frontend: avoid redundant steps in Dockerfile
b6b7ceeb we were expecting an object when doing this check, so codify it
cfcfe292 use the 403 response to tell if a user has access to task data on the task show page w/ burnettk
355406e2 do not reset error state from the adminroutes component since this causes the error to be removed right away and then cannot be displayed w/ burnettk
3e7962cf if we get a result back it will be a task with a model identifier
0f043f72 use the ProcessInstanceTask interface where we can and move some stuff around better for useEffect
4ee4e5e0 run_pyl had various recommendations that I find a bit of a pain in the butt, but that I did anyway.
84e7d3fa Merge remote-tracking branch 'origin/main' into feature/jinja_errors
acbc0a07 Added useMemo to error context No longer clear errors in the task bar, as that will constantly remove them as soon as they are shown.
19c3ab0e 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.
c37224ec added the process model identifier for the diagram if it is not the top level w/ burnettk
befefb6d Merge pull request #107 from sartography/feature/metadata_on_instance_show
65e42110 use a modal for metadata instead w/ burnettk
4a2f2a00 put process instance show page to match main w/ burnettk
0f1ab490 do not allow deleting primary bpmn file and do not allow instantiating models without a primary bpmn file w/ burnettk
3718f1a3 show metadata on instance show page but for some reason it reorders elements w/ burnettk
400a1469 add process model file name validation for new files w/ burnettk
132c5814 added locking system for process instances so hopefully background jobs will not take instances currently being run by the user w/ burnettk
3fa86949 make sure that all new form field elements are not dropdowns
f69d3416 expanded functionality of the form builder
2453938f use the correct place for keycloak w/ burnettk
3d85a5f6 Merges
50d0a8e3 Lots of adjustments from running pyl Main change is in the ErrorDisplay.tsx to assure all error information is provided. and index.css to make it "pretty"

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: c22d22ba5d8a96dca66a405d9c230284c81b4740
2023-02-23 10:49:57 -05:00
jasquat f612f26dd2 Squashed 'spiffworkflow-frontend/' changes from d012f3a2c..f099c181a
f099c181a added script to add test keycloak users and moved all keycloak stuff to keycloak directory w/ burnettk
fc2ee7bc3 show start events in logs as well and added bpmn process identifiers to log table w/ burnettk
261b992b0 upgrade certifi to fix security vulnerability
94f785c7f do not navigate away from diagram editor page if there are changes w/ burnettk
4d16ad34e added End Event to simple log view w/ burnettk
d9f9a316d only show milestones for simple log view w/ burnettk
a3195fe1b fix lint issues
ff3fd9bc3 remove jsonpath
29b1dba9a added proof of concept to validate date fields in json schema form w/ burnettk
201dbebf2 fixed cypress tests
e2bedfd94 Merge branch 'main' of github.com:sartography/spiff-arena
990ccc119 added ability to add in custom validation error messages for text input fields w/ burnettk
94f31579a Merge pull request #102 from sartography/feature/waku-fault-message
32290c21d added tasks table to process instance show page w/ burnettk
2033634e1 Merge branch 'main' into feature/waku-fault-message
f03553acf added tabs to find by id page and install pre commit libraries if they fail to run help w/ burnettk
626d9056e stop at call activity as well when getting calling subprocesses by child id w/ burnettk
bf4099345 Merge branch 'main' into feature/waku-fault-message
bdeb03c42 added detailed area to process instance show page w/ burnettk
38341a987 a little more cleanup w/ burnettk
3f0b2f9fa remove several debug print statements
b920be55c logout works now and queryparams are getting passed correctly on login now
b84276aea Merge branch 'main' into feature/waku-fault-message
19574ad36 linting
96bf60a41 remove unneeded protocol variable w/ burnettk
a552ca6e7 use the cookie from the frontend w/ burnettk
e4f354e37 this somewhat works and sets cookies w/ burnettk
1a12b7ac8 debugging cookies w/ burnettk
11efb5ec4 updated rjsf to beta.16 and updated validations from v6 to v8 w/ burnettk
d67af9719 show the error and success notifications when appropriate when editing xml for json w/ burnettk
7ac328843 only load file references when needed to avoid unnecessary xml errors w/ burnettk
4834434c7 Merge remote-tracking branch 'origin/main' into feature/add_some_xml_validations
85449e564 some updates to validate xml when uploading and saving w/ burnettk
c1f271723 Merge branch 'main' into feature/waku-fault-message
d63269bec handle subprocesses in navigation
e680734a9 call proceses through setProcesses to ensure we have up to date value and removed debug logs w/ burnettk
9ad1e0ced more debug logs w/ burnettk
172d171cb more debugging and do not watch ProcessModel with getting processes w/ burnettk
73cab1863 added in debug logging for launching call activity editor w/ burnettk
248661b6e fixed cypress config w/ burnettk
3cee57987 Add `fault_or_suspend_on_exception` and `exception_notification_addresses` to Process Model interface and create/update form.
2463e1411 actually filter by process initiator w/ burnettk
cd4fda787 highlight tasks even if they are in subprocesses of called activities w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: f099c181a4b434a8f86dbca2942dae6c20534970
2023-01-19 13:44:54 -05:00
jasquat 32775973ca Squashed 'spiffworkflow-frontend/' changes from 16dc9a7c4..d012f3a2c
d012f3a2c added fix to SpiffWorkflow to deepcopy operation params before evaluating them w/ burnettk
fa9b97410 basic support to find a process instance by id w/ burnettk
2071317e9 Merge branch 'main' into feature/process-nav-improvements
e2c6c00dc fixed issue displaying task data for call activities called multiple times in a diagram w/ burnettk
f42fca976 Merge branch 'main' into feature/process-nav-improvements
c2a197d8b extract some duplicated text into vars to appease eslint
0221e4299 remove arbirary waits with no comments
aa3d875e3 restore assertion
cc5f511f0 Merge remote-tracking branch 'origin/main' into bug/cypress-tests
b45a2d17b added ability to filter process instances by process initiator
2e1f02e18 pyl w/ burnettk
4875ff59a added process group display name to model search and cache the groups to avoid extra lookups w/ burnettk
2df091d71 merged in main and resolved conflicts
793d41f4c added new page to create process models using english text w/ burnettk
5107a8b5c allow specifying number of iterations
76ae5e51f adjust the process model file actions so they do not stack as easily w/ burnettk
1b72bf145 do not set baseUrl since it breaks auto-import and is not used otherwise w/ burnettk
056c08f86 cleaned up some debug code w/ burnettk
ec9fb62f7 moved error display to own component w/ burnettk
357ea4a89 do not error when removing columns from instance column filters w/ burnettk
dcb538896 added all users to waiting for column on task list tables w/ burnettk
cf7ae42c6 Merge branch 'main' into feature/process-nav-improvements
831a956cf redirect to current step when resetting process instance
5287333e5 Merge branch 'feature/process_api_blueprint_refactor' of github.com:sartography/spiff-arena into feature/process_api_blueprint_refactor
19a57cb8f stats script
cfdb682f7 allow tests to determine what paginated entity id to use to determine a table has loaded
a49c985e5 improve button labels
36611724b allow option to complete single tasks with or without execution
4212645c4 add endpoint to reset process to earlier step
71a9368e7 Merge branch 'main' into feature/process-navigation
d9f50a346 make pagination test work for instances as well
4d92fa739 fix another race conditions in instance cypress test
62c529528 delete videos on success and address race condition in cypress test
538b47b94 added better error message for failed tasks w/ burnettk
6fa96dc76 make sure we are using the same notification component on all pages w/ burnettk
7671f78a3 add baseUrl to cypress configs
ddf835df1 Merge branch 'main' of github.com:sartography/spiff-arena
778f419e0 fixed some cypress tests and fixed issue where an invalid date caused the page to constantly reload w/ burnettk
74874b051 Revive report deletion (#85)
e0cb7eef9 some cypress tests w/ burnettk
bccfe02df added ability to view data objects from the process instance show page w/ burnettk
7b3c123b6 add an underscorize helper and use it for form fields where they need to be python identifiers
e09ababa3 get the language a bit closer
0422a1005 link to correct instances page, fix fin users, ignore coverage files
9ab26e04d added method to add permissions based on macros w/ burnettk
9cba191fc Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions
5ccbfcc1d fixing a linting error
a4ed6c3fe pyl w/ burnettk
d6ddc330f added permission to run privileged scripts w/ burnettk
7b5d78394 Merge pull request #79 from sartography/feature/better_unit_tests
e969064cf Merge branch 'main' of github.com:sartography/spiff-arena into main
10b6b3537 A hot path that will assume the backend is running on a port that is one less than the front end port (rather than assuming 7000) Updating the docker-compose for all of SpiffArena so that it will fire up on ports 8000 -> 8004 rather than 7000 which has a common conflict with Apple AirPlay
152580859 lint and upgrade cypress
8ff2d6305 Merge remote-tracking branch 'origin/main' into bug/cypress-tests
8a595959a Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions
0c053afef fixed get tasks and process instances by group w/ burnettk
ef2eebc6d pyl w/ burnettk
934e7d75b merged in main and resolved conflicts w/ burnettk
3efd204ce added test for report filters w/ burnettk
b0cc6c71b fix conflicts for like the thousandth time
4af838d39 process model show now only shows my instances
2577a7b9a fix getting task info for a process instance w/ burnettk
f655377a8 created process instance list and show pages to handle all and for-me w/ burnettk
fd4bb1981 fix conflicts yet again
42946bf09 merged in main and resolved conflicts w/ burnettk
3b3a2a531 fixed file upload and do not allow submitting task data to a suspended process instance w/ burnettk
cd1ae938f updates to disallow modifying a process instance when it is not in the correct state w/ burnettk
e86aeb750 do not allow editing task data for process instances that are not suspended and some code cleanup w/ burnettk
392537c03 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions
2082c9cd3 allow marking task complete without executing
e20829e44 fix conflicts again
21df98582 added completed column to active task w/ burnettk
b6b610f4d update url to allow permissions on send event
e0579b9b0 Merge remote-tracking branch 'origin/main' into feature/process_instance_list_for_user
4b8dbf0be terminating a process instance is a POST w/ burnettk
9822719d4 some basic stuff for showing only relating items to user w/ burnettk
40a8ddd84 Bug fixes for Script Unit Test user interface -- don't bug out on invalid json.
c9744ccf5 Merge remote-tracking branch 'origin/main' into feature/bpmn_user_permissions
7f7fddf7c fixed file upload of new files and get 1000 process models to list tiles page w/ burnettk
9a58bdab3 some more updates for text w/ burnettk
9397729e1 updated some text for task tables w/ burnettk
0cdc6654a merged in main and resolved conflicts w/ burnettk
bdaaadaf8 merged in main and pyl passes
61848c75e Merge remote-tracking branch 'origin/main' into feature/better_unit_tests
da1cd26d3 fix conflicts & update event url to match other process instance urls
b3f984af4 fixed process model tests
cb46389af fixed a path issue with the breadcrumb
02f9a2567 Merge branch 'feature/better_unit_tests' into feature/bpmn_user_permissions
940545fd7 Fixes a bug that was causing tests to be added to the incorrect task. Clean up UI for a better experience when viewing tests.
fa7945778 Merge branch 'main' into feature/process-navigation
4a24f215a fix event UI
420274f2b Revert package-lock.json changes
e8d449c63 Fix api endpoints for script unit tests
c9a1ff0c5 working but barely functional UI for manually sending events
6c53a181c split out completed instances by group as well
d07a2f5be updated group api so it is not under tasks
70098825b pyl
41b140ee1 split group task tables by group and created component for group tables
bd8f68e94 some base work to try to get display names searchable for process models w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: d012f3a2c4a0516f040156997d6daf675197e294
2023-01-05 17:35:22 -05:00
burnettk b198341b00 Squashed 'spiffworkflow-frontend/' changes from c096ca3f9..326040b3c
326040b3c Frontend label changes (#54)
b4785077a added some more widget types to the form builder. w/ burnettk
27333e941 added basic form builder. w/ burnettk
f2e9ad2d6 pass the the correct model to id on create
92f6366a0 removed tabs from taskshow page w/ burnettk cullerton
bb146410f fixed some of the form widgets w/ burnettk cullerton
00db85342 Merge branch 'main' of github.com:sartography/spiff-arena
084069c72 added create new instance page and moved model run to a component w/ burnettk cullerton
4ba973b55 Merge branch 'main' into update-workflow-json
83b795a4e fixed eslint issues w/ burnettk
44920037c ran some pyl w/ burnettk cullerton
3c8ba0e89 load diagram page even if processes are not set w/ burnettk cullerton
4cdea6bc8 moved model delete button to show page as an icon w/ burnettk
aa2b5b9ff moved group list tiles to component and use on group show page w/ burnettk
61366c3d6 display groups as tiles on list page w/ burnettk
0282dde54 add simple refresh capability
482e6f425 upgrades
ec3019706 hide messages and configuration if not authorized w/ burnettk
ef3a5ff21 default time to midnight if it is null when filtering w/ burnettk
697c069c1 Merge pull request #48 from sartography/feature/add_times_to_instance_filter
c4daaeb1c added back the useEffect for report filtering w/ burnettk
a01f9db11 times on instance list table are working now w/ burnettk
38f1b58fc attempting to use date objects as the date states w/ burnettk
f430fa274 oops, just for one column
6ee14c93c just use the word id in the header and add tooltip
5dbcda2d3 a little cleanup to forms w/ burnettk
50429bc3d remove br since it felt like too much margin
f18435dd0 revert to working mui radio
6c3e59d65 notes about validation issue
abf6caafd add inline errors
7bf2b0673 Merge pull request #45 from sartography/feature/form_carbon_theme
6b9e77711 fixed error messaging a little bit for forms w/ burnettk cullerton
e3ba944f0 Merge pull request #43 from sartography/send_filters
eda32f7a8 Searching for call activities seems to be working now. I had the clear_caches in the wrong place previously - fixing.
cc52a5577 Pre-pr cleanup
e0af333d3 lint
c7e4feab1 Clear/remove filter works
2346a5d34 some updates for the carbon form theme w/ burnettk cullerton
8e4bedef3 added eslintignore file to ignore carbon theme for now w/ burnettk cullerton
1a63f312a added radio buttons w/ burnettk cullerton
5cf910d55 Minor tweak, in the hopes of getting a text box to update correctly.
035ab5600 Add flag to indicate if user filtered
9449bfce7 specify onRequestClose on modals w/ burnettk cullerton
951c53efd updated a couple form components to work with carbon w/ burnettk cullerton
341731487 support ts and js for lint and format commands w/ burnettk cullerton
ab089da90 copied mui theme to use as base for carbon theme w/ burnettk cullerton
c338e35f1 theme working with mui from the internet w/ burnettk cullerton
925790131 Merge branch 'main' of github.com:sartography/spiff-arena into send_filters
f390f82be Set process model from filter
d76bb34df attempting to add a theme w/ burnettk cullerton
18ccdbbcf added lint fix for frontend to pyl w/ burnettk cullerton
20b3c0c7b added development permission for test user w/ burnettk cullerton
8714a0ae2 Set status from filters
a684a71fc added some permissions for tasks
f6c526ca7 Set date filters from response
0d198c73a docs
35cdb2f33 add cypress grep
c57ae7772 added some permissions to the process model show page w/ burnettk
b5d2109b8 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
2ce445fa3 added permission service to frontend to allow checking for permissions w/ burnettk
225755493 fixed linting issues w/ burnettk
4d6fc0a82 added configuration nav item to help reduce nav items w/ burnettk
f0a5b4142 Navigate to my task (#35)
fc2a3d451 Merge pull request #36 from sartography/feature/call_activity_selection
ed9ec1547 Merge remote-tracking branch 'origin/main' into feature/call_activity_selection
56adc8118 some minor updates to model show page w/ burnettk
31d3b947d more refactoring for process instance list w/ burnettk
a4108a25e turned the table list route into a table component w/ burnettk
75a198995 refactored pagination table to allow prefixing page options w/ burnettk
14414079a Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache.  I landed on this unfortunate name because:
902c3b7e3 added remaining task tables w/ burnettk
c4e2cf460 added message correlations to message instance list api call w/ burnettk
8866d6d00 i think this is not always truthy, eslint
fc5d8bc8e open accordion by default per feedback
19942b878 dedup
c822ecea6 fix a couple tests
3d2578b7a Merge remote-tracking branch 'origin/main' into feature/home_page_redesign
af8f245ce lint
43dabb65f add the username to the task list w/ burnettk
6d598978b added more task tables w/ burnettk
f4edf3754 added tasks for my open processes page w/ burnettk
1e063bf06 some more task tab play
d0e2e3b64 Merge remote-tracking branch 'origin/main' into feature/home_page_redesign
968acbc99 added home page routes and some tab stuff w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 326040b3cb9cd16faeea545a25a91ed41f4340cf
2022-11-20 19:57:17 -05:00
burnettk 4b42d6cde6 Squashed 'spiffworkflow-frontend/' changes from 1df0c1a9b2..942256a4ab
942256a4ab theme header
7d02fab545 it would be nice to know which command is failing
cecdb467fa do not chew all memory
d3d94fb307 Merge remote-tracking branch 'origin/main' into feature/carbon_ui
c6d6108fb7 remove garbage css rule
7ec4f725a6 Stack direction to orientation
77731cd7ac fix last modal
0f0962fd1a lint
700f3c4965 fix label and comment artificial slowdown
033d051992 unhardcode
f283cc6302 fix a few tests
43848ea1c0 instances tests are mostly passing, issues with table resizing on the list w/ burnettk
f9b8a161eb process model cypress tests are passing w/ burnettk
e52157fe58 process group cypress tests are passing w/ burnettk
8ce7886326 pyl is passing w/ burnettk
999134fc8f some more updates for group forms w/ burnettk
bba9ed27f1 added search bar on process groups page w/ burnettk
d80e9971cc added login_logout buttons w/ burnettk
6126faaebc finished process instance list filter w/ burnettk
3d2b1ad1d4 add date ranges for process instances search w/ burnettk
2831206f29 a simple date picker w/ burnettk
02d165c52a filter is working for status and process model w/ burnettk
5b118a69e6 process instance list page is mostly set up now w/ burnettk
efd0663ef4 merged in main and resolved conflicts w/ burnettk
6191cfedf3 some more changes... navigation bar is broken due to header container w/ burnettk
877d543b02 many things have been switched to carbon and the home page loads w/ burnettk
c6a5bb081f added carbon react package w/ burnettk

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 942256a4ab74949d0cba48cd93cc5a70001e0a72
2022-11-06 13:24:57 -05:00
Jon Herron 2382c3f0ab Squashed 'spiffworkflow-frontend/' content from commit 75dbea67
git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 75dbea67346d1b0c161b1d7582eeb5442aec5762
2022-10-12 10:21:49 -04:00