Commit Graph

1302 Commits

Author SHA1 Message Date
jasquat c086817810 upgraded cypress and moved code in helpers to ensure we do not need app code for cypress w/ burnettk (#431)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-03 15:08:45 -04:00
Dan Funk b446aad184 Minor tweaks t othe onboarding page. (#430)
* * Display the instructions_for_user directly on the home page (no redirects to alternate pages)
* Moved the onboarding view above the tabs on the home page.
* Added a "times_executed_by_user" script - not sure if we should keep it, but maybe handy.
* Assure that the display_name for the user is returned consistently (it was not being returned by the get_current_user function).

With @jbirddog

* remove pointless comment.
2023-08-03 15:08:25 -04:00
jasquat 09794e9302 column names for tables in frontend should only have the first letter… (#425)
* column names for tables in frontend should only have the first letter of the first word capitalized

* forgot a couple field names w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 14:06:19 +05:30
jasquat 796dc9dbec Feature/extensions api (#423)
* added api and test to run a process model and return task data synchronously w/ burnettk

* added test to make sure we can access db models from extensions api w/ burnettk

* added extensions api to elevated permissions

* fixed permission tests

* do not add extensions permission to all permission for a pg or pm w/ burnettk

* added configs for extensions api w/ burnettk

* added the basis for an extensions list api w/ burnettk

* added tests for extenstions api and do not use serialized as a property

* allow giving a body to an extension when running and some support in frontend to use extensions

* added ability to display markdown and rjsf on extensions page

* added ability to submit the extension form and display the resulting task data

* made frontend extension urls have 2 pieces of information so we can specify multiple routes for the same process-model w/ burnettk

* do not save process instances when running extensions w/ burnettk

* add extension input to a task not the process w/ burnettk

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-02 14:02:53 +05:30
jasquat 8427f9d2fb Feature/metadata filtering (#418)
* added ability to filter metadata by is and contains w/ burnettk

* added the empty options for metadata filtering

* remove the filter when removing the corresponding column on the frontend

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-08-02 14:01:38 +05:30
jasquat 1bc8ffc47d allow setting a failed process instance to the suspended status w/ burnettk (#416)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-02 13:59:12 +05:30
jasquat 299f4a6823 return the process instance when interstitial process is complete and… (#421)
* return the process instance when interstitial process is complete and favor redirecting to it on the frontend

* upgrade certifi for snyk check

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-28 20:34:39 +05:30
jasquat 865c89e80f display the potential task owners or group in the interstitial info message w/ burnettk (#415)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 22:30:32 +05:30
jasquat cdaf2ea6c5 added a loading icon on task show page to avoid blank page when loadi… (#411)
* added a loading icon on task show page to avoid blank page when loading large datasets w/ burnettk

* fixed broken tests w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-27 17:00:16 +05:30
jbirddog 43beb916a3 Basic scaffolding for onboarding (#400)
* Wedge between InProgressInstances for default view customization

* Rename to OnboardingView, stubbed out api in the backend

* Flip between InProgressInstances and MyTasks via the backend

* WIP

* WIP

* Basic human task handling

* FE lint

* Getting ./bin/pyl to pass

* Suppress any exceptions during onboarding request

* Script to skip onboarding if already started

* Getting ./bin/pyl to pass

* Better default location

* PR feedback

* PR feedback

* PR feedback - add new endpoint to basic permissions

* Fix basic permissions test

* Add integration tests

* Getting bin_pyl to pass
2023-07-27 11:54:30 +05:30
jasquat 148bf386e3 attempt to save again if deadlock given for draft data save w/ burnettk (#410)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-26 20:38:17 +05:30
jasquat 58cc0d9c14 use the task_updated_at_in_seconds column on the pi show page like we do for the pi tables (#409)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:58:21 +05:30
jasquat c6b57c98fa Feature/date range validations (#406)
* added ability to compare date field against a date range field start or end

* added a couple of comments

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:57:07 +05:30
jasquat 755943d89d use editor when navigating to a process model file (#405)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-25 22:56:03 +05:30
Kevin Burnett 23e5fde06e make perspective dropdown bigger (#403)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-25 22:55:11 +05:30
burnettk 2afced3a51 Revert "Run event payloads data migration from background processor (#399)"
This reverts commit ab5926aab1.
2023-07-19 11:43:42 -04:00
Kevin Burnett ab5926aab1 Run event payloads data migration from background processor (#399)
* move data migration code out of bin so it can be reused in background processor

* sleep for 5 minutes and update bpmn js to pull in some fixes from elizabeth

* update spiff to pull in parser update to make it act like before

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-18 10:50:07 -07:00
jasquat 9a1c23f22b fixed how button sets are displayed and removed test date range picker from secret list w/ burnettk (#397)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-17 22:14:10 +05:30
jasquat 78bffc8459 just ensure we have a value when creating date range objects w/ burnettk 2023-07-14 12:04:07 -04:00
jasquat 4e6ba9eb9d set the default date format back to y-m-d w/ burnettk 2023-07-14 11:33:12 -04:00
jasquat 8c9a4be4aa ensure we convert date ranges to ymd before saving to the task-data w/ burnettk 2023-07-14 11:28:00 -04:00
jasquat c1e0b58c07 only show helper text in the start date range and not both w/ burnettk 2023-07-14 10:41:18 -04:00
jasquat 72d5a16cbf alighn reset tooltip to top-left 2023-07-14 08:48:35 -04:00
jasquat bc8efc54a3 added a date range widget to frontend w/ burnettk (#392)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-14 15:46:34 +05:30
danfunk 8cfdcf4212 fixing the navigation bar highlight for data-stores 2023-07-13 13:23:46 -04:00
Dan Funk 73aed82f24 Feature/view data stores (#388)
* * Added /data-stores/ endpoint accessible by privileged users that will return a list of all data stores known to the system.
* Added a /data-stores/[type]/[name] endpoint that will return a list of all data stored within a data-store.
* Granted users with "elevated permissions" the right to access the data store.
* Added a "Data Store" link to the navigation bar beside messages.
* And a few useful tests.
* Still a little front end work to do to get it all looking pretty.

* Added a Data Store List component that, well, displays, you guessed it! A list of data stores and their contents.

Also, Carbon's paginator doesn't care how many pages you have, it's going to build the mother of all drop down lists - you got 60,000,000 records? Showing 5 at a time? It's going to be a dropdown list that contains all numbers between 1 and 12,000,000, because that makes sense! So, yea, not doing that, cutting it off at 1000 pages - you got more pages than that, the paginator can't take you there.  As you can show 100 items per page, that means you can access 100,000 items instantly.

* renaming data_store_items_list => data_store_item_list
2023-07-13 20:54:10 +05:30
jasquat 68acac0fce Feature/ignore save draft errors (#387)
* ignore it if the task cannot be submitted for saving draft data

* changed to handle the error on the frontend instead and do not save draft data if a manaul task

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 22:03:00 +05:30
jasquat dac2e28672 fixed ButtonSet import 2023-07-12 10:55:18 -04:00
jasquat 285294967d Feature/error to suspended state (#384)
* fixed suspended message w/ burnettk

* allow manually executing errored tasks when suspended w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-12 19:50:24 +05:30
jasquat 841f3ccc8c Feature/task assignment (#352)
* added an api to assign a list of users to a task w/ burnettk

* use the modal submit and close buttons when saving task data on the instance show page w/ burnettk

* switch save and cancel buttons on secrets new page w/ burnettk

* add some icons, tho still missing event stuff

* finished adding imporoved icons and fixing up task modal w/ burnettk

* added some user search options to assig tasks to w/ burnettk

* cleaned up task details modal and added call to backend to add potential users w/ burnettk

* fixed broken tests w/ burnettk

* removed some merge comments w/ burnettk

* process instance id is an int not a str w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:44:01 +05:30
jasquat 93b8c09e90 fixed linting issue 2023-07-12 08:38:38 -04:00
jasquat e2e7808f09 display the validation error message the user input w/ burnettk (#386)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 11:40:48 +05:30
jasquat 800b61cf36 fixed pagination of log tables and broken cypress tests w/ burnettk (#382)
* fixed pagination of log tables and broken cypress tests w/ burnettk

* wait before clicking the profile button instead of after w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-10 14:06:55 -04:00
burnettk 9285358e69 Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-07-08 11:58:23 -04:00
burnettk 417fe51faf fix compilation issue 2023-07-08 11:57:51 -04:00
Madhurya Liyanage 11ab2ff883 Merge branch 'main' into deploy-app-dev 2023-07-08 10:11:23 +05:30
Dan Funk 18ea7510c6 Feature/fix_action_column (#357)
* removing action column.

* adding the action column back in, and making it work.
2023-07-07 16:02:27 -04:00
jasquat b7627716df Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-07-07 11:18:52 -04:00
jasquat c112e65232 fixed linting issue w/ burnettk 2023-07-07 11:18:45 -04:00
jasquat 19d7a008d9 merged in main and resolved conflicts w/ burnettk 2023-07-07 11:04:11 -04:00
jasquat 90bfc53380 use a sha256 value as the id of the page when checking active-users w/ burnettk (#356)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-07 20:24:57 +05:30
Kevin Burnett e6094a83a8 do not convert null to a string when clearing out a typeahead field w/ burnettk (#373)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-07 20:21:22 +05:30
Dan Funk 1a6a2c0ae9 Feature/fix diagram zoom (#378)
* Revert "set undefined values to null rjsf form data w/ burnettk (#336)"

This reverts commit cca9b147f6.

* Quick test to check if calls are happening correctly to resize the diagram.

* Quick test to check if calls are happening correctly to resize the diagram.

* remove all the logic around fitviewport limitations, which doesn't seem to be requured.  For some reason (modeler as any).constructor.name return '_9' on the dev server, rather than returning 'Modeler', 'Viewer' etal ...

* drop console log

* Clean up comments.

---------

Co-authored-by: Jakub Sokołowski <jakub@status.im>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: Madhurya Liyanage <liyanagemadhurya@gmail.com>
2023-07-07 10:11:12 -04:00
danfunk e099fc0edc remove all the logic around fitviewport limitations, which doesn't seem to be requured. For some reason (modeler as any).constructor.name return '_9' on the dev server, rather than returning 'Modeler', 'Viewer' etal ... 2023-07-06 20:03:30 -04:00
danfunk 475417b9a6 Quick test to check if calls are happening correctly to resize the diagram. 2023-07-06 18:30:44 -04:00
danfunk 1b5c3b54cb Quick test to check if calls are happening correctly to resize the diagram. 2023-07-06 17:29:16 -04:00
Dan Funk 746a41c524 Feature/never ending UI tweaks 2 (#377)
* Using a rem based measurement rather than pixels, to better handle 4k displays and their adjusted font sizes - and setting relatively large breakpoints and page width limits that should result in a better view of the tables on the home page.

* Here is the latest:

    * Improved metadata display on the process instance page, with better widths, grayed out text (which I lost at some point).
    * Reduced the End Task "instructions for end user" size, and added a fade out on the bottom.
    * Improved the "chicken buttons" for custom columns on the process instance list filters, which can now accommodate very long names for the columns.
    * Removed the "show-page" which is more consistently handled by the content wrappers for the different routers.
2023-07-06 16:38:44 -04:00
Dan Funk dbe52af9f4 Feature/never ending UI edits (#374)
* Basically shift our ui to something similar to Google's search results page - where we have a strong left padding that offsets against our logo, and a fixed width for our content, that can be breached in some circumstances (such as when tables are very large).  This breaking can happen for both our standard tables, as well as markdown tables.   This does not include the fix for locking - which is still in progress.

* modified routes so that most routes are within a "fixed-width-container" but our BPMN editor can still take up 100% of the screen.
* fixed-width-container has breakpoints at 1056 (remove all padding) and 1400 (limit width to a max of 1280)  but in all cases allow for an overflow of visible - so tables can extend beyond this limit when needed,
* Removed "Messages" as a heading from the tab view - but left on the /messages route.

* Lint fixing
2023-07-06 09:41:18 +05:30
danfunk d56809b141 Lint fixing 2023-07-04 10:22:14 -04:00
Dan Funk 771f54b7b4 Bug/UI fixes (#369)
* re-enable the move canvas and zoom modules, and try like hell to get the !@#$! display to zoom to fit consistently. As the from_xml does not trigger the "import.done" where the resize is happening.

* Clicking on timestamp should reload the page so we are observing the diagram at the correct point in time.

* Use a grid rather than a stack for the filter buttons, make them a consistent width, and force the close "x" button to the far right.

* Better handling the lots and lots of metadata fields in both the process instance list table, and in the metadata information on the process instance view page.

* Using DL rather than Carbon's grid, because my mind was starting to break.
* Process instance List Tables are set to optimize their max width for readability.

* assure the diagram editor is top aligned - otherwise when the proprties pannel get's super duper long (as with recent additions to multi-instance) we don't end up with weird spaces showing up above a center aligned canvas.
2023-07-04 09:29:46 +05:30
jasquat e4bf22f5cf Feature/interstitial summary part 3 (#367)
* throw an error if backend gives a 500 from interstitial page w/ burnettk

* turn unexpected errors for the interstitial page into event stream responses to avoid error misdirection

* pyl

* raise the api_error from the original and make the render_data method private

* Feature/interstitial summary (#337)

* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
  Diagram.  Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
  * All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
  * "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
  * Paragraphs, headings, blockquotes, list items are limited to a width of 640.
  * Reduced margin bottom on all breadcrumbs.
  * Slightly reduced the width and margin of tiles
  * ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle.  This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.

* run_pyl

* kill console

* wait for permissionsLoaded too since we are using ability.can

* Previous change removed the top level Messages page - this re-adds it.

* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".

This should cause the show/hide Instructions toggle to only show when useful.

* Minor cleanup on the process instance properties display.

* linting

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>

* Fix a linting error.

* minor permissions related fixes for the new ui.

* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 48dcde8faf.

* do not execute tasks from the process instance show page w/ burnettk

* pyl w/ burnettk

* Very minor UI tweak to resolve a number of issues mentioned in SPIFF-316 Notion Ticket:

* Markdown links now open in a new window
* Tables on the home pages are now contained within Grids to better align them with the other content that is in a grid.
* Right aligned the "process instance list link" button to it is flush right with the table underneath
* Gave a little more breathing room the content on the info/metadata in the process instance view .

* updated docker image build action to contain the appropriate version info w/ burnettk

* properly resize to the available columns depending on s/m/l

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Dan Funk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-03 10:54:54 +05:30
Dan Funk 532c0f841f bumping version of BPMN-JS-Spiffworkflow (#366) 2023-06-30 23:17:58 +05:30
Kevin Burnett d52e4dae75 when creating a process instance, use for-me path for perms (#354)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-29 16:37:19 +05:30
jasquat 3a8cfd2642 disable form submit buttons when appropriate, lock process instance when sending events, and ensure return events match ones associated with desired guids w/ burnettk (#359)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-29 09:36:47 +05:30
jasquat 15b2947107 Feature/draft data in join table (#355)
* added a new model to store task draft data in a join table

* cleaned up using the join table for draft table w/ burnettk

* created new single migration for changes w/ burnettk

* added hidden form which autosaves without validations w/ burnettk

* change close button name since it does indeed save on close now

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-28 22:23:39 +05:30
jasquat 51cfcfa2a5 Feature/autosave and null form data (#346)
* autosave form data on change w/ burnettk

* tests are now passing and pyl

* do not do anything on autosave success w/ burnettk

* merged autosave and null form data branches together w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 18:26:56 +05:30
jasquat a9cc15177f updated usages of task_spec.spec for new spiff (#345)
* updated usages of task_spec.spec for new spiff

* removed unused attributes referring to call activities

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 11:57:32 +05:30
jasquat 3d113409b9 fixed lint issues 2023-06-23 08:50:48 -04:00
jbirddog 2c99e17381 Show callers for non primary files (#334)
* WIP - working with multiple process ids, need to return a file's process ids

* Send bpmn process ids back with bpmn files

* Getting ./bin/pyl to pass

* Fix up unit test

* Wire up the front end

* Pre pr cleanup
2023-06-23 11:45:23 +05:30
Kevin Burnett 7de0d97303 Feature/better subworkflow management part 2 (#341)
* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 48dcde8faf.

* updated SpiffWorkflow to fix infinite loop in task trace w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-20 10:37:49 -04:00
burnettk ecf0a423be Revert "processes to process models"
This reverts commit 294eff7873.
2023-06-19 09:08:46 -04:00
burnettk 294eff7873 processes to process models 2023-06-19 08:27:06 -04:00
burnettk 87f32ac687 Revert "set undefined values to null rjsf form data w/ burnettk (#336)"
This reverts commit cca9b147f6.
2023-06-19 08:19:49 -04:00
burnettk 53d73e13a3 Revert "Feature/interstitial summary (#337)"
This reverts commit c48f3a458b.
2023-06-19 08:19:36 -04:00
burnettk 916324404e Revert "Fix a linting error."
This reverts commit d1a1e40f29.
2023-06-19 08:19:29 -04:00
burnettk 5b7a4c10e2 Revert "minor permissions related fixes for the new ui."
This reverts commit 284d12e32c.
2023-06-19 08:19:23 -04:00
danfunk 284d12e32c minor permissions related fixes for the new ui. 2023-06-16 12:00:27 -04:00
danfunk d1a1e40f29 Fix a linting error. 2023-06-16 10:22:50 -04:00
Dan Funk c48f3a458b Feature/interstitial summary (#337)
* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
  Diagram.  Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
  * All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
  * "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
  * Paragraphs, headings, blockquotes, list items are limited to a width of 640.
  * Reduced margin bottom on all breadcrumbs.
  * Slightly reduced the width and margin of tiles
  * ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle.  This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.

* run_pyl

* kill console

* wait for permissionsLoaded too since we are using ability.can

* Previous change removed the top level Messages page - this re-adds it.

* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".

This should cause the show/hide Instructions toggle to only show when useful.

* Minor cleanup on the process instance properties display.

* linting

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-16 09:53:20 -04:00
jasquat cca9b147f6 set undefined values to null rjsf form data w/ burnettk (#336)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-16 09:52:29 +05:30
burnettk 48dcde8faf Revert "Feature/better subworkflow management (#331)"
This reverts commit 23af5cbbe4.
2023-06-15 15:10:48 -04:00
jasquat 23af5cbbe4 Feature/better subworkflow management (#331)
* WIP: some updates to support new spiff w/ burnettk

* unit tests are passing

* all tests except message tests are passing

* fixed usage of catch message event w/ burnettk

* messages are working again w/ burnettk

* uncommented remaining message tests w/ burnettk

* fixed cypress tests w/ burnettk

* use main for spiffworkflow

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-15 10:31:42 -04:00
jasquat 9b9ec335b3 format date picker helper text width to match the date widget itself … (#330)
* format date picker helper text width to match the date widget itself w/ burnettk

* not sure we need xdoctest

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-13 20:16:26 +05:30
Elizabeth Esswein 5652f3981b restore loop collection references (#328)
* restore loop collection references

* ignore dmn files when restoring references
2023-06-12 18:32:16 -04:00
Kevin Burnett 7ab4d40ff4 make primary file use font style italics (#324)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-12 06:42:30 -07:00
jasquat 121b3c7cc9 some fixes and updates to help with running an acceptance test model (#323)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-09 11:19:02 -07:00
jasquat ee18052be9 added css to make the hr elements look like they do for bootstrap w/ burnettk (#320)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-09 11:50:42 -04:00
jasquat 48fdb142e1 if the process id of the call activity cannot be found then refresh the list and try again w/ burnettk (#316)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 14:27:01 -07:00
jasquat 4fc6b1a193 use carbon components when adding secrets (#312)
* use carbon components when adding secrets

* docker compose pull before running up w/ burnettk

* use all carbon on script task unit test modal w/ burnettk

* removed remaining references to bootstrap from frontend w/ burnettk

* updated usage of hidden to use the class instead of the bootstrap attribute w/ burnettk

* print out docker version for debugging

* docker pull with docker instead of compose

* added comment for docker pull in check docker start script

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 14:26:14 -07:00
jasquat 4b2970170c updated permission macros to give admins access to task-data and proc… (#314)
* updated permission macros to give admins access to task-data and process-data w/ burnettk

* do not check for write to process-models if diagram is readonly anyway w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-08 11:39:14 -04:00
jasquat 49950b1639 support validationErrorMessage in rjsf enum w/ burnettk (#311)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-07 09:55:32 -07:00
jbirddog aedcac5082 npm update bpmn-js-spiffworkflow (#308) 2023-06-06 18:26:20 -07:00
jasquat 1506eed204 allow specifying multiple minimum date checks for a field w/ burnettk (#305)
* allow specifying multiple minimum date checks for a field w/ burnettk

* show title of field to compare minimum date with

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-06 18:25:54 -07:00
Madhurya Liyanage 2d55040c6d Fixed an issue in a test cases and updated numbering 2023-06-05 16:58:24 +05:30
Madhurya Liyanage 5abec3046b Added validations to check the user entered data for special character related test case and edit request test cases 2023-06-05 16:14:45 +05:30
Madhurya Liyanage 5549072059 Updated wait time for file upload related test cases and added numbering for test cases. 2023-06-05 16:13:12 +05:30
jasquat a528792257 added a little error handling to the typeahead widget w/ burnettk 2023-06-02 14:07:44 -04:00
burnettk 8e2b94b866 add some ids to completed instances tables for testability 2023-06-02 10:59:26 -04:00
burnettk 609e75c108 add some ids to homepage tables for testability 2023-06-02 10:52:17 -04:00
jasquat 6eb0ab0286 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 542babba28 Merge remote-tracking branch 'origin/main' into feature/better_interstitial_spinner_and_suspend_message 2023-06-01 15:07:25 -04:00
danfunk 6e9a5bd590 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 e45d6c4732 also support placeholder text w/ burnettk 2023-06-01 11:09:58 -04:00
jasquat 80ab47aeff a little cleanup w/ burnettk 2023-06-01 10:55:46 -04:00
Kevin Burnett 80577c6389 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 7e2b4724b5 Merge remote-tracking branch 'origin/main' into feature/typeahead_in_custom_widgets 2023-06-01 10:43:37 -04:00
jasquat 391cf4987c added missing rjsf elements into typeahead widget 2023-06-01 10:43:34 -04:00
burnettk b02c28697d use icons for running unit tests, w/ lantz 2023-06-01 10:43:27 -04:00
burnettk 619f7e41bd update UX after feedback from team 2023-06-01 10:07:01 -04:00
Madhurya Liyanage e16598d5e9 Updates to match the new UI changes 2023-06-01 12:16:09 +05:30
jasquat 4894a07f90 attempt to store typeahead item as json object string w/ burnettk 2023-05-31 15:58:35 -04:00
jasquat ff61ba35b7 moved carbon theme items around w/ burnettk 2023-05-31 15:16:51 -04:00
burnettk e74c642a1d Merge remote-tracking branch 'origin/main' into feature/new-ux-options-for-adding-files 2023-05-31 12:38:34 -04:00
jasquat fb6fa7da8b go to the for-me page when submitting a task w/ burnettk 2023-05-31 12:25:30 -04:00
jasquat dc9ce04728 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 e6ef26e5c6 move after unit tests and use upload icon, w/ lantz 2023-05-31 10:44:25 -04:00
Dan Funk 5d19d7cd61 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 2be9bb6267 just reuse allowRedirect. 2023-05-31 10:28:16 -04:00
jasquat 375e6febe9 stop refreshing homepage if unauthorized to metadata 2023-05-31 09:42:20 -04:00
jasquat aac0841617 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 6c6297d1d7 Remove some unwanted only items 2023-05-31 18:22:39 +05:30
Madhurya Liyanage 4808e346f1 Updates to match the new UI changes 2023-05-31 12:26:26 +05:30
burnettk e5a37b3cfe allow markdown uploads and add some different ux options for adding files 2023-05-30 17:58:53 -04:00
Kevin Burnett 3b007845df 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 d940339229 Merge remote-tracking branch 'origin/main' into feature/more-secret-secrets 2023-05-30 08:38:15 -04:00
Madhurya Liyanage 8bb73bebf5 Automation scripts for PP2 2023-05-30 12:07:54 +05:30
burnettk 9117435f91 if we get garbage from frontend for nonessential feature, do not blow up 2023-05-29 17:24:26 -04:00
burnettk 2199214323 only expose value on show, not list, move tests, fix UI 2023-05-29 15:04:38 -04:00
Madhurya Liyanage 8f44429477 Added new test cases to Rearrange items and Delete items 2023-05-29 19:56:51 +05:30
Madhurya Liyanage 0fb5edc786 Changed Close to Save and Close 2023-05-29 19:38:51 +05:30
jasquat 6327125656 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 3f0f06817f allow disabling authentication from the backend w/ burnettk 2023-05-25 12:00:24 -04:00
Dan Funk 63bf6a7cde remove console.log 2023-05-24 17:31:31 -04:00
danfunk 89e7db33cb Merge remote-tracking branch 'origin/main' into feature/interstitial_process_instance_show 2023-05-24 15:32:43 -04:00
danfunk dbfa54874c run_pyl 2023-05-24 15:31:11 -04:00
danfunk 0ebab2884b 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 de5f155016 cleaned up comparing dates in forms w/ burnettk 2023-05-24 11:47:02 -04:00
jasquat 8c8c9635d0 allow comparing dates in json schema forms and also allow checking nested fields w/ burnettk 2023-05-24 10:53:04 -04:00
jasquat 78264e755e some updates to help support different domains w/ burnettk 2023-05-23 16:58:58 -04:00
danfunk 3fcc4fd1a6 Merge branch 'main' into feature/interstitial_process_instance_show 2023-05-23 15:43:30 -04:00
jasquat 16e0952686 allow running all process model unit tests from the show page w/ burnettk 2023-05-23 15:15:30 -04:00
jasquat ed42c6c399 make the test case results errors work with WorkflowTaskException and use in ErrorForDisplay 2023-05-23 10:33:37 -04:00
jasquat 4ed43e5058 added api to run process model unit tests w/ burnettk 2023-05-22 17:36:07 -04:00
jasquat 696bfe224c fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat a3890afba1 added missing permissions to elevated perm macro and removed api calls from unit tests 2023-05-22 13:50:32 -04:00
jasquat 83f7849685 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 dda0c0f717 fixed failing cypress test 2023-05-19 11:24:50 -04:00
Madhurya Liyanage d7a9eb237e Added some test cases for form validations 2023-05-19 19:44:19 +05:30
Madhurya Liyanage c5408bdaca Commented out some unwanted lines 2023-05-19 19:42:34 +05:30
jasquat c4e236e737 if username and email are the same then display username only w/ burnettk 2023-05-18 10:11:24 -04:00
burnettk c389bbff28 sort version keys 2023-05-17 14:13:37 -04:00
jasquat d2e2478e06 fixed pyl issues and set max threads based on cpu cores w/ burnettk 2023-05-17 14:04:48 -04:00
Dan Funk de6b51f05b 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 505e6dc8b5 do not run validations on save and close on a form w/ burnettk 2023-05-17 12:14:44 -04:00
danfunk 0db5980f09 Force all pages back to the top, rather than just a few of them. 2023-05-17 11:58:17 -04:00
burnettk df2b22a6d9 remove console 2023-05-16 15:37:53 -04:00
danfunk 02bfa701c5 run_pyl, and a little cleanup. 2023-05-16 15:29:43 -04:00
danfunk cd99837378 Requested simplification of the interstitial page. 2023-05-16 15:26:48 -04:00
danfunk 382e0916f1 keep buttons from growing too large. 2023-05-16 13:21:40 -04:00
danfunk cf09321432 Force Go and View buttons to be the same width. 2023-05-16 13:19:22 -04:00
jasquat a29cbe38f2 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 8e1a29c624 update Close button on task show page to save and close and fixed task test 2023-05-16 10:13:29 -04:00
jasquat 145a535fb9 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 417bd63e45 wip. 2023-05-15 13:53:39 -04:00
jasquat 695be3b696 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 c2a2b5e832 Revert "use password type field on secret show"
This reverts commit e1c1ea481c.
2023-05-15 10:58:53 -04:00
jasquat 94ac1cf8de updated headers for the homepage in progress tab 2023-05-15 10:34:30 -04:00
burnettk e1c1ea481c use password type field on secret show 2023-05-15 08:17:52 -04:00
Madhurya Liyanage c4bc0be885 Added a missing approver 2023-05-15 14:40:42 +05:30
burnettk 74c3570a11 more screwing with labels 2023-05-13 22:43:58 -04:00
burnettk 82f262bfcd 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 5298a7116b Added function checkProcessInstanceCompleted() to verify the instance is completed successfully 2023-05-13 15:58:27 +05:30
burnettk 393f8a213c remove hardcoded test value 2023-05-12 21:11:32 -04:00
burnettk 02aa87cec5 mostly frontend stuff: add version and doc links, autofix unused imports 2023-05-12 17:07:53 -04:00
jasquat 0bda287c81 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 52d1df5c0f reset page back to 1 when applying a filter. 2023-05-12 12:15:19 -04:00
jasquat b7ec540b3c removed only from NDR test so the whole file can run w/ burnettk 2023-05-12 11:38:10 -04:00
jasquat 46f4350f9e some updates for NDR PP1 w/ burnettk 2023-05-12 11:05:35 -04:00
Dan Funk 15abb63063 Merge pull request #256 from sartography/feature/view_button
Feature/view button
2023-05-11 15:11:32 -04:00
burnettk ac92bf3bf2 kill console 2023-05-11 13:46:17 -04:00
danfunk 127248be34 fixing a stupid mistake. 2023-05-11 12:56:59 -04:00
danfunk 1ea4b7bc44 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 4bff2bca95 Type ahead cleanup (#253) 2023-05-11 11:08:07 -04:00
jasquat 7ef3e62207 ensure we remove corresponding bpmn processes when removing tasks from a process reset 2023-05-11 09:32:07 -04:00
Madhurya Liyanage 7c555c62a4 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 c9443b29bf Updated the cancel request test case 2023-05-11 11:57:36 +05:30
burnettk 49523f34cb make the space on the right match the space on the top 2023-05-10 22:58:12 -04:00
jasquat 9e57be25a4 some updates for NDR_PP1 cypress tests w/ burnettk 2023-05-10 15:49:55 -04:00
jasquat b41df276f5 fixed cypress tests w/ burnettk 2023-05-10 14:05:07 -04:00
jbirddog 1a81a73ab1 Fix the empty form issue, round 2 (#248) 2023-05-10 10:58:01 -04:00
jasquat 4dc9204ecd 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 c06c54f48e 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 1efbb8f564 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 122db8b2b2 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-05-10 15:25:16 +05:30
Madhurya Liyanage 8fda5a476f Save as draft changed to Close 2023-05-10 15:25:09 +05:30
Madhurya Liyanage e301a937f7 Updated some wait values 2023-05-10 15:24:44 +05:30
burnettk 79b64d3e94 round corners and add border, and close by default 2023-05-09 22:55:56 -04:00
burnettk 7e9787d5fe placement of user profile nav item and remove caret 2023-05-09 22:40:48 -04:00
jasquat e2a5a2aadf use a toggle tip instead of the popover w/ burnettk 2023-05-09 17:38:15 -04:00
jasquat ddc78c5446 changed to display the username in a circle that can be expanded w/ burnettk 2023-05-09 17:05:37 -04:00
jbirddog be5dd0fe4c If the form object is undefined, navigate to tasks (#247) 2023-05-09 14:09:58 -04:00
jasquat 7b190d204b removed debug log w/ burnettk 2023-05-09 14:09:11 -04:00
jbirddog e1ba08b83d Rename Save as draft to Close, add tooltip (#246) 2023-05-09 12:55:49 -04:00
burnettk 351ff8433d 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 04f1460077 Merge remote-tracking branch 'origin/main' into feature/safari_dropdown_bug 2023-05-09 12:12:02 -04:00
Madhurya Liyanage ff078cbc80 Updated button paths and added some waits 2023-05-09 21:36:54 +05:30
Madhurya Liyanage c7e43c58ce Enabled only the 'Without Files' describe 2023-05-09 21:29:36 +05:30
jasquat 20e6d78a10 try adding a blank option for form selects w/ burnettk 2023-05-09 11:55:59 -04:00
jasquat 0a1daf353a Revert "Revert "make all browsers act the same way on our site w/ jasquat""
This reverts commit 7c4b7b71b7.
2023-05-09 09:30:09 -04:00
burnettk 7c4b7b71b7 Revert "make all browsers act the same way on our site w/ jasquat"
This reverts commit 023f8282b4.
2023-05-08 23:04:16 -04:00
burnettk 023f8282b4 make all browsers act the same way on our site w/ jasquat 2023-05-08 17:03:21 -04:00
burnettk 2b76f4ad5d avoid percentage widths, which appear to not do what we want in safari w/ jasquat 2023-05-08 16:24:52 -04:00
burnettk 339745b6a8 fix configuration page on safari w/ jasquat 2023-05-08 16:13:30 -04:00
jasquat ca8ddc55d7 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 c969a6bcda Updates related to the changes in the Cancel button and things around that. 2023-05-08 16:45:16 +05:30
jasquat eef920acae do not perform any tasks if instance is suspended from the interstitial page w/ burnettk 2023-05-05 14:01:32 -04:00
jasquat 6cdc6913c4 Merge remote-tracking branch 'origin/main' into feature/interstitial_do_not_update_pi_status 2023-05-05 13:12:44 -04:00
jasquat 7be5bf43fd 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 3877a9aae2 fix editing json 2023-05-04 22:57:05 -04:00
jasquat 998de63eca 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 8e0630947d some attempts to not change the process instance status w/ burnettk 2023-05-04 16:52:41 -04:00
jasquat 20ee46899d call correct send signal event from task show page w/ burnettk 2023-05-04 16:11:33 -04:00
jasquat d6724087f6 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 9320ec3cf9 cleaned up displaying active users in frontend w/ burnettk 2023-05-04 12:44:04 -04:00
jasquat f7e8fd0022 Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users_display_user 2023-05-04 11:42:36 -04:00
jasquat 60db9db296 Merge pull request #241 from sartography/feature/multiple_editor_users
Feature/multiple editor users
2023-05-04 11:40:28 -04:00
jasquat 968a2fb186 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 8655ca0cd0 Merge remote-tracking branch 'origin/main' into feature/multiple_editor_users 2023-05-03 17:38:49 -04:00
jasquat a219d8efd4 added ability to display users showing on the process model edit diagram page w/ burnettk 2023-05-03 17:36:43 -04:00
jasquat 387eb8b9fe clear advanced filter options as well 2023-05-03 13:19:33 -04:00
jasquat 0cc15d0da6 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 4832256fc5 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 64692f0d59 Merge pull request #237 from sartography/feature/cancel_button
Feature/cancel button
2023-05-03 10:12:02 -04:00
Dan 546f941e96 remove chatty console log. 2023-05-03 10:11:54 -04:00
jasquat beba4cb91b use hyphens instead of parenthesis for process model search 2023-05-03 09:08:25 -04:00
burnettk e71ff3f701 notion 400: get_toplevel_process_info instead of get_process_info 2023-05-02 22:28:52 -04:00
jasquat 38428cb6a4 fixed tests w/ burnettk 2023-05-02 17:09:29 -04:00
jasquat 66bd628c58 disallow saving a process model file if it has changed w/ burnettk 2023-05-02 16:31:29 -04:00
Dan 0285fe5b85 hide the js-properties-panel if we are in view-only mode. 2023-05-02 14:53:39 -04:00
Dan 6aaae539a0 run_pyl 2023-05-02 14:00:15 -04:00
Dan ac149c9dcb * 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 ab1cc4b102 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 fa2c00821d add title text to explain reset a bit more 2023-05-02 10:44:30 -04:00
jasquat 40e6e9a6bb autoreload instances on the inprogress home page 2023-05-02 09:16:09 -04:00
jasquat 938096f8b9 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
jasquat 22138e1bf1 renamed home page table headers and added filter table link to the completed instances page w/ burnettk 2023-05-01 15:52:11 -04:00
jasquat ca8af1bce0 fixed cypress tests w/ burnettk 2023-05-01 14:54:11 -04:00
jasquat 07b4616d45 fixed tests w/ burnettk 2023-05-01 12:51:58 -04:00
jasquat 3247955db5 merged in main and resolved conflicts w/ burnettk 2023-05-01 12:35:10 -04:00
jasquat c84aa44acf lint fixes w/ burnettk 2023-05-01 12:29:48 -04:00
jasquat 607abf97c2 added links to filtered tables on homepage and added advanced options modal to use them w/ burnettk 2023-05-01 12:25:22 -04:00
jbirddog e9827d0d5e Stable last updated time for human tasks with timers (#231) 2023-05-01 10:32:19 -04:00
jasquat 1f17e58a07 only return the compiled report metadata to the frontend and remove most usages of the internal filters w/ burnettk 2023-04-28 15:42:35 -04:00
jasquat b01b398287 added tmp link to homepage table w/ burnettk 2023-04-28 14:29:56 -04:00
jasquat b179b66e26 home page tables are working again w/ burnettk 2023-04-28 12:36:16 -04:00
jasquat 80ec1194db fixed cypress process instance tests w/ burnettk 2023-04-28 11:56:52 -04:00
jasquat 3754d72f4f tests are now passing and pyl w/ burnettk 2023-04-28 10:07:21 -04:00
jasquat f67bb6b04f Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-28 08:14:24 -04:00
Madhurya Liyanage 393fac80a7 Test cases for request - add, edit, cancel, save as draft 2023-04-28 15:25:54 +05:30
Madhurya Liyanage 2fefe4e4de Updates to match the interstitial pages 2023-04-28 15:25:04 +05:30
jasquat 6a9d30e3fe Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 17:33:49 -04:00
jasquat a4fd81cb9a remove a lot of unused code and fixed linting issues w/ burnettk 2023-04-27 17:33:25 -04:00
jasquat b86ddf8a96 reports seem to be working again w/ burnettk 2023-04-27 15:19:02 -04:00
jasquat e49734b9ef most of the process instance filters are working. still need to add back in support for reports w/ burnettk 2023-04-27 11:47:48 -04:00
Dan 8354f23ce3 Update text on interstitial page 2023-04-27 09:14:41 -04:00
jasquat d29a4ca0ae Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-27 07:28:47 -04:00
jasquat 2376080267 more filter work 2023-04-27 07:28:06 -04:00
burnettk 93ec911484 fix permissions for process callers api 2023-04-27 07:20:52 -04:00
Dan de21567887 run pyl 2023-04-26 21:30:29 -04:00
Dan d845b0b1e2 Need to remove the initial greedy first task from run-until-user-instructions as it was causing us to skip over user messages.
We weren't formatting instructions for end events.
More cleanup of the UI
More rapid graying out of past messages
2023-04-26 21:27:52 -04:00
Dan dbd3f5e5ea more run_pyl 2023-04-26 20:28:40 -04:00
Dan 0b5cba5c6e run_pyl 2023-04-26 20:24:47 -04:00
Dan 342da115f8 a little css love 2023-04-26 19:53:18 -04:00
Dan 015754e089 some styling changes and a better end page. 2023-04-26 19:15:15 -04:00
Dan d1fc75c877 run_pyl 2023-04-26 18:34:10 -04:00
Dan e2b582b7fc various css tweaks 2023-04-26 18:10:02 -04:00
Dan 3473cf7cfe randome critical code that I missed during last resolve of conflicts. 2023-04-26 16:38:30 -04:00
Dan 4cbf4e456b a whole bunch of front end and backend changes that got mangled. 2023-04-26 16:22:50 -04:00
Dan 85c34de9df run_pyl and a changes to the way we loop through tasks for the interstitial page. 2023-04-26 15:50:14 -04:00
jasquat 09fca807a4 Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 13:58:10 -04:00
jasquat ecee5a795b escape backslashes when inserting variables from env with perl for frontend w/ burnettk 2023-04-26 13:47:27 -04:00
jasquat c10cc5035c allow overriding the backend url on frontend w/ burnettk 2023-04-26 13:31:12 -04:00
jasquat 871d7a73de some more updates for searching w/ burnettk 2023-04-26 13:24:08 -04:00
jasquat dc9b60676a Merge remote-tracking branch 'origin/main' into feature/home_page_filter_links 2023-04-26 11:16:42 -04:00
jasquat 8ac5f0228f can somewhat search now w/ burnettk 2023-04-26 11:06:01 -04:00
Madhurya Liyanage 66786755f5 Updates related to the new UI changes 2023-04-26 19:54:30 +05:30
jasquat 3984aa16aa attempting to filter process instances with json instead of report filters w/ burnettk 2023-04-25 17:21:38 -04:00
jasquat 04864692b6 added typeahead search for bpmn name and identifier in process instance event list w/ burnettk 2023-04-25 15:30:26 -04:00
jasquat 849232be33 do not iterate over callers if undefined w/ burnettk 2023-04-24 17:06:28 -04:00
Dan 80eabe0eb7 Allow call activities to have instructions for end users, and show up on the interstitial page 2023-04-24 16:41:46 -04:00
jasquat d845745924 also display the process model id in the call activity references modal w/ burnettk 2023-04-24 16:34:16 -04:00
jasquat 60684126af Merge remote-tracking branch 'origin/main' into feature/call-activity-references 2023-04-24 16:17:32 -04:00
jasquat 0446f7c0a5 rename Actions column to Action w/ burnettk 2023-04-24 16:12:08 -04:00
jasquat 882ab451f5 format process instance status strings w/ burnettk 2023-04-24 16:10:45 -04:00
jasquat 7fb5c82bbc give users access to error events if they have access to start a process model w/ burnettk 2023-04-24 15:37:17 -04:00
jasquat ebdefe9f7f make js Task interface act more like ProcessInstanceTask w/ burnettk 2023-04-24 15:01:24 -04:00
jasquat b1f9bbc475 fixed some cypress tests w/ burnettk 2023-04-24 14:40:42 -04:00
burnettk 1a11f5edba Merge remote-tracking branch 'origin/main' into feature/call-activity-references 2023-04-24 13:22:20 -04:00
jasquat 20fa640cf0 add extensions back onto task before returning task show w/ burnettk 2023-04-24 12:58:07 -04:00
Elizabeth Esswein ea5778f269 add modal to display references 2023-04-24 12:21:36 -04:00
jasquat f131196ac8 merged in main and resolved conflicts w/ burnettk 2023-04-24 11:30:27 -04:00
Dan c5cd81975e * Clicking anywhere in the row should take you to the process instance page. 2023-04-23 11:43:25 -04:00
Dan 0468f3beb5 fixing a bit of needless heartbreak. 2023-04-23 11:13:25 -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
Elizabeth Esswein 59771d09a3 get callers & pass to diagram editor 2023-04-21 17:22:17 -04:00
jasquat e45adff2e9 some pyl stuff. tests are failing w/ burnettk 2023-04-21 16:32:29 -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 b973ce6186 Merge branch 'main' of github.com:sartography/spiff-arena 2023-04-21 11:21:57 -04:00
jasquat b0d2dc79b8 updated bpmn-js-spiffworkflow for on change on service tasks fix w/ burnettk 2023-04-21 11:21:54 -04:00
Dan 99ab8d3158 minor fixes to the frontend so that he Start button works in all cases and the interstial page's console is not so noisy, and images show up correctly. 2023-04-21 11:21:52 -04:00
Dan Funk 3dca7d2ed4 Merge pull request #221 from sartography/feature/interstitial
Feature/interstitial
2023-04-21 09:28:41 -04:00
jasquat 38a9816781 display placeholder date as lowercase only 2023-04-21 09:26:49 -04:00
burnettk da98f876a0 fix placeholder text, etc 2023-04-20 17:26:16 -04:00
Dan 259290846d fallout from recent changes to Main. 2023-04-20 16:55:13 -04:00
jasquat 0988b371ec do not show full group path in process model search and do not attempt to convert a date to ymd if it is already ymd w/ burnettk 2023-04-20 16:11:17 -04:00
Dan a6adb98a19 Merging with main. 2023-04-20 16:06:22 -04:00
jasquat 7251777382 use the correct method when converting time strings in react w/ burnettk 2023-04-20 15:48:36 -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 8cc2d56dbd merged in main and resolved conflicts w/ burnettk 2023-04-20 14:10:23 -04:00
jasquat 48ff72b00b pass full tasks list to react diagram editor for coloring w/ burnettk 2023-04-20 12:05:35 -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 5b44632af8 don't complain in the CI so much, and go ahead and set dependencies in effect() if it doesn't hurt to do so. 2023-04-19 20:01:34 -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
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
Dan 5297e4c9cc Add lock icon 2023-04-18 19:36:45 -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 584a0df7cb downgrade rjsf to last v5 beta version since the actual release breaks our usage of oneOf w/ burnettk 2023-04-18 15:19:16 -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 8d1aaec641 Merge pull request #215 from sartography/feature/update_carbon_react
updated carbon react to 1.27 for react 18 support and updated all oth…
2023-04-18 10:58:36 -04:00
Madhurya Liyanage 56ac6e0d30 Merge branch 'main' of https://github.com/sartography/spiff-arena 2023-04-18 19:59:39 +05:30
Madhurya Liyanage a6a86690f0 Updates to match the PP1 process/UI changes 2023-04-18 19:58:32 +05:30
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 f6a0fd2448 updated carbon react to 1.27 for react 18 support and updated all other libraries for it w/ burnettk 2023-04-17 16:25:10 -04:00
Dan 47a3332ed3 Assure we save after every chunk of tasks get completed on the interstital endpoint.
Fix a merge screwup in the workflow execution service
Add an instructions for end user component so we can reuse the logic in multiple places.
Split up the intersitital page so that it clears out the interval timer.
2023-04-17 14:43:30 -04:00
jasquat 2caa42700c some more log stuff using debounce w/ burnettk 2023-04-17 11:08:00 -04:00
Dan 19d4fb9981 Add the new process insterstitial to the frontend. 2023-04-14 15:49:06 -04:00
Dan 8a6426efec drop completed_tasks from the task_api object
Show the "next" task if no task is provided on the task_show api endpoint
Adding interstitial endpoint
Rename run to run_and_save
Remove repeated code from execution strategy
Adding interstital frontend page
2023-04-14 15:44:59 -04:00
jasquat 1768618f27 attempting to move filters from instance table to own component 2023-04-14 15:42:01 -04:00
jasquat a2130ec1d2 fix cypress tests 2023-04-14 10:00:06 -04:00
jasquat 03b30ec7ec Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-14 09:20:30 -04:00
Elizabeth Esswein e21d264756 Merge pull request #211 from sartography/feature/process-map-enhancements
Feature/process map enhancements
2023-04-13 18:47:04 -04:00
jasquat 4a96b56aec stop refreshing homepage if unauthorized w/ burnettk 2023-04-13 17:09:36 -04:00
jasquat c9785b2c34 pyl and turn back on autoreload for homepage w/ burnettk 2023-04-13 16:56:49 -04:00
jasquat fd25bb64d7 updated text on home page w/ burnettk 2023-04-13 16:36:46 -04:00
jasquat 700c2d9ef5 Merge remote-tracking branch 'origin/main' into feature/home_page_refactor 2023-04-13 14:12:14 -04:00
jasquat 5d1dc716fd displaying process instances instead of tasks functionality is mostly complete. still need to update text on homepage and some cleanup 2023-04-13 14:12:09 -04:00