Commit Graph

1017 Commits

Author SHA1 Message Date
Madhurya Liyanage 7de1134bb5 Updated wait time for file upload related test cases and added numbering for test cases. 2023-06-05 16:13:12 +05:30
jasquat 7f80f2b6df
added a little error handling to the typeahead widget w/ burnettk 2023-06-02 14:07:44 -04:00
burnettk 1658de6101
add some ids to completed instances tables for testability 2023-06-02 10:59:26 -04:00
burnettk a6aac1d730
add some ids to homepage tables for testability 2023-06-02 10:52:17 -04:00
jasquat 6c5ddc65c4
Merge pull request #294 from sartography/feature/typeahead_in_custom_widgets
Feature/typeahead in custom widgets
2023-06-02 10:34:00 -04:00
danfunk 3178ce2573 Merge remote-tracking branch 'origin/main' into feature/better_interstitial_spinner_and_suspend_message 2023-06-01 15:07:25 -04:00
danfunk 9aa52bcd27 Introduced a small spinner to the interstitial view on the Process Instance Show page.
Display reasonable messages when a processes is suspended or errored. Can't do much with terminated.
Show the spinner more frequently and consistently.
When running ruff, ignore everything in .gitignore
2023-06-01 15:05:59 -04:00
jasquat bff226c31c
also support placeholder text w/ burnettk 2023-06-01 11:09:58 -04:00
jasquat 02ef9f4ce1
a little cleanup w/ burnettk 2023-06-01 10:55:46 -04:00
Kevin Burnett 1de6eee991
Merge pull request #287 from sartography/feature/new-ux-options-for-adding-files
allow markdown uploads and add some different ux options for adding files
2023-06-01 14:44:35 +00:00
jasquat 27bd66d93b
Merge remote-tracking branch 'origin/main' into feature/typeahead_in_custom_widgets 2023-06-01 10:43:37 -04:00
jasquat 1a788cdcea
added missing rjsf elements into typeahead widget 2023-06-01 10:43:34 -04:00
burnettk 23545a0324
use icons for running unit tests, w/ lantz 2023-06-01 10:43:27 -04:00
burnettk 16056e427d
update UX after feedback from team 2023-06-01 10:07:01 -04:00
Madhurya Liyanage b7cb3c32b9 Updates to match the new UI changes 2023-06-01 12:16:09 +05:30
jasquat d5d4fdac39
attempt to store typeahead item as json object string w/ burnettk 2023-05-31 15:58:35 -04:00
jasquat 781a7be04a
moved carbon theme items around w/ burnettk 2023-05-31 15:16:51 -04:00
burnettk 38c28c8054
Merge remote-tracking branch 'origin/main' into feature/new-ux-options-for-adding-files 2023-05-31 12:38:34 -04:00
jasquat 0d22e27f78
go to the for-me page when submitting a task w/ burnettk 2023-05-31 12:25:30 -04:00
jasquat 3a10ef82cd
redirect to the non-for-me page if allowed when performing an admin action w/ burnettk 2023-05-31 12:11:27 -04:00
burnettk 70933892d5
move after unit tests and use upload icon, w/ lantz 2023-05-31 10:44:25 -04:00
Dan Funk eff4165f5a
Merge pull request #291 from sartography/feature/fix_process_instance_terminate
allow not redirecting to home page at all in interstitial component a…
2023-05-31 10:31:32 -04:00
danfunk e72ccebed0 just reuse allowRedirect. 2023-05-31 10:28:16 -04:00
jasquat bb6a0bf443
stop refreshing homepage if unauthorized to metadata 2023-05-31 09:42:20 -04:00
jasquat 8791cc513c
allow not redirecting to home page at all in interstitial component and do not error out if next task does not exist 2023-05-31 08:54:33 -04:00
Madhurya Liyanage f95b567e32 Remove some unwanted only items 2023-05-31 18:22:39 +05:30
Madhurya Liyanage e7e0972766 Updates to match the new UI changes 2023-05-31 12:26:26 +05:30
burnettk ede43ab0b9
allow markdown uploads and add some different ux options for adding files 2023-05-30 17:58:53 -04:00
Kevin Burnett 4bf6760e3f
Merge pull request #283 from sartography/feature/mitigate-downside-of-unexpected-response-from-server
if we get garbage from backend for active users, do not blow up diagram editing page
2023-05-30 18:55:41 +00:00
burnettk c127b4c714
Merge remote-tracking branch 'origin/main' into feature/more-secret-secrets 2023-05-30 08:38:15 -04:00
Madhurya Liyanage d030ae4c43 Automation scripts for PP2 2023-05-30 12:07:54 +05:30
burnettk 0c3931bf4e
if we get garbage from frontend for nonessential feature, do not blow up 2023-05-29 17:24:26 -04:00
burnettk bdffdc5c25
only expose value on show, not list, move tests, fix UI 2023-05-29 15:04:38 -04:00
Madhurya Liyanage 2dbb8fcf07 Added new test cases to Rearrange items and Delete items 2023-05-29 19:56:51 +05:30
Madhurya Liyanage c59bb2959d Changed Close to Save and Close 2023-05-29 19:38:51 +05:30
jasquat 5cb899ed97
merged in main, resolved conflicts, and updated keycloak realm file for new path vars w/ burnettk 2023-05-26 11:10:57 -04:00
jasquat 7b2c7c5f52
allow disabling authentication from the backend w/ burnettk 2023-05-25 12:00:24 -04:00
Dan Funk 4d058e0fe4
remove console.log 2023-05-24 17:31:31 -04:00
danfunk 77e375a86a Merge remote-tracking branch 'origin/main' into feature/interstitial_process_instance_show 2023-05-24 15:32:43 -04:00
danfunk 8734005c1e run_pyl 2023-05-24 15:31:11 -04:00
danfunk 247578c968 ProcessInterstitial is now a component, and a page. The component is included into both the Interstitial PAge and the Process Instance Show page.
Fixed routes for interstitial to align with those of the TaskShow page (variants are now accepted and passed through)

Removed the View button completely.
2023-05-24 15:24:33 -04:00
jasquat 8a88e2e9ea
cleaned up comparing dates in forms w/ burnettk 2023-05-24 11:47:02 -04:00
jasquat 6c4a927beb
allow comparing dates in json schema forms and also allow checking nested fields w/ burnettk 2023-05-24 10:53:04 -04:00
jasquat c242c95c84
some updates to help support different domains w/ burnettk 2023-05-23 16:58:58 -04:00
danfunk 0395889c11 Merge branch 'main' into feature/interstitial_process_instance_show 2023-05-23 15:43:30 -04:00
jasquat c3710aeb2a
allow running all process model unit tests from the show page w/ burnettk 2023-05-23 15:15:30 -04:00
jasquat 520325adec
make the test case results errors work with WorkflowTaskException and use in ErrorForDisplay 2023-05-23 10:33:37 -04:00
jasquat c6d2853b51
added api to run process model unit tests w/ burnettk 2023-05-22 17:36:07 -04:00
jasquat 58b06751ae
fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat b575ef09de
added missing permissions to elevated perm macro and removed api calls from unit tests 2023-05-22 13:50:32 -04:00
jasquat 8d9d0b30d7
changed publish endpoint to precede model id so we can grant publish access but read only to a model otherwise w/ burnettk 2023-05-19 12:26:16 -04:00
jasquat 4e62486a7e
fixed failing cypress test 2023-05-19 11:24:50 -04:00
Madhurya Liyanage 94358da069 Added some test cases for form validations 2023-05-19 19:44:19 +05:30
Madhurya Liyanage 48630716bf Commented out some unwanted lines 2023-05-19 19:42:34 +05:30
jasquat 8a8b2b7b57
if username and email are the same then display username only w/ burnettk 2023-05-18 10:11:24 -04:00
burnettk d77156938a
sort version keys 2023-05-17 14:13:37 -04:00
jasquat 4a8dbd4758
fixed pyl issues and set max threads based on cpu cores w/ burnettk 2023-05-17 14:04:48 -04:00
Dan Funk 85a7af6066
Merge pull request #264 from sartography/feature/ui-tweaks
Force all pages back to the top, rather than just a few of them.
2023-05-17 12:29:27 -04:00
jasquat 46bdff6342
do not run validations on save and close on a form w/ burnettk 2023-05-17 12:14:44 -04:00
danfunk 2a5d2e545c Force all pages back to the top, rather than just a few of them. 2023-05-17 11:58:17 -04:00
burnettk 5dc6089791
remove console 2023-05-16 15:37:53 -04:00
danfunk 109e55dd62 run_pyl, and a little cleanup. 2023-05-16 15:29:43 -04:00
danfunk e09381ab7a Requested simplification of the interstitial page. 2023-05-16 15:26:48 -04:00
danfunk bee83fbd4e keep buttons from growing too large. 2023-05-16 13:21:40 -04:00
danfunk 9ebb8f9a8c Force Go and View buttons to be the same width. 2023-05-16 13:19:22 -04:00
jasquat 727eb83bdf
Merge pull request #260 from sartography/feature/submit_form_data_with_default
use the submitter id to determine if the submit button clicked was th…
2023-05-16 10:22:24 -04:00
jasquat 53ed9b122c
update Close button on task show page to save and close and fixed task test 2023-05-16 10:13:29 -04:00
jasquat d112df6730
use the submitter id to determine if the submit button clicked was the close button or submit 2023-05-15 14:18:18 -04:00
danfunk 77ad3d175e wip. 2023-05-15 13:53:39 -04:00
jasquat 18f5c68e3e
do not blow up if the date is a bad format in a react json schema form w/ burnettk 2023-05-15 11:54:36 -04:00
burnettk 2c9b3bf415
Revert "use password type field on secret show"
This reverts commit 7b1ee33cdd.
2023-05-15 10:58:53 -04:00
jasquat 406f0a6cf1
updated headers for the homepage in progress tab 2023-05-15 10:34:30 -04:00
burnettk 7b1ee33cdd
use password type field on secret show 2023-05-15 08:17:52 -04:00
Madhurya Liyanage d19569fe7b Added a missing approver 2023-05-15 14:40:42 +05:30
burnettk d0623ea160
more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk 845e7cd4d6
add opencontainers label, and run an experiment to see what is required in dockerfile vs github actions 2023-05-13 19:53:50 -04:00
Madhurya Liyanage 35fe4cb158 Added function checkProcessInstanceCompleted() to verify the instance is completed successfully 2023-05-13 15:58:27 +05:30
burnettk 90fe5d1466
remove hardcoded test value 2023-05-12 21:11:32 -04:00
burnettk e452b062bf
mostly frontend stuff: add version and doc links, autofix unused imports 2023-05-12 17:07:53 -04:00
jasquat 4fa3eb33cc
removed conditional to not load useEffect on process instance list table page so page changes and switching tabs works w/ burnettk 2023-05-12 15:14:35 -04:00
danfunk 4b9fe67b07 reset page back to 1 when applying a filter. 2023-05-12 12:15:19 -04:00
jasquat bfdc503f46
removed only from NDR test so the whole file can run w/ burnettk 2023-05-12 11:38:10 -04:00
jasquat d89a569af6
some updates for NDR PP1 w/ burnettk 2023-05-12 11:05:35 -04:00
Dan Funk 9b61b22fb2
Merge pull request #256 from sartography/feature/view_button
Feature/view button
2023-05-11 15:11:32 -04:00
burnettk 062e40dadc
kill console 2023-05-11 13:46:17 -04:00
danfunk 1eb440a0b2 fixing a stupid mistake. 2023-05-11 12:56:59 -04:00
danfunk c553277c21 View button styled the same as the go button.
Don't show the view button for Suspended, terminated, or Errored Processes when there is nothing to see.
On the interstitial page, if the process is not runnable, return out of the process, don't keep looping forever.
2023-05-11 12:34:43 -04:00
jbirddog b3cc1170aa
Type ahead cleanup (#253) 2023-05-11 11:08:07 -04:00
jasquat 60974ebfcb
ensure we remove corresponding bpmn processes when removing tasks from a process reset 2023-05-11 09:32:07 -04:00
Madhurya Liyanage da0fcdeed6 Replaced cy.contains('Request Goods or Services') with cy.contains('Request Goods or Services').click(); to match the change in process start in command file 2023-05-11 12:53:26 +05:30
Madhurya Liyanage b9d2a484b5 Updated the cancel request test case 2023-05-11 11:57:36 +05:30
burnettk f1cc92e117
make the space on the right match the space on the top 2023-05-10 22:58:12 -04:00
jasquat b1d27cec75
some updates for NDR_PP1 cypress tests w/ burnettk 2023-05-10 15:49:55 -04:00
jasquat 661fe7fef4
fixed cypress tests w/ burnettk 2023-05-10 14:05:07 -04:00
jbirddog 375eafdfe3
Fix the empty form issue, round 2 (#248) 2023-05-10 10:58:01 -04:00
jasquat e93d295bb8
Merge pull request #249 from sartography/feature/shortened_user_name_in_frontend
Feature/shortened user name in frontend
2023-05-10 10:22:23 -04:00
jasquat de3358a276
only show task instruction text if process instance is active and display the view button if instance is suspended 2023-05-10 10:13:02 -04:00
jasquat 4ebc2a78bc
updated some css class names and moved the profile toggle tip over a couple pixels 2023-05-10 09:33:21 -04:00
Madhurya Liyanage 03e62c7445 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-05-10 15:25:16 +05:30
Madhurya Liyanage 8650d0f97d Save as draft changed to Close 2023-05-10 15:25:09 +05:30
Madhurya Liyanage 1bb486a383 Updated some wait values 2023-05-10 15:24:44 +05:30
burnettk f5761740ea
round corners and add border, and close by default 2023-05-09 22:55:56 -04:00
burnettk cada0fc033
placement of user profile nav item and remove caret 2023-05-09 22:40:48 -04:00
jasquat 97ca7a4a04
use a toggle tip instead of the popover w/ burnettk 2023-05-09 17:38:15 -04:00
jasquat 132ae06a34
changed to display the username in a circle that can be expanded w/ burnettk 2023-05-09 17:05:37 -04:00
jbirddog f6a9b75479
If the form object is undefined, navigate to tasks (#247) 2023-05-09 14:09:58 -04:00
jasquat 5142bff89b
removed debug log w/ burnettk 2023-05-09 14:09:11 -04:00
jbirddog a385497c33
Rename Save as draft to Close, add tooltip (#246) 2023-05-09 12:55:49 -04:00
burnettk 62eb5ccb6d
make safari act a bit more like other browsers by adding a blank option w/ jasquat 2023-05-09 12:41:09 -04:00
burnettk ce5067001b
Merge remote-tracking branch 'origin/main' into feature/safari_dropdown_bug 2023-05-09 12:12:02 -04:00
Madhurya Liyanage e38e55cdd8 Updated button paths and added some waits 2023-05-09 21:36:54 +05:30
Madhurya Liyanage e0709d0d07 Enabled only the 'Without Files' describe 2023-05-09 21:29:36 +05:30
jasquat c77a65bdda
try adding a blank option for form selects w/ burnettk 2023-05-09 11:55:59 -04:00
jasquat fd4d43f441
Revert "Revert "make all browsers act the same way on our site w/ jasquat""
This reverts commit 13f51f9f82.
2023-05-09 09:30:09 -04:00
burnettk 13f51f9f82
Revert "make all browsers act the same way on our site w/ jasquat"
This reverts commit ebc1004101.
2023-05-08 23:04:16 -04:00
burnettk ebc1004101
make all browsers act the same way on our site w/ jasquat 2023-05-08 17:03:21 -04:00
burnettk 6325c9345a
avoid percentage widths, which appear to not do what we want in safari w/ jasquat 2023-05-08 16:24:52 -04:00
burnettk bc5cb048f6
fix configuration page on safari w/ jasquat 2023-05-08 16:13:30 -04:00
jasquat 40852ec58d
Merge pull request #243 from sartography/feature/interstitial_do_not_update_pi_status
Feature/interstitial do not update pi status
2023-05-08 14:29:13 -04:00
Madhurya Liyanage dccbf10dda Updates related to the changes in the Cancel button and things around that. 2023-05-08 16:45:16 +05:30
jasquat 97d48ea8b6
do not perform any tasks if instance is suspended from the interstitial page w/ burnettk 2023-05-05 14:01:32 -04:00
jasquat f6ed2b6507
Merge remote-tracking branch 'origin/main' into feature/interstitial_do_not_update_pi_status 2023-05-05 13:12:44 -04:00
jasquat 7366ae5cc8
made activeuser component which can be used wherever and only use it if the user can save the file on the form and diagram edit pages 2023-05-05 09:52:52 -04:00
burnettk 6a969bdb9e
fix editing json 2023-05-04 22:57:05 -04:00
jasquat ebb70c111e
set the returned file as the new file when saving a process model file so we get the new contents hash w/ burnettk 2023-05-04 16:59:27 -04:00
jasquat 004a3be2c2
some attempts to not change the process instance status w/ burnettk 2023-05-04 16:52:41 -04:00
jasquat ae4915525d
call correct send signal event from task show page w/ burnettk 2023-05-04 16:11:33 -04:00
jasquat b1e341d0d3
poll the backend for active users instead of keeping the connection open so it does not hang on a process w/ burnettk 2023-05-04 15:44:52 -04:00
jasquat 28fd9d755c
cleaned up displaying active users in frontend w/ burnettk 2023-05-04 12:44:04 -04:00
jasquat 556c71ace4
Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users_display_user 2023-05-04 11:42:36 -04:00
jasquat cc9c559b15
Merge pull request #241 from sartography/feature/multiple_editor_users
Feature/multiple editor users
2023-05-04 11:40:28 -04:00
jasquat 8478c794e2
added endpoint for send-signal-event for users so we can handle permissions more easily w/ burnettk 2023-05-04 11:20:38 -04:00
jasquat 7c8c780d76
Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users 2023-05-03 17:38:49 -04:00
jasquat 2c336c55c5
added ability to display users showing on the process model edit diagram page w/ burnettk 2023-05-03 17:36:43 -04:00
jasquat 868f2b312c
clear advanced filter options as well 2023-05-03 13:19:33 -04:00
jasquat 903794494a
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 9d27be6f11
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 b684763053
Merge pull request #237 from sartography/feature/cancel_button
Feature/cancel button
2023-05-03 10:12:02 -04:00
Dan da0e2480e4 remove chatty console log. 2023-05-03 10:11:54 -04:00
jasquat ac978c6c21
use hyphens instead of parenthesis for process model search 2023-05-03 09:08:25 -04:00
burnettk 3388beb1cd
notion 400: get_toplevel_process_info instead of get_process_info 2023-05-02 22:28:52 -04:00
jasquat ffc6e8720e
fixed tests w/ burnettk 2023-05-02 17:09:29 -04:00
jasquat 558c616744
disallow saving a process model file if it has changed w/ burnettk 2023-05-02 16:31:29 -04:00
Dan 7e67640620 hide the js-properties-panel if we are in view-only mode. 2023-05-02 14:53:39 -04:00
Dan a3bf16c902 run_pyl 2023-05-02 14:00:15 -04:00
Dan 739442d571 * 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 9b3fcbe353
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 3be4f7cfc5
add title text to explain reset a bit more 2023-05-02 10:44:30 -04:00
jasquat 7e3314b016
autoreload instances on the inprogress home page 2023-05-02 09:16:09 -04:00
jasquat 5eac97f94d
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