1071 Commits

Author SHA1 Message Date
jasquat
9150bb74b0
rjsf-errors-on-array-template (#1683)
* display error messages on the ArrayFieldTemplate for item list errors

* do not change things that do not need it

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-05 14:31:59 -04:00
jasquat
c7c2d61e78
format fe files based on new prettier w/ burnettk (#1674)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-04 15:48:04 -04:00
jasquat
a988e7691a
keep query params when navigating to process instance short link w/ burnettk 2024-06-04 15:47:11 -04:00
jasquat
fe2a8da9e9
date-range-fix (#1673)
* add debounce to date input fields in date range picker to properly format dates w/ burnettk

* use descriptive ruff ids for pre-commit w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-04 11:26:40 -07:00
jasquat
5cc86a8792
check if min and max values are undefined explicitly when attempting to validate to avoid issues with zero w/ burnettk (#1672)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-04 13:54:40 -04:00
dependabot[bot]
ffaf649cba
Bump prettier from 2.8.7 to 3.3.0 in /spiffworkflow-frontend (#1660)
* Bump prettier from 2.8.7 to 3.3.0 in /spiffworkflow-frontend

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 3.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...3.3.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* format with prettier

* updated eslint-plugin-prettier to resolve lint issues

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-04 11:35:22 -04:00
jasquat
570ee32bb4
moved the input element from BaseInputTemplate to FileWidget for more contorl (#1667)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-04 10:53:49 -04:00
jasquat
b301af190c
rjsf-fileupload-error-indicator (#1661)
* added formatting to filewidget when it gives an error w/ burnettk

* use the mui icon button for the file remove rjsf button w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-06-03 13:25:14 -04:00
jasquat
59c1086d55
Pi fix pm gone (#1648)
* some better error logging when the background processor fails w/ burnettk

* handle process model not found issues better and do not raise in handle exception if it is missing w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-31 10:12:43 -04:00
jasquat
3de5fb34a2
ensure the form editor is ready before attempting to update example data w/ burnettk (#1639)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-29 16:27:35 -04:00
jasquat
9153de0538
ProcessInstanceShow loading icon should not be an overlay w/ burnettk 2024-05-28 11:41:48 -04:00
jasquat
b92cebc9ff
load what can be loaded on the pi show page while task-info loads w/ burnettk (#1600)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-23 11:57:58 -04:00
jbirddog
5bf3ea0db2
Detect duplicate process ids when uploading/creating a new file (#1581)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-22 12:18:44 -04:00
Kevin Burnett
154be22161
fixed the select widget and text fields so they are no longer so slow when typing (#1573)
* fixed the select widget and text fields so they are no longer so slow when typing

* attempt to wait a little after typing in cypress tests for the debounce w/ burnettk

* fixed onChangeOverride issue w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-22 11:07:23 -04:00
jasquat
a402bfc4fd
fix-file-upload (#1583)
* handle file upload more like the way rjsf core is now handling it w/ burnettk

* removed unused module w/ burnettk

* use onChangeOverride if given w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-21 12:40:01 -07:00
jasquat
41e293c37b
debounce date after 100 ms instead of 1s w/ burnettk (#1556)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-15 07:22:58 -07:00
burnettk
384c28c1c3
get more code from old version of rjsf 2024-05-14 13:16:55 -04:00
Kevin Burnett
bbaabff508
upgrade rjsf and mui (#1523)
* upgrade rjsf and mui

* add jsdom

* smaller change to package-lock

* update processSelectValue with code direct from rjsf

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-10 09:00:24 -07:00
Kevin Burnett
d8da94c233
allowing switch form to MUI using ui:theme mui in the ui schema (#1482)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-05-03 13:32:57 -04:00
jasquat
b9e70d12a6
do not invalidate a numeric range field if it is unset and not required (#1478)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-05-02 14:08:36 -04:00
jasquat
1495b7dac8
some additional fixes for the numeric range field (#1464)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-29 13:04:21 -07:00
jasquat
40af8809a1
numeric-range-check-for-num (#1451)
* check to ensure the value entered in a numeric range is a number

* save the regex number matcher so it can be used in multiple places w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-25 11:33:25 -04:00
jasquat
f773823008
Numeric range tweaks (#1445)
* tweaks to help with layout for numeric ranges

* use negative infinity for min

* remove some debug code

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-24 12:04:55 -04:00
jasquat
2b84fbad71
remove the collapse option from task show instructions (#1444)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-24 09:37:48 -04:00
jasquat
a7a9927a5f
character-counter-fixes (#1432)
* carbon supports the counter field natively so use that w/ burnettk

* added docs for character counter fields w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-22 14:54:15 -04:00
jasquat
a59f2777cd
added some padding above the radio button group on rjsf forms w/ burnettk (#1431)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-22 11:31:18 -07:00
jasquat
5ba5727eec
do not force min and max to be set in numeric range fields w/ burnettk (#1430)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-04-22 13:31:50 -04:00
jasquat
b4fe793f51
Task show toggle instructions (#1429)
* added support to toggle full and collapsed instructions on the task show page w/ burnettk

* collapse task show instructions by default w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-22 11:25:13 -04:00
jasquat
44687327ae
minor fixes for frontend console errors w/ burnettk 2024-04-22 11:24:41 -04:00
burnettk
0bfc4b7f20
always log body, and improve messaging 2024-04-18 16:24:39 -04:00
jasquat
1e9854f82a
show http error text in console only and not in on the page itself w/ burnettk 2024-04-18 15:00:50 -04:00
jasquat
91e988ff11
better-fe-error-handling (#1406)
* update error handling in HttpService to handle non-json responses better w/ burnettk

* fixed cypress tests

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-18 14:11:44 -04:00
jasquat
a99c36964d
mi-task-show-fix (#1412)
* check for mi tasks first before checking more newest in task show api w/ burnettk

* remove console

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-17 11:53:10 -07:00
jasquat
ebd5c60758
add query params back into admin redirect url w/ burnettk 2024-04-17 10:43:15 -04:00
jasquat
9147a8db8c
Use vite to build (#1390)
* some base updates for vite w/ burnettk

* i can log in w/ burnettk

* a couple more fixes w/ burnettk

* make sure selectedTabIndex has been set before using it w/ burnettk

* fixed active-users db issue, added type module to package json to fix prerender issues, and various other issues w/ burnettk

* fixed issues with building and running from compiled w/ burnettk

* pyl

* eslint fix is running and removed both inferno and navigationBar warnings

* vim likes the Dockerfile suffix by default

* use process.env.HOME

* probably do not need alias

* a little clean up and fixed font warnings w/ burnettk

* updated elements to remove warnings in the console w/ burnettk

* fixed es lint issues w/ burnettk

* update docker build in frontend w/ burnettk

* set the specific tag of nginx w/ burnettk

* build docker imgaes for this branch to test w/ burnettk

* added vitest and updated Dockerfile to be nginx w/ burnettk

* tests are passing w/ burnettk

* add prefresh and more keys

* added cypress-vite to attempt to get cypress working again

* some coderabbit suggestions

* hopefully there is no reason to use PUBLIC_URL at all when using vite

* use the correct location of the index file in the docker image

* spaces are fine in index.html file variable declaration

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-04-15 14:22:34 -04:00
jbirddog
afe95c5178
Remove unused component (#1377) 2024-04-10 13:07:48 -04:00
jbirddog
2bec24aa63
Delete commented out test (#1378) 2024-04-10 09:37:38 -07:00
jbirddog
3f5e0db19b
Attempt to detect unused code in the frontend (#1375) 2024-04-10 12:05:29 -04:00
jasquat
293aa867a1
Auth for secrets (#1369)
* added new api to show secrets so we can use that in permissions

* updated frontend to use new secret show value api

* cleaned up secret_show method

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-09 13:44:47 -04:00
jasquat
2cf5c915ed
Dmn js upgrade (#1358)
* upgraded dmn-js versions w/ burnettk

* update bpmn-js-spiffworkflow w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-08 13:47:30 -07:00
jasquat
18edf627db
message-table-pagination-fix (#1343)
* respect message list pagination options on the message instance list table w/ burnettk

* code rabbit suggestion w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-05 14:49:45 -04:00
jasquat
d45d98e558
highlight STARTED tasks like READY and WAITING tasks in the webui 2024-04-05 10:42:23 -04:00
jasquat
280240ca87
lookup 1000 groups when attempting to cache them so we are not restricted to 100 w/ burnettk (#1331)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-03 08:22:07 -07:00
jasquat
64b72f439b
Revert "Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend (#1301)"
This reverts commit 659112a3e47669a9ee32147eef4dbb10b23faf25.
2024-04-02 12:55:43 -04:00
jasquat
b507f45fb0
Date format fixer (#1319)
* attmept to figure out what date format the user is inputting w/ burnettk

* reverted default date config w/ burnettk

* added tests for the new date formatter function

* fixed outdated comment

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-01 16:39:29 -04:00
dependabot[bot]
659112a3e4
Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend (#1301)
* Bump @rjsf/utils from 5.0.0-beta.20 to 5.18.1 in /spiffworkflow-frontend

Bumps [@rjsf/utils](https://github.com/rjsf-team/react-jsonschema-form) from 5.0.0-beta.20 to 5.18.1.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Changelog](https://github.com/rjsf-team/react-jsonschema-form/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/5.0.0-beta.20...5.18.1)

---
updated-dependencies:
- dependency-name: "@rjsf/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* attmepting to update usage of rjsf/utils for newer version

* update all rjsf packages together

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-29 13:33:25 -04:00
jasquat
121f8d15ad
added a formatter to change a date string into a formatted date in markdown w/ burnettk (#1296)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-28 12:58:35 -07:00
jasquat
639ba78037
apiPath does not need an extra slash now 2024-03-27 13:09:37 -04:00
jasquat
a12d2883c1
Bpmn unit test from pi (#1262)
* added most of the code needed to generate a bpmn unit test from a process instance w/ burnettk

* pyl and tests are passing

* renamed some files and some clean up

* added api method to generate test case w/ burnettk

* debugging the generate test api w/ burnettk

* test case generator test case is now passing w/ burnettk

* added test for TaskMismatchError w/ burnettk

* added support for extension to create bpmn unit tests with the api w/ burnettk

* coderabbit and typeguard fixes w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-26 10:14:57 -04:00
Kevin Burnett
62ba2ed282
put arrow to the right of the button in process instance table (#1274)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-26 04:55:23 -07:00