1406 Commits

Author SHA1 Message Date
dependabot[bot]
1ba5762805
Bump inherits-browser from 0.0.1 to 0.1.0 in /spiffworkflow-frontend (#2061)
Bumps [inherits-browser](https://github.com/nikku/inherits-browser) from 0.0.1 to 0.1.0.
- [Changelog](https://github.com/nikku/inherits-browser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nikku/inherits-browser/compare/v0.0.1...v0.1.0)

---
updated-dependencies:
- dependency-name: inherits-browser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 15:43:20 +00:00
dependabot[bot]
0b91c59c8e
Bump @typescript-eslint/parser in /spiffworkflow-frontend (#2056)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.11.0 to 7.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.18.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 15:19:29 +00:00
dependabot[bot]
4269024551
Bump react-datepicker from 4.11.0 to 7.3.0 in /spiffworkflow-frontend (#2042)
Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 4.11.0 to 7.3.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](https://github.com/Hacker0x01/react-datepicker/compare/v4.11.0...v7.3.0)

---
updated-dependencies:
- dependency-name: react-datepicker
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-08-22 14:15:59 -04:00
Kevin Burnett
fa1838aa41
Newui4 (#2048)
* new about page

* h2 for second biggest header

* save and close goes to newui

* Create custom tab goes to coming soon page

* logo obviously links to home on same site, not old site

* link to switch to classic site

* lint

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-08-17 09:00:43 -07:00
jasquat
50ebf05100
Newuiv3 (#2047)
* new view to kick off process instance

* now ProcessModelCard can kick off an instance

* show total child items rather than using a slash

* some initial code to implement frontend from figma w/ burnettk

* updated homepage tab names w/ burnettk

* updated field names in new ui w/ burnettk

* moved nabar to wrapper component w/ burnettk

* added basics for dark mode w/ burnettk

* use spiff logo and colors w/ burnettk

* use spiff logo and colors w/ burnettk

* corrected hover colors in dark mode

* some additional formatting

* added tree view to start process page in v3 site w/ burnettk

* some cleanup for the tree view w/ burnettk

* removed unused side nav items w/ burnettk

* actually navigate to locations when clicking in nav bar w/ burnettk

* moved custom button inline with other items w/ burnettk

* moved used items from v2 ui to v3 and change paths to v3 to newui and old to newuiv2

* updated v2 code to match main so we can more easily compare against it

* revert v2 route as well to be like main

* some fixes and clean and added profile button w/ burnettk

* revert nav bar w/ burnettk

* update profile menu so it can log out w/ burnettk

* added dark mode button back w/ burnettk

* profile menu update w/ burnettk

* profile menu update w/ burnettk

* moved side nav into own component w/ burnettk

* make sure you have to logged in to see the new ui w/ burnettk

* stack icons on collapse

* allow profile menu to go beyond constraint of sidenav

* profile menu when collapsed

* make thing not overlap

* removed duplicate attribute

* get tasks from the api instead of mock data

* added waiting for column w/ burnettk

* fixed header names of new pages w/ burnettk

* swap colors

* updated some bgcolors w/ burnettk

* updated some of the theme colors w/ burnettk

* some more color cleanup w/ burnettk

* add border to table and background lighter like design

* more colors w/ burnettk

* add border

* add height to tab indicator props

* use macro colors

* persist theme selection in local storage

* h1 as god intended

* fix highlight on main nav

* new started by me view

* avoid hardcoding color because themes

* fetch process instances

* extract shared junk into components

* extract more shared junk

* some cleanup to the new workflow view w/ burnettk

* update button

* more tweaks and fixes to task table w/ burnettk

* match design

* some updateds to headertabs w/ burnettk

* make the create custom tab button look more like the other tabs w/ burnettk

* added view mode tile table toggle w/ burnettk

* add startopen script to allow all interfaces for dev server

* hide complete task play button if no task

* remove waiting for from tile if blank w/ burnettk

* implemented hide complete w/ burnettk

* show non active

* fixed var w/ burnettk

* do not show action if user cannot complete task w/ burnettk

* time ago ts

* added timeago in words to task table w/ burnettk

* some updates to timeago for typsescript w/ burnettk

* some formatting to the tile w/ burnettk

* move arrow to top right

* make the whole tile clickable if there is a task w/ burnettk

* default sidenav to collapsed on mobile

* tile views by default on mobile

* completely hide menu on mobile, not just collapse

* get rid of autocollapse on mobile code, since it is all hidden

* mobile nav

* improve mobile nav

* when you open the nav on mobile, it should always be expanded

* some minor support for user group select

* lint

* persistent top nav so you can always access menu on mobile

* implemented group by option w/ burnettk

* allow ungroup

* only show Ungrouped if it is grouped

* group by text

* use accent color when grouping tasks

* added text.accent for dark mode w/ burnettk

* copied task show elements to v3 folder w/ burnettk

* newui task show routes work w/ burnettk

* converted task show elements to mui w/ burnettk

* fixed up task show page a big w/ burnettk

* added padding to tash show page w/ burnettk

* modified colors for dark mode and consistency w/ burnettk

* added interstitial and progress pages to new ui w/ burnettk

* go to newui appropriately from interstitial

* allow grouping tasks by the process group of their instance

* scroll to the card when selecting from the left nav tree w/ burnettk

* move task details to bottom of tile w/ burnettk

* navigate back to home page when no more tasks w/ burnettk

* avoid cutting off right side of main content

* a little cleanup w/ burnettk

* some format updates to h tags w/ burnettk

* fix class name for carbon

* Newuiv3a (#2046)

* wip to get only runnable prcess models for start process model page w/ burnettk

* wip to get only runnable prcess models for start process model page w/ burnettk

* wrote out method to group by process group w/ burnettk

* added test for grouping by process group

* some cleanup to prepare to be merged into the main newuiv3 branch

* fixed mypy issues

* fixed tests

* fixed lint issues w/ burnettk

---------

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

* try to fix animations

* remove favorites icon and update pi creation flow w/ burnettk

* remove carbon from interstital page w/ burnettk

* title is bpmn_name and name is bpmn_id

* slow fade transition from interstitial to homepage

* do a hilariously long fade in when going from interstitial to homepage

* show last process instance id saved on interstitial

* get rid of local storage

* move last instance to top and avoid on mobile

* avoid useEffect and rock local storage

* added some error display w/ burnettk

* moved v3 specific code to v3 dir w/ burnettk

* some code rabbit suggestions w/ burnettk

* more code rabbit w/ burnettk

* remove bad id w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-16 15:13:33 -04:00
dependabot[bot]
8fda7dd92b
Bump @casl/react from 3.1.0 to 4.0.0 in /spiffworkflow-frontend (#2039)
Bumps [@casl/react](https://github.com/stalniy/casl/tree/HEAD/packages/casl-react) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/stalniy/casl/releases)
- [Changelog](https://github.com/stalniy/casl/blob/master/packages/casl-react/CHANGELOG.md)
- [Commits](https://github.com/stalniy/casl/commits/@casl/ability@4.0.0/packages/casl-react)

---
updated-dependencies:
- dependency-name: "@casl/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-08 15:08:48 +00:00
dependabot[bot]
76e671cbd6
Bump @prefresh/vite from 2.4.5 to 2.4.6 in /spiffworkflow-frontend (#2035)
Bumps [@prefresh/vite](https://github.com/preactjs/prefresh/tree/HEAD/packages/vite) from 2.4.5 to 2.4.6.
- [Release notes](https://github.com/preactjs/prefresh/releases)
- [Changelog](https://github.com/preactjs/prefresh/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/preactjs/prefresh/commits/@prefresh/vite@2.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: "@prefresh/vite"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 15:25:09 +00:00
dependabot[bot]
21847a0539
Bump jsdom from 24.0.0 to 24.1.1 in /spiffworkflow-frontend (#2030)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 24.0.0 to 24.1.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/24.0.0...24.1.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-08-07 06:28:58 -07:00
dependabot[bot]
b23780ccf1
Bump @mui/x-data-grid from 7.10.0 to 7.12.0 in /spiffworkflow-frontend (#2024)
Bumps [@mui/x-data-grid](https://github.com/mui/mui-x/tree/HEAD/packages/x-data-grid) from 7.10.0 to 7.12.0.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v7.12.0/packages/x-data-grid)

---
updated-dependencies:
- dependency-name: "@mui/x-data-grid"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: jasquat <2487833+jasquat@users.noreply.github.com>
2024-08-06 09:42:38 -04:00
jasquat
390e2e992a
updated bpmn-js-spiffworkflow to allow for codes in throw events w/ burnettk (#2028)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-08-05 14:44:35 -04:00
jasquat
ccd9f51b62
Null script icon fix (#2021)
* do not show the script icon if value is not set

* updated bpmn-js-spiffworkflow

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-08-01 14:40:51 -04:00
jasquat
3c4cf52fd6
added call activity nav link back to mi call activity child tasks and cleaned up the process a little bit w/ burnettk (#2020)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-08-01 13:35:16 -04:00
dependabot[bot]
a9c630dc71
Bump serve from 14.2.0 to 14.2.3 in /spiffworkflow-frontend (#2018)
Bumps [serve](https://github.com/vercel/serve) from 14.2.0 to 14.2.3.
- [Release notes](https://github.com/vercel/serve/releases)
- [Commits](https://github.com/vercel/serve/compare/14.2.0...14.2.3)

---
updated-dependencies:
- dependency-name: serve
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 15:02:11 +00:00
dependabot[bot]
ac58d324dd
Bump @rjsf/core from 5.19.3 to 5.19.4 in /spiffworkflow-frontend (#2007)
* Bump @rjsf/core from 5.19.3 to 5.19.4 in /spiffworkflow-frontend

Bumps [@rjsf/core](https://github.com/rjsf-team/react-jsonschema-form) from 5.19.3 to 5.19.4.
- [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.19.3...5.19.4)

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

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

* 5.19.4 across the board

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-08-01 10:15:37 -04:00
jasquat
70c0d51a0f
pass the script element through instead of defaulting to the state to avoid state updates w/ burnettk (#2008)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-29 12:48:42 -07:00
jasquat
0ea0137af8
Select form file when created (#2001)
* it seems to work now but needs cleanup w/ burnettk

* removed debug code w/ burnettk

* Update spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fixed coderabbit suggestion to avoid react refreshes w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-26 11:44:04 -04:00
dependabot[bot]
4d8b8c07fe
Bump vite from 5.3.4 to 5.3.5 in /spiffworkflow-frontend (#1997)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.4 to 5.3.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 14:29:51 +00:00
jasquat
77f272e6eb
Fix dmn and user tasks (#1996)
* updated bpmn-js items

* updated dmn-js items as well

* fixed some linting

* some initial changes to make our dmn and user task handlers work better with react w/ burnettk

* removed unnecessary useEffects and existing form can be edited

* json schema form can set data properly from examples w/ burnettk

* some cleanup w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-25 15:45:48 -04:00
jasquat
3d677316c9
updated bpmn-js items (#1991)
* updated bpmn-js items

* updated dmn-js items as well

* fixed some linting

* use main of bpmn-js-spiffworkflow

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-25 13:24:49 -04:00
Kevin Burnett
ddb9240c87
Script task icon (#1990)
* some initial refactoring to react diagram editor for pi show page w/ burnettk

* pi show and pm file show are now working w/ burnettk

* some minor tweaks w/ burnettk

* pi show is mostly working - need to handle future states w/ burnettk

* pass the task into the call activity overly so we can check the state w/ burnettk

* added an svg icon for pre and post script icons

* convert the svg react component into an html string and give that to bpmn-js

* removed hardcoded check for script icon

* typo

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-25 12:06:16 -04:00
dependabot[bot]
53ecffca52
Bump react-dom and @types/react-dom in /spiffworkflow-frontend (#1995)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together.

Updates `react-dom` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-dom)

Updates `@types/react-dom` from 18.0.11 to 18.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 15:32:05 +00:00
jasquat
6f1af2132e
Refactor bpmn diagram component (#1984)
* some initial refactoring to react diagram editor for pi show page w/ burnettk

* pi show and pm file show are now working w/ burnettk

* some minor tweaks w/ burnettk

* pi show is mostly working - need to handle future states w/ burnettk

* pass the task into the call activity overly so we can check the state w/ burnettk

* removed commented out code w/ burnettk

* fixed issue with process model new file not showing w/ burnettk

* fixed endless reload new bpmn file w/ burnettk

* do not bother zooming dmn tables w/ burnettk

* use a linke instead of a button to open the call activity so it can be opened in a new tab if desired w/ burnettk

* Revert "use a linke instead of a button to open the call activity so it can be opened in a new tab if desired w/ burnettk"

This reverts commit 1c12725cd3300ee3bcc5db9a3dffcc50ec40da6f.

* listen for auxclick to know if call activity should be opened in new tab w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-24 14:19:52 -07:00
dependabot[bot]
1280c7efaa
Bump eslint-plugin-prettier in /spiffworkflow-frontend (#1988)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.3 to 5.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.3...v5.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 15:21:15 +00:00
dependabot[bot]
2d14c28e9a
Bump react-router-dom from 6.22.3 to 6.25.1 in /spiffworkflow-frontend (#1978)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.22.3 to 6.25.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.25.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 14:36:48 +00:00
jasquat
b4e9dfff27
hide the view call activity link if the call activity is in a future state w/ burnettk (#1972)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-22 16:32:44 -04:00
jasquat
0fc4e3b630
add filename to breadcrumb if it is not already there w/ burnettk 2024-07-22 11:33:46 -04:00
dependabot[bot]
5b4a306e3b
Bump @preact/preset-vite from 2.8.2 to 2.9.0 in /spiffworkflow-frontend (#1968)
Bumps [@preact/preset-vite](https://github.com/preactjs/preset-vite) from 2.8.2 to 2.9.0.
- [Release notes](https://github.com/preactjs/preset-vite/releases)
- [Commits](https://github.com/preactjs/preset-vite/compare/2.8.2...2.9.0)

---
updated-dependencies:
- dependency-name: "@preact/preset-vite"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 15:04:33 +00:00
dependabot[bot]
bcc64895a6
Bump @rjsf/core from 5.19.1 to 5.19.3 in /spiffworkflow-frontend (#1956)
Bumps [@rjsf/core](https://github.com/rjsf-team/react-jsonschema-form) from 5.19.1 to 5.19.3.
- [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.19.1...5.19.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 15:19:29 +00:00
dependabot[bot]
e7713b3c4e
Bump react and @types/react in /spiffworkflow-frontend (#1949)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together.

Updates `react` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react)

Updates `@types/react` from 18.0.37 to 18.3.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-07-18 12:05:16 -07:00
jasquat
4971ae737e
some updates the ReactFormBuilder to better handle readonly users w/ burnettk (#1943)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-17 16:23:55 -04:00
jasquat
c11e9ba1b4
progress-page-display-error (#1859)
* display the given when a task fails while on the progress page

* add task info to the error details on progress page and added foreign key from event table to task table w/ burnettk

* do not attempt to add error details if one cannot be found w/ burnettk

* delete pi events when tasks are deleted w/ burnettk

* fixed migration file w/ burnettk

* removed db migration changes w/ burnettk

* pyl w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-17 08:53:38 -07:00
dependabot[bot]
284706c24f
Bump @mui/x-data-grid from 7.9.0 to 7.10.0 in /spiffworkflow-frontend (#1940)
Bumps [@mui/x-data-grid](https://github.com/mui/mui-x/tree/HEAD/packages/x-data-grid) from 7.9.0 to 7.10.0.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v7.10.0/packages/x-data-grid)

---
updated-dependencies:
- dependency-name: "@mui/x-data-grid"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-07-17 15:30:43 +00:00
burnettk
9a0b59e0ed
Merge branch 'main' of github.com:sartography/spiff-arena 2024-07-16 20:03:48 -04:00
burnettk
56e6a82e09
add Migrate to breadcrumb 2024-07-16 20:03:36 -04:00
jasquat
461b37d3d9
hide the revert button on the migration page on the web ui if it cannot be reverted to that revision w/ burnettk (#1935)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-16 14:26:58 -04:00
dependabot[bot]
af9e9e7b28
Bump vite from 5.3.2 to 5.3.4 in /spiffworkflow-frontend (#1932)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.2 to 5.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 15:23:51 +00:00
dependabot[bot]
19ff18df8e
Bump @cypress/grep from 3.1.5 to 4.1.0 in /spiffworkflow-frontend (#1926)
Bumps [@cypress/grep](https://github.com/cypress-io/cypress) from 3.1.5 to 4.1.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/@cypress/grep-v3.1.5...@cypress/grep-v4.1.0)

---
updated-dependencies:
- dependency-name: "@cypress/grep"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 15:14:08 +00:00
jasquat
d36c740180
use the correct git revision for the event and process instance when reverting a process instance migration (#1911)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-12 11:20:27 -04:00
dependabot[bot]
0674d46606
Bump cypress from 13.7.0 to 13.13.0 in /spiffworkflow-frontend (#1912)
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.7.0 to 13.13.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.7.0...v13.13.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-12 14:57:47 +00:00
jasquat
2e1ee93293
Pi migration 2 (#1902)
* added migration detail table along with migration fe page w/ burnettk

* allow specifying bpmn process defintion when getting instance w/ burnettk

* added a test for migration reverting w/ burnettk

* added result states to migration page w/ burnettk

* updated spiffworkflow to fix migration revert issue w/ burnettk

* added test for the migration events api w/ burnettk

* fixed tests

* finished migration web page w/ burnettk

* coderabbit and other issues and added spiffworkflow-local realm and use that if running locally

* fixed pyl issue

* just check for the git revision key in tests instead of a value since the value could be None

* ruff

* updated configs for cypress tests

* use correct realm in ci

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-07-11 13:46:54 -04:00
dependabot[bot]
58e1e03330
Bump react-router from 6.22.3 to 6.24.1 in /spiffworkflow-frontend (#1904)
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 6.22.3 to 6.24.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@6.24.1/packages/react-router)

---
updated-dependencies:
- dependency-name: react-router
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-11 14:44:23 +00:00
dependabot[bot]
8f3e6a1e81
Bump autoprefixer from 10.4.16 to 10.4.19 in /spiffworkflow-frontend (#1898)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.16 to 10.4.19.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.16...10.4.19)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 15:06:36 +00:00
jasquat
738446147e
fixed spiffworkflow logo in main nav bar w/ burnettk 2024-07-09 13:56:40 -04:00
jasquat
898015ce3c
Spiffui/newui (#1891)
* Scaffold new UI homepage, hide current nav bar

* Layout set up

Divider was fiddly, but got the same setup as Figma now.

* Config to allow svg loading and imports etc. in Vite

Also moved preact from dev deps to deps (recommended).

* Configure app to use Poppins

Was a little tricky, had to isolate this from the rest of the app.

* Move icons from figma to app, set up menus

SVGs have to be exported from Figma, moved into assets in app, etc.

* Layout and SideMenu

Components and layout all set.

* Some basic global themeing knocked off from Web3

* Datagrid Layout complete

Nothing works and the data is contrived, but it's all matchy-matchy with the Figma view and so on.

* Menu items hover and rollover states

* Add card row

* useProcessInstances hook

Knocked off from the call logic in ProcessInstanceListTable

* Responsiveness

* Responsive tweaks

* Live data in grid etc.

* Phone responsive

* Responsivness working across all breakpoints

* Side menu height simplification

* more chips for milestone and status

* Basic client grid search

* Newui README and component notes.

* Add docs, cleanups, etc.

* Component docs

* Theme more robust

Also added framework for dark mode.

* Dark mode and theme enhancements

* Install signals integration for vite, cleanup, and working darkmode toggle.

* Update SpiffUIV2.tsx

* Toggle feature for menu items

Includes ability to swap icon and text on a toggle. Useful for dark mode toggle and possibly other things.

* User menu pinned to bottom of VH

Doesn't get lost if datagrid is long.

* Color fixes for dark mode, added in tokens where possible.

* Responsive Side Menu

* adjusted filter cards to dark mode

* Customize global themes for light and dark success/light/info/warning/error

Pushing use of tokens everywhere, took some wrangling but it's in place now.

Also fixed cards and a few other things to size more cleanly in responsive modes.

* Fix tab light/dark mode swap

Requires a bit more customiization of the theme.

* Slide transition for menu

* Solved very annoying MUI problem

If there is a scrollbar on the screen, opening a Select removes it. This is intentional (use can not scroll the screen while select is open) but it has the unfortunate consequence of removing the browser scrollbar is that it increases the viewport size, causing all responsive layout to shift. This tells it "leave it be".

Also add ability to feed in info to process instance hook.

* Refactor some items to make layouts more declarative.

We want the info window to be in the center-right of the view all the time, with some appropriate padding on the top-bottom, so regardless of the scroll position or window size they never lose it.

Also, responsiveness (will resize until MD breakpoint then hide).

* Refactor Dashboard to switch grids more cleanly

* Info panel wired up

* Task Collection, view hook etc.

* My Tasks search working

* Tab nav set up

* "Old" forms loading into "new" flyout window.

Had to move a few things around and dig into the routes, but got it up and running for demo.

* InfoPanel displays selections from different grid views

Built mini-factory to feed InfoPanel ReactNodes to render using selected grid item data.

* Info panel toolbar, formatting and light/dark settings.

* InfoPanel display with tasks

APIs need to be sorted out, there doesn't appear to be an easy way to get all Tasks for a given ProcessId at this point.

* Format dates in grids

* Wire everything up for working workflow (demo-worthy)

* Toggle for Row click panel open/close

* Completed and waiting tasks in info panel.

* Scrollable grids in the Dashboard view (no more page scrolling)

* Remove mystery zero

Stray truthy test was rendering the result (false, 0)

* Tweak to prevent child scrollbars from overlaying infopanel windows.

* had to install jsdom for Vue testing.

* Update package-lock.json

* Possibly ran npm i in the wrong directory hmm...

* add optional platform dep

* update lock file with optional dep info

* Add ESBuild (this package was not found)

There might be a global install but Vite/npm ain't seein' it.

* Trying to make esbuild optional (it might already be global)

* Accordions for tasks, and create a hook to enable some flexible customization.

* Updates and refactoring to make more (possibly) extension-ready components for the data displays.

* PI times summary report

Also cleaned up some MUI Dom errors/warnings.

* build images for newui

* revert some changes in package-lock that did not help

* Rebuilding repo (had "bad objects" error)

* Charts (mostly for demo)

* Responsive!

* Collapsible side menu

Added a button component suitable for the positioning/display, adjusted responsiveness (when the menu is collapsed, we need the grid to take up more room, and when the menu is naturally collapsed by screen size, we don't want the toggle button, etc.)

* Adjust menu to display abbreviated spiff logo when collapsed.

* Update DashboardCharts.tsx

* Inserted Paper wrapper for sidemenu

Makes the background responsive to dark mode (so it's not just more black surface).

* Update SideMenu.tsx

Fix positioning to accommodate new wrapper padding.

* First wave of theme changes, global font alterations, restructure nav to top

* Moving the design revamp along

Walking the line between the new ideas but using the current functionality and components (we don't have designs for where things lik the dark mode and logout buttons go, the toolbar was removed but now we need a place for the start process button, we still need the tabs, etc.).

* Moving new style along

Had to add custom background palette for dark/light mode.

* Carousel display and task cards for new display

* Grids, carousels, accordions, etc.

All in design requirement Desktop 27 (Figma file)

* All finished

Revamped, workflow implemented, rotating charts, dark mode checked, new scrollbars for more ipad-like feel, search working, etc. etc.

* Tweaks and good to go.

* Update MyProcesses.tsx

Remove console.log.

* Collapse process detail by default, and fix tasks label.

* Full screen containers

We don't want th default max width enforced by MUI.

* TopNav responsiveness and speedial

* Responsive grid areas

* Add task counts

* create a top level route for the new spiff ui from App.tsx w/ burnettk (#1586)

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

* Unused imports

* Clean up wonky pie chart.

* Remove hardcoded url

* Clean up info panel

* Fix menu button responsive text wrap wonk

* Put grid back

With data changes since there is more stuff in the first column (based on the design). I took a best guess.

* Remove cell focus outline with CSS overrides MUI

* Flyout Panel for demo (new look etc.)

* Task switching in panel.

* Cleanup tweaks pre-demo.

There is a bug in the "first select" of a row with tasks, I'm aware of it.

* Rework flow of data, make it simpler

Fixes a bug; when you clicked a PI row the first time, its tasks wouldn't load. If you did it again, everything worked. The way the code moved data to the InfoPanel was unclear, cleaning that up made the bug obvious.

* put back psycopg2 and mysqlclient

* Create useProcessModels.tsx

* Create useProcessGroups.tsx

* Update ProcessInstanceCard.tsx

Fixes task count display

* Refactor for top level routing

Keeping all views as children of SpiffUIV2 (will make swapping app easier).

* Update SpiffUIV2.tsx

Routing and view scaffolding set.

* Menu and button nice nice in dark mode etc.

* View transitions

* Process group/model data under control and feeding into view.

* Using RXJS for broadcasting to menu items.

* Update SpiffUIV2.tsx

* Config seemed broken (I couldn't start the app, Vite not found etc.)

I fixed by moving @preact/preset-vite to dependencies (this seems required, probably because it adds types and primitives that are used in runtime code or something) and making sure Node was up to date.

* Fix for Preact breaking rendering lifecycle

One of their PRs put a ridiculously low check on rerenders, and in dev/debug mode throws an app-crashing error, which affected the MUI-X Datagrid.

* Button components aware of stream

Also had to add a way for buttons to know what the view they nav to was loaded from the URL (e.g. a bookmark) to meet the design req.

* Have to make sure buttons that have no paths don't respond to href load logic.

* Layout for components, menu, treeview, theme tweaks

Needed to alter text.secondary at theme level to accommodate designs.

* Recurse through Process Group data to PM tree build tree for display

All set.

* Treeview complete

Also moved some things around to track with evolving app structure.

* Fully working tree with counters.

* Favorites/Recently used layout, components, icons, etc.

* Favorites and process groups displays

A bit naive, but for now gets the job done.

* Select of a group CArdor a group in the Tree updates view

Display PMs and PGs for any group, and some ideas to tie selecting a Card into the Tree. This kind of has to work, if you don't do it the tree seems useless.

* Create TreeItem wrapper

TreeItems don't carry any data that could be used for crumbs. Need to wrap TreeItem and add a property that lets you expand any node anywhere in the hierarchy.

* Update __init__.py

* Update StartProcess.tsx

Scrolling content area

* Tree expansion from cards working as expected

Have to do the collapse side of it, but so far so good. Also tweaks to scrolling area.

* Wrap search bar and padding tweaks

More explicit layout around child components.

* Tree/card tracking working.

Highlighting based on clicks, etc, very fancy.

* Tree -> Cards -> Tree fully working, starting breadcrumbs.

Breadcrumbs will be how this works on mobile, nobody will use the tree on a phone.

* Collapse button will be used all over

* More wiring details tree -> card -> tree -> search

When search returns results, the tree or card nav is no longer the control. Use imperative ref to wipe expanded nodes. Also, make sure that if models and groups are returned that the accordions expand.

Remove console logs.

* Cross group model highlighting

Tricky one: If you have several folders expanded in the tree, and are clicking through the models, if you click a model in a "non active" group, we have to clear the current group assets and load that group's. Since the cards come after the switch, they don't hear the clickstream that initiated them, so the model that was selected in the tree won't update the associated card's style. Fix that by passing in the lastSelected object to the cards and inspecting on init.

* Localstorage, favorites, default favorite view (vs. groups), etc.

* Guard no groups.

* Update StartProcess.tsx

Padding change opened up window, needed to adjust.

* Update StartProcess.tsx

* Update LocalStorageService.ts

Update empty string to empty array.

* Tree panel collapse/expand

With everything else going on, this was tricky to get responsive, but working as expected now. Also tweak to fix annoying thing in MenuItems. Also made sure dark mode tracks.

* Hover effects for cards and text cleanups

Hover is useless on touch screens, but otherwise this is a bit more in keeping with the design.

* Breadcrumbs, root element and favorites in collapse tree view, etc.

This pretty much nails it.

* Add Favorite Count

Add count to favorites indicators. Helps user make sense of "I'm clicking it why are no items loading (because there are zero favorites).

* Docs, cleanup

Also fix that NavBar logo issue in the "old" app.

* fix breadcrumb re-render issue when saving json file for first time w/ burnettk

* fix / ignore eslint issues

* add types for react-slick

* ignore ts error

* revert nav bar to undo logout logo change w/ burnettk

* Update spiffworkflow-frontend/src/a-spiffui-v2/views/Dashboards/infopanels/ProcessInfo.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update spiffworkflow-frontend/src/a-spiffui-v2/views/StartProcess/StartProcess.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Tim Consolazio <tcoz@tcoz.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-09 10:39:29 -07:00
dependabot[bot]
e6cc81ac76
Bump @typescript-eslint/eslint-plugin in /spiffworkflow-frontend (#1894)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.14.1 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 14:52:07 +00:00
dependabot[bot]
5e6f932730
Bump react-icons from 5.0.1 to 5.2.1 in /spiffworkflow-frontend (#1885)
Bumps [react-icons](https://github.com/react-icons/react-icons) from 5.0.1 to 5.2.1.
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](https://github.com/react-icons/react-icons/compare/v5.0.1...v5.2.1)

---
updated-dependencies:
- dependency-name: react-icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 14:45:09 +00:00
dependabot[bot]
6fd17eda52
Bump @rjsf/utils from 5.18.5 to 5.19.0 in /spiffworkflow-frontend (#1878)
* Bump @rjsf/utils from 5.18.5 to 5.19.0 in /spiffworkflow-frontend

Bumps [@rjsf/utils](https://github.com/rjsf-team/react-jsonschema-form) from 5.18.5 to 5.19.0.
- [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.18.5...5.19.0)

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

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

* typescript things

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-07-05 11:14:06 -07:00
Thiago Robles
cf31bddbc7
Duplicate help text removed from typeahead field (#1871) 2024-07-04 11:39:38 -07:00
dependabot[bot]
bc3eaa692e
Bump dmn-js from 16.1.0 to 16.5.0 in /spiffworkflow-frontend (#1869)
Bumps [dmn-js](https://github.com/bpmn-io/dmn-js/tree/HEAD/packages/dmn-js) from 16.1.0 to 16.5.0.
- [Release notes](https://github.com/bpmn-io/dmn-js/releases)
- [Changelog](https://github.com/bpmn-io/dmn-js/blob/develop/packages/dmn-js/CHANGELOG.md)
- [Commits](https://github.com/bpmn-io/dmn-js/commits/v16.5.0/packages/dmn-js)

---
updated-dependencies:
- dependency-name: dmn-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 14:51:56 +00:00
dependabot[bot]
d3c8151bad
Bump vite from 5.2.8 to 5.3.2 in /spiffworkflow-frontend (#1853)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.8 to 5.3.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 14:45:35 +00:00