Commit Graph

1196 Commits

Author SHA1 Message Date
jasquat 73df645408
Feature/upgrade react router dom (#1050)
* updated react-router-dom to match react-router version w/ burnettk

* disable save button on process model edit diagram page unless a change has been made w/ burnettk

* remove web components from form data on extensions page to avoid potential errors w/ burnettk

* updates based on coderabbit w/ burnettk

* fixed cypress issues

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-16 11:01:26 -05:00
Kevin Burnett 7c8d9e2db1
Feature/tcoz dev updated (#1051)
* Update README.md

Some notes for people that might want to run full-on native, with detail about how Mac hijacks port 7000 and how to get around it.

* Revert "Update README.md"

This reverts commit 096887c26d.

* README update and native code patch

Some details for user that might be running Python3, Mac, and want to run everything locally/natively.

* Implement basic tooltips

Uses MUI tooltip, as it behaves more predictably with existing styling, and enables top-level theme config.

Top-level configuration for all MUI components can be controlled via overriding the existing theme. See index.tsx. This could be done per user for customization, etc.

Enabling JSON module imports in tsconfig.json seemed to fix the error in ReactDiagramEditor

* get docs from main that have already been merged from tcoz and tweaked

* created SpiffTooltip component so we can change how tooltips operate across the board w/ burnettk

* update tooltip title copy

* remove arrow not needed in caller

* types and wording

---------

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>
2024-02-16 07:02:45 -08:00
dependabot[bot] 7e19af743f
Bump @testing-library/react in /spiffworkflow-frontend (#1053)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.4.0 to 14.2.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v13.4.0...v14.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/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-02-16 14:38:57 +00:00
Tim Consolazio b1b330f8cb
Update DataStoreForm.tsx (#1049)
Add required indicator to schema field title.
2024-02-15 07:58:39 -08:00
dependabot[bot] 87b034acf2
Bump @types/jest from 28.1.8 to 29.5.12 in /spiffworkflow-frontend (#1045)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 28.1.8 to 29.5.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  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-02-15 15:00:14 +00:00
jbirddog 330f18fa4a
Fix two issues related to the data store type selection (#1033) 2024-02-15 08:33:57 -05:00
dependabot[bot] fa22d286de
Bump @testing-library/jest-dom in /spiffworkflow-frontend (#1035)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.5 to 6.4.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v6.4.2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  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-02-14 15:05:05 +00:00
jasquat 6f0e59409c
Feature/update extension docs (#1028)
* updated the docs around extensions and updated extensions interfaces in the frontend w/ burnettk

* allow specifying files in component args for extensions and added some support for CustomForm from extensions w/ burnettk

* added comments to the extension interfaces file to better describe how to create them

* finished adding comments to extension interfaces

* added comments at top and some minor tweaks

* some fixes for extensions w/ burnettk

* some fixes for extensions w/ burnettk

* ignore eslint issues for now w/ burnettk

* removed deprecated extension items w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-13 16:48:13 -05:00
dependabot[bot] a32ccf8caf
Bump @carbon/icons-react in /spiffworkflow-frontend (#1025)
Bumps [@carbon/icons-react](https://github.com/carbon-design-system/carbon/tree/HEAD/packages/icons-react) from 11.31.0 to 11.36.0.
- [Release notes](https://github.com/carbon-design-system/carbon/releases)
- [Changelog](https://github.com/carbon-design-system/carbon/blob/main/docs/release.md)
- [Commits](https://github.com/carbon-design-system/carbon/commits/v11.36.0/packages/icons-react)

---
updated-dependencies:
- dependency-name: "@carbon/icons-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>
2024-02-13 15:20:38 +00:00
dependabot[bot] 0174472f50
Bump eslint-config-prettier in /spiffworkflow-frontend (#1017)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.8.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.8.0...v9.1.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  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-02-12 14:37:56 +00:00
burnettk 08002d2c9c
fix some links 2024-02-11 12:28:57 -05:00
jasquat 90c49f8e5c
a better fix. just set the extensionUxElements to a blank array instead of creating a new state 2024-02-09 11:06:05 -05:00
jasquat 7a62a8688c
also check if user is able to load extensions as well as if they loaded so guest forms can work 2024-02-09 11:05:53 -05:00
dependabot[bot] 75a1d19586
Bump @testing-library/user-event in /spiffworkflow-frontend (#1011)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.4.3 to 14.5.2.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.4.3...v14.5.2)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  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-02-09 15:26:26 +00:00
jbirddog b6bdd9780f
Allow adding a data store at the top level (#1004)
* Show tiles at the top level

* Add a data store from the top level

* Pre pr cleanup
2024-02-08 11:50:31 -08:00
dependabot[bot] d1e30f9d91
Bump @casl/ability from 6.4.0 to 6.5.0 in /spiffworkflow-frontend (#1000)
Bumps [@casl/ability](https://github.com/stalniy/casl/tree/HEAD/packages/casl-ability) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/stalniy/casl/releases)
- [Changelog](https://github.com/stalniy/casl/blob/master/packages/casl-ability/CHANGELOG.md)
- [Commits](https://github.com/stalniy/casl/commits/@casl/ability@6.5.0/packages/casl-ability)

---
updated-dependencies:
- dependency-name: "@casl/ability"
  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-02-08 15:31:46 +00:00
burnettk 6e4ab1617e
fix lint 2024-02-07 17:59:07 -05:00
jasquat 9f188c1204
remove old form builder and references to it w/ burnettk (#985)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-02-07 09:53:44 -08:00
Kevin Burnett cdfda1989b
bump bpmn js spiff for data store update (#984)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-07 08:59:43 -08:00
dependabot[bot] bdcc67947a
Bump eslint-plugin-jsx-a11y in /spiffworkflow-frontend (#982)
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.7.1 to 6.8.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.7.1...v6.8.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  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-02-07 08:59:08 -08:00
jbirddog 305a6fb67a
KKV Revamp (#968) 2024-02-07 09:01:52 -05:00
dependabot[bot] 7375b6d66a
Bump @babel/preset-react in /spiffworkflow-frontend (#973)
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.18.6 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-preset-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-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>
2024-02-06 16:06:17 +00:00
dependabot[bot] 11b26c4cf0
Bump react-icons from 4.8.0 to 5.0.1 in /spiffworkflow-frontend (#971)
Bumps [react-icons](https://github.com/react-icons/react-icons) from 4.8.0 to 5.0.1.
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](https://github.com/react-icons/react-icons/compare/v4.8.0...v5.0.1)

---
updated-dependencies:
- dependency-name: react-icons
  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-02-06 07:06:27 -08:00
Kevin Burnett 3e09ef43a3
update bpmn js spiff for data stores update (#969)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-05 13:07:20 -08:00
dependabot[bot] 58b794dba7
Bump web-vitals from 3.3.1 to 3.5.2 in /spiffworkflow-frontend (#960)
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 3.3.1 to 3.5.2.
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v3.3.1...v3.5.2)

---
updated-dependencies:
- dependency-name: web-vitals
  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-02-05 07:17:01 -08:00
Ayoub Ait Lachgar 15cec29680
Add data stores API (#949) 2024-02-02 20:48:06 +01:00
dependabot[bot] 007facc9d5
Bump react-router from 6.10.0 to 6.22.0 in /spiffworkflow-frontend (#946)
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 6.10.0 to 6.22.0.
- [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.22.0/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-02-02 10:44:10 -08:00
burnettk 539a9f15de
remove unused tanstack/react-table 2024-02-01 16:45:51 -05:00
Kevin Burnett 020519a724
support bpmn executable property (#934)
* support executable property

* process model with no primary file is not executable

* filter by executable and primary file and avoid snagging g.user from service

* kill Start buttons on process group list as well

* use more similar code to check is executable and write integration test

* add a test and improve a variable name

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-01 10:57:12 -08:00
burnettk 8ddeff9aac
go back to version of bpmn js spiff before PR 903 and ayoub drop 1 2024-02-01 12:34:48 -05:00
burnettk 4cb1f33ac9
fix lint 2024-01-30 13:18:44 -05:00
Kevin Burnett b4f85925d6
make data store component respect permissions (#929)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-30 09:43:05 -08:00
Kevin Burnett 5c352a87d7
update bpmn-js-spiffworkflow (#903)
* update bpmn-js-spiffworkflow

* minor fixes to cypress w/ burnettk

* pull in bpmn-js-spiffworkflow/pull/64

* bump to get non-ayoub change

* bump

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-30 08:54:05 -08:00
jasquat f0f4bcce12
Feature/homepage extension filter refactor (#919)
* WIP: initial work to have a home page created from an extension w/ burnettk

* added support to display an extension as the root page w/ burnettk

* allow extensions to add new routes to base routes w/ burnettk

* use page instead of creating new key route w/ burnettk

* added components to support pi tables in extensions w/ burnettk

* allow using asterisks to mark words as bold in process instance list table

* moved table component from InstancesListTable to own component w/ burnettk

* filters are somewhat working again w/ burnettk

* default homepage uses the table without filters component now w/ burnettk

* renamed instance list tables to be more appropriate w/ burnettk

* display errors if list table is used incorrectly w/ burnettk

* fixed issue where columns were not displaying in the filter list

* pyl

* rely on changes in report hash to determine if report hash state needs updating

* only show link to report if there are instances to show

* many updates for filtering to remove the apply button and clean things up w/ burnettk

* some more fixes for too many renderings w/ burnettk

* advanced filters are working again w/ burnettk

* clear is working again w/ burnettk

* fixed a few linting errors and warnings w/ burnettk

* fixed some cypress tests

* if there are errors then display them right away instead of trying to put together the other elements

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-26 11:41:07 -05:00
jbirddog 4758634c99
Show Data Store tiles on the Process Group page (#917)
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
2024-01-24 10:15:08 -05:00
Kevin Burnett f462457f92
validate prefix and make saveFile async (#915)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-23 14:08:44 -08:00
jasquat 6b0625ea5d
added debounce to rjsf date picker to avoid converting dates too early when typing (#909)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-19 11:18:52 -05:00
jasquat 2aa1278648
do not console log hideCloseButton w/ burnettk 2024-01-18 09:40:53 -05:00
burnettk 3aabc2cdae
Revert "bump bpmn-js-spiffworkflow"
This reverts commit a676088401.
2024-01-11 15:33:32 -05:00
jbirddog a8a32b60fa
Add data store at the process group level (#859) 2024-01-10 09:48:31 -05:00
jasquat 72cedd6e7e
feature/fix-rjsf-date-with-abbr-month (#869)
* handle invalid dates better to better support various date formats w/ burnettk

* use getTime to check for date validity instead

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-09 14:01:32 -05:00
Kevin Burnett 687b90bc94
update dmn modeling component versions (#857)
* update dmn-js and dmn-js-shared

* update dmn-js-properties-panel

* fixed broken cypress test w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-01-09 14:00:53 -05:00
burnettk a676088401
bump bpmn-js-spiffworkflow 2024-01-09 13:55:46 -05:00
Kevin Burnett 08547bbab7
get breadcrumb on process group show (#862)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-09 07:21:13 -08:00
jasquat d5c5bc12ae
Feature/side by side layout (#858)
* WIP: work for side-by-side layout in json forms w/ burnettk

* added support in ObjectFieldTemplate to support side-by-side layout w/ burnettk

* added a restricted grid template for half width forms

* display the error message if field mentioned in ui:layout but the field does not exist

* added docs for side-by-side layout w/ burnettk

* update script

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-01-05 15:49:40 -05:00
jasquat 4f5a590e1e
only attempting converting a date string if it looks like a date without year first w/ burnettk 2024-01-04 17:17:02 -05:00
jasquat c96b4b751a
Merge branch 'main' of github.com:sartography/spiff-arena 2024-01-04 11:12:37 -05:00
jasquat d58e02bed3
NoneTask can also be a human task type w/ burnettk 2024-01-04 11:12:33 -05:00
jbirddog 746a20bc4c
Disable upload button if filesToUpload is null (#856) 2024-01-04 10:35:01 -05:00
jasquat 4c20759e37
fixes the date picker so it does not change the date after selecting it (#855)
* fixes the date picker so it does not change the date after selecting it

* Update spiffworkflow-frontend/src/services/DateAndTimeService.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@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-01-04 10:23:56 -05:00