Commit Graph

3081 Commits

Author SHA1 Message Date
Madhurya Liyanage 66d73a38b5 Merge branch 'main' into deploy-app-dev 2023-07-03 10:55:30 +05:30
jasquat 99de1432b0
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 3becffc14f.

* 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
Madhurya Liyanage ce597a10d2 Merge branch 'main' into deploy-app-dev 2023-06-30 23:34:38 +05:30
Dan Funk 243715f3f0
bumping version of BPMN-JS-Spiffworkflow (#366) 2023-06-30 23:17:58 +05:30
Madhurya Liyanage 75b51f1f77 Merge branch 'main' into deploy-app-dev 2023-06-30 13:04:43 +05:30
jasquat f66604fc2f
delete the draft task data when the task has been submitted (#364)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-30 13:03:56 +05:30
jasquat 78e805d1be
added cascade delete to process instance so task draft data is deleted (#361)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-30 12:57:53 +05:30
jasquat e0f03eae48
fixed up the unit test permission yml to better match the way we do permissions (#363)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-29 14:21:15 -04:00
Madhurya Liyanage ca0c9968f1 Merge branch 'main' into deploy-app-dev 2023-06-29 19:05:55 +05:30
jasquat 80406204b4
update basic permission set for callers to allow for processes to be passed in (#362)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-29 19:05:18 +05:30
Madhurya Liyanage db5d779680 Merge branch 'main' into deploy-app-dev 2023-06-29 16:37:50 +05:30
Kevin Burnett 2b09e86dbd
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
Madhurya Liyanage fff1e8a5fa Merge branch 'main' into deploy-app-dev 2023-06-29 09:38:43 +05:30
jasquat d6f13b8808
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
Madhurya Liyanage f46ad61ebb Merge branch 'main' into deploy-app-dev 2023-06-28 22:28:12 +05:30
jasquat 4be7875853
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 2a40e979a2
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-06-27 10:05:43 -04:00
jasquat 569bfc787b
added a script task script to get a task data value based on key name… (#353)
* added a script task script to get a task data value based on key name w/ burnettk

* pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-27 10:04:04 -04:00
Madhurya Liyanage 35a6fad239 Merge branch 'main' into deploy-app-dev 2023-06-26 22:38:54 +05:30
Kevin Burnett f248e7f65c
parallel tests with xdist (#335)
* parallel tests with xdist

* add pytest-xdist as dev dep

* put back spiff

* update messaging

* get more in line with main

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-26 22:37:41 +05:30
jasquat b2158a5e79
notify slack if build docs failed w/ burnettk 2023-06-26 11:38:45 -04:00
jasquat b90b06f2f8
remove unnecessary pip upgrade for docs w/ burnettk 2023-06-26 11:36:20 -04:00
jasquat eeddf4964d
added build command for docs and created github action w/ burnettk 2023-06-26 11:33:27 -04:00
usama9500 1cce565d7d
fixing main (#351) 2023-06-26 10:40:42 -04:00
Madhurya Liyanage fb10caa7fc Merge branch 'main' into deploy-app-dev 2023-06-26 18:30:54 +05:30
jasquat 22e53ab23d
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
usama9500 e31d430ad0
Spiffdemo getting started section (#350)
* Spiffdemo getting started section

* ventilated prose

* Updates images

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-06-26 13:39:41 +05:00
Madhurya Liyanage 82b13531de Merge branch 'main' into deploy-app-dev 2023-06-26 11:59:37 +05:30
jasquat c545bf0654
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
burnettk 265ac6d327
commit some scripts that should not affect site functionality to main 2023-06-23 15:31:55 -04:00
jasquat 85503f290f
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-06-23 09:21:38 -04:00
jasquat d41e8ad06d
fixed lint issues 2023-06-23 08:50:48 -04:00
Madhurya Liyanage eded160712 Merge branch 'main' into deploy-app-dev 2023-06-23 11:47:20 +05:30
jbirddog ef57b3bf8e
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
burnettk 09503a2425
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-06-22 16:31:18 -04:00
Phillana26 654ce15a7c
Create_how_to (#347)
* how_to_section

* how-to-before-index
2023-06-23 00:13:03 +05:00
jasquat dcfe254a22
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-06-22 09:17:38 -04:00
jasquat f9777df88c
updated spiffworkflow to fix terminate instance error (#344)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-06-22 09:16:55 -04:00
jasquat ed040e341b
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-06-20 14:24:13 -04:00
jasquat 182f56a1ad
pyl and do not error if ruff fix fails w/ burnettk 2023-06-20 14:23:58 -04:00
jasquat 0c44d74fb8
handle not having a bpmn process better on task list w/ burnettk 2023-06-20 14:21:55 -04:00
jasquat 05bb9ff38c
Merge remote-tracking branch 'origin/main' into deploy-app-dev 2023-06-20 10:38:13 -04:00
Kevin Burnett 033502425e
Feature/better subworkflow management part 2 (#341)
* Revert "Revert "Feature/better subworkflow management (#331)""

This reverts commit 3becffc14f.

* 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 90d3b0969f
Revert "processes to process models"
This reverts commit a4e0c74430.
2023-06-19 09:08:46 -04:00
burnettk a4e0c74430
processes to process models 2023-06-19 08:27:06 -04:00
burnettk a07999ae16
Revert "set undefined values to null rjsf form data w/ burnettk (#336)"
This reverts commit 1f40f64695.
2023-06-19 08:19:49 -04:00
burnettk 0d228e917b
Revert "Feature/interstitial summary (#337)"
This reverts commit 28086575fe.
2023-06-19 08:19:36 -04:00
burnettk 63a47b83e9
Revert "Fix a linting error."
This reverts commit cbf5473dcc.
2023-06-19 08:19:29 -04:00
burnettk c5d1e59f16
Revert "minor permissions related fixes for the new ui."
This reverts commit 7b7cf9d058.
2023-06-19 08:19:23 -04:00
danfunk 7b7cf9d058 minor permissions related fixes for the new ui. 2023-06-16 12:00:27 -04:00