Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #555

Merged
merged 206 commits into from
Jun 19, 2023
Merged

Dev #555

merged 206 commits into from
Jun 19, 2023

Conversation

alonp99
Copy link
Collaborator

@alonp99 alonp99 commented Jun 19, 2023

Description

Elaborate on the subject, motivation, and context.

Related issues

  • Provide a link to each related issue.

Breaking changes

  • Describe the breaking changes that this pull request introduces.

How these changes were tested

  • Describe the tests that you ran to verify your changes, including devices, operating systems, browsers and versions.

Examples and references

  • Links, screenshots, and other resources related to this change.

Checklist

  • [] I have read the contribution guidelines of this project
  • [] I have read the style guidelines of this project
  • [] I have performed a self-review of my own code
  • [] I have commented my code, particularly in hard-to-understand areas
  • [] I have made corresponding changes to the documentation
  • [] My changes generate no new warnings and errors
  • [] New and existing tests pass locally with my changes

Omri-Levy and others added 30 commits May 1, 2023 16:14
* chore(version control): init commit for wip pr

* refactor(*): now dynamically rendering the case-management routes

added an api config for companies and now fetching the route data dynamically

* refactor(usekind): added strict false to useKind

* feat(filter id): added filter id to search query so it can be sent to the server on fetch

* fix(workflows-service): added eslint ignore to ts ignore due to helmet module is not resolved
* feat(useindividual): created an API which allows configuring content blocks

allows re-ordering of blocks, block cells, and omitting cells

* feat(subject.actions): added a wip execute tasks button

* refactor(subject.actions / header): moved actions avatar to header and replaced the settings button

* refactor(*): the backoffice now looks closer to the figma document

* refactor(*): the backoffice now resembles figma more closely

* feat(backoffice-v2): added re-assign button
* Backoffice case filter (#202)

* chore(version control): init commit for wip pr

* refactor(*): now dynamically rendering the case-management routes

added an api config for companies and now fetching the route data dynamically

* refactor(usekind): added strict false to useKind

* feat(filter id): added filter id to search query so it can be sent to the server on fetch

* fix(workflows-service): added eslint ignore to ts ignore due to helmet module is not resolved

* Change individual view to render tasks as blocks (#213)

* feat(useindividual): created an API which allows configuring content blocks

allows re-ordering of blocks, block cells, and omitting cells

* feat(subject.actions): added a wip execute tasks button

* refactor(subject.actions / header): moved actions avatar to header and replaced the settings button

* refactor(*): the backoffice now looks closer to the figma document

* refactor(*): the backoffice now resembles figma more closely

* feat(backoffice-v2): added re-assign button

* style(prettier): applied format changes

* chore(pnpm): updated lock file

* chore(version control): init commit for wip pr

* refactor(backoffice-v2): removed google sign in, sign in auto complete, and password validation

* refactor(*): connected the backoffice get session endpoint to the workflows service

* feat(wf-model): add buisness model

* feat: business module

* update pnpm lock

* update pnpm lock

* feat(*): added session-based authentication

* refactor(*): replaced instances of username with email, made auth work with email

also displaying the operator's email in the backoffice UI

* refactor(auth): replaced cookie-session with express-session

* refactor(express-session): now using rolling true for extending the session

* feat(backoffice-v2): improved session expired behavior and added invalid credentials message

* refactor(workflows-service): requested pr changes - session domain and session secret

* refactor(backoffice-v2): removed apiClient comment per requested in pr review, can now disable poll

passing false to env VITE_POLLING_INTERVAL disables polling, now done via the env schema

* fix(workflows-service): fixed user.controller.test.ts not throwing error on not found

* fix(version control): removed .idea from remote

* revert(@zerodevx/svelte-toast): reverted version upgraded by synk bot from 0.9.3 back to 0.8.2

---------

Co-authored-by: Alon Peretz <[email protected]>
* chore(version control): init commit for wip pr

* feat(*): added a workflow definition for kyb, and updated intent logic

intent logic at the backend and headless example now use intentName from request

* feat(*): can now upload and display a pdf in the example and backoffice

* feat(*): checkpoint

* feat(*): checkpoint

* Alonp/feat/kyb example workflow (#263)

* feat(wf-servuce): business seed

* fix(headless example): adding busniess to the headless example, checking and fixing the api

* feat(kyb): business flow works up to manaual review

* merge withn main

* feat(backoffice-v2): now disabling the approve button once the task has been approved

* fix(backoffice-v2): fixed missing details data, was a bad env schema for booleans

* Alonp/feat/kyb example workflow (#265)

* feat(wf-servuce): business seed

* fix(headless example): adding busniess to the headless example, checking and fixing the api

* feat(kyb): business flow works up to manaual review

* merge withn main

* feat: buseniess list

---------

Co-authored-by: Alon Peretz <[email protected]>
…sed on example type (kyc/kyb)

also added downloadable mock for certificate of incorporation
* feat: add resolvedAt column

* feat: fill resolveAt when workflow is in final state

* style: fix classes order

* fix(workflow.service.ts): not mutate `data` argument
MatanYadaev and others added 26 commits June 13, 2023 16:45
* Apply filters on workflows instead of entity (#496)

* feat(backoffice-v2): added react-router-dom

* feat(backoffice-v2): added a react router provider

* feat(backoffice-v2): re-added redirect to en locale

* feat(backoffice-v2): re-added root error component

* feat(backoffice-v2): the root route now uses the Root component

* feat(backoffice-v2): added the locale route

* feat(backoffice-v2): added the case management route

* feat(backoffice-v2): added the sign in route

* feat(backoffice-v2): added entities route and replaced imports of tanstack router

* feat(backoffice-v2): added the entity by id route and refactored its loader

* feat(backoffice-v2): wip work on search query params

* refactor(backoffice-v2): removed tanstack router

* feat(backoffice-v2): handling null values in search params and default filters

* fix(backoffice-v2): it is now possible to remove filters with a catch clause

* refactor(backoffice-v2): moved loaders to separate files

* fix(backoffice-v2): fixed sign out redirect

* refactor(backoffice-v2): moved locale component to the locale directory

* fix(backoffice-v2): no longer encoding the url

* fix(backoffice-v2): filters no longer revert to defaults when all filters are unselected

* feat: implement backend

* fix(backoffice-v2): fixes default search query params returning when unchecking filters

solved by adding a placeholder for null and empty arrays for qs

* fix(backoffice-v2): reduced padding on case list item - solves axis x overflow

* refactor(backoffice-v2): refactored routes to pages

* docs(backoffice-v2): added comments to the stringify/parse search params functions

* feat: refactor completed

* fix: pr fixes

* fix: pr fixes

* fix: tests

* fix: pr comments

---------

Co-authored-by: Omri Levy <[email protected]>

* fix(useEntity): make actions disabled when there is a decision status

* feat: split workflows endpoint into two

* feat: support sorting

* fix: pr review

* Cases pagination (#509)

* fix(useEntity): make actions disabled when there is a decision status

* feat: split workflows endpoint into two

* feat: support sorting

* fix: pr review

* feat: pagination

* fix: remove filterName

* feat: client pagination

* feat: backend pagination

* feat: search

* fix: code review

* fix: document id as uuid

* fixed test

* fix(workflows-service): added optional chaining to properties which previously resolved to null

* fix: pagination

* add entity to filters

* fix

---------

Co-authored-by: Omri Levy <[email protected]>
Co-authored-by: Alon Peretz <[email protected]>
* feat(workflows-websocket-service): create workflows websocket service

create a new service for supporting websockets in workflows service and reduce the usage of polling
in backoffice ui

BREAKING CHANGE: Create a brand new service

feat #328


---------

Co-authored-by: teselil <[email protected]>
* added watch for form

* feat: finalized update form of category type

* removed log

* feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown

added usewatchdropdown logic for category to type logic

* updated compose to edit naming

* feat(merged with dev): merged with dev

merged with dev + fixed conflicts + updated code after format changes

* updated use initial category set

* added types to uniqueArrayByKey

* fixed entries to document

* minor refactoring

* updated common version

* added find value
* feat(database-infra): generated infra for test creations ( test & nest )

generate database infra for test creations, generated test for end-user in order to test the
test-infra

* feat: generated global setup and teardown

* updated DATABASE_SCHEMA_NAME using zod

* fixed comments

* removed unnecessary actions and docker compose

* updated lock

* feat: running foramt

* updated DB_CONTAINER type

* feat(added testglobal): added TestGlobal

* updated pnpm lock

* feat: added TESTCONTAINERS_RYUK_DISABLED true

* ran commitlint

* removed unnecessary wawait

* removed test using windows

* updated test runnign strategy

* removed windows test as it does not support db request

* feat(added support for unit test ing test and e2e test): added support for unit test

added support for unit test, integration test and e2e test

* added different ci for ubuntu and windows

* updated commons

* removed unit test from browser sdk

* removed unit test from workflow

* fixed package json

* removed unit test from node-sdk

* added crossenv

* merged with dev

* fixed enduser test

* reverted removal of unittest

* ran format

* updated nx json

* added unit test for workflow core

* fixed nx json

* fixed duplicated tests configuration on nx

* reverted remoival of lint

* merged with dev
…er (#511)

* feat: added handling of prisma validation errors to workflow /run controller

* feat: moved prisma validation filter to global level

* feat: implemented prisma validation errors parser & added parse output to filter

* feat: added handling of unknown arguments exceptions from prisma

* feat: added ansi codes removal from exception

* use clean ansi fn

---------

Co-authored-by: Alon Peretz <[email protected]>
* feat(examples-kyb): kyb example w/ external request

* feat(examples-kyb): kyb example w/ external request
* feat(headless-example): checkpoint

* feat(*): checkpoint

* fix(workflows-service): fixed wrong destination on diskStorage

* fix(workflows-service): fixed de-sync between external uploadFile and internal

affected the fileNameOnDisk property

* fix(*): fixed headless-example file upload flow

* fix(headless-example): updated the name of the mock certificate of incorporation pdf file

* feat(headless-example): now using the workflow document decisions for rejected/approved/revisions

* refactor(headless-example): updated the condition for displaying re-submission ui

* refactor(headless-example): replaced header auth with api key auth for the headless example

* Apply filters on workflows instead of entity (#496)

* feat(backoffice-v2): added react-router-dom

* feat(backoffice-v2): added a react router provider

* feat(backoffice-v2): re-added redirect to en locale

* feat(backoffice-v2): re-added root error component

* feat(backoffice-v2): the root route now uses the Root component

* feat(backoffice-v2): added the locale route

* feat(backoffice-v2): added the case management route

* feat(backoffice-v2): added the sign in route

* feat(backoffice-v2): added entities route and replaced imports of tanstack router

* feat(backoffice-v2): added the entity by id route and refactored its loader

* feat(backoffice-v2): wip work on search query params

* refactor(backoffice-v2): removed tanstack router

* feat(backoffice-v2): handling null values in search params and default filters

* fix(backoffice-v2): it is now possible to remove filters with a catch clause

* refactor(backoffice-v2): moved loaders to separate files

* fix(backoffice-v2): fixed sign out redirect

* refactor(backoffice-v2): moved locale component to the locale directory

* fix(backoffice-v2): no longer encoding the url

* fix(backoffice-v2): filters no longer revert to defaults when all filters are unselected

* feat: implement backend

* fix(backoffice-v2): fixes default search query params returning when unchecking filters

solved by adding a placeholder for null and empty arrays for qs

* fix(backoffice-v2): reduced padding on case list item - solves axis x overflow

* refactor(backoffice-v2): refactored routes to pages

* docs(backoffice-v2): added comments to the stringify/parse search params functions

* feat: refactor completed

* fix: pr fixes

* fix: pr fixes

* fix: tests

* fix: pr comments

---------

Co-authored-by: Omri Levy <[email protected]>

* fix(useEntity): make actions disabled when there is a decision status

* feat: split workflows endpoint into two

* refactor(headless-example): improved flow behavior and added clear user button

* feat: support sorting

* fix: pr review

* Cases pagination (#509)

* fix(useEntity): make actions disabled when there is a decision status

* feat: split workflows endpoint into two

* feat: support sorting

* fix: pr review

* feat: pagination

* fix: remove filterName

* feat: client pagination

* feat: backend pagination

* feat: search

* fix: code review

* added watch for form

* feat: finalized update form of category type

* removed log

* added test env ci

* feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown

added usewatchdropdown logic for category to type logic

* added test env ci

* updated compose to edit naming

* fix: document id as uuid

* fixed test

* fix(workflows-service): added optional chaining to properties which previously resolved to null

* feat(merged with dev): merged with dev

merged with dev + fixed conflicts + updated code after format changes

* fix(*): can now see the re-submit ui and re-upload documents

* updated use initial category set

* added types to uniqueArrayByKey

* fixed entries to document

* minor refactoring

* updated common version

* fix(backoffice-v2): no longer rendering an empty block if there's no entity data

* fix(*): now displaying the entity data when uploading docs from the headless example

* feat(backoffice-v2): fixed the size of the navbar checkboxes

* feat(*): checkpoint

* fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns

* fix(backoffice-v2): fixed document category initilizing with undefined

* revert(backoffice-v2): reverted the changes to useInitialSetCategory

* fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller

shadcn select form controller placement

* fix(backoffice-v2): fixed useWatchDropdownOptions

no longer overrides document type to "undefined"

* fix(seed.ts): updated seed.ts so information shows and is editable for the example

* fix(*): fixed useUpdateWorkflowByIdMutation

previously used the wrong query keys and updated data wrong

* fix(*): no longer returning an empty function to appease eslint

* fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here

* refactor(workflows-service): moved assignIdToDocuments into the repository level for create

moved to updateWorkflowRuntimeData for update

* fix(setformdata): removed redundant useState

* Fix E2E flow for headless example (affects backoffice, workflows service, and headless example) (#548)

* feat(headless-example): checkpoint

* feat(*): checkpoint

* fix(workflows-service): fixed wrong destination on diskStorage

* fix(workflows-service): fixed de-sync between external uploadFile and internal

affected the fileNameOnDisk property

* fix(*): fixed headless-example file upload flow

* fix(headless-example): updated the name of the mock certificate of incorporation pdf file

* feat(headless-example): now using the workflow document decisions for rejected/approved/revisions

* refactor(headless-example): updated the condition for displaying re-submission ui

* refactor(headless-example): replaced header auth with api key auth for the headless example

* refactor(headless-example): improved flow behavior and added clear user button

* feat(vite.config.ts): added sourcemaps

* update common

* fix(*): can now see the re-submit ui and re-upload documents

* Blokh/fix/refactor update category (#517)

* added watch for form

* feat: finalized update form of category type

* removed log

* feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown

added usewatchdropdown logic for category to type logic

* updated compose to edit naming

* feat(merged with dev): merged with dev

merged with dev + fixed conflicts + updated code after format changes

* updated use initial category set

* added types to uniqueArrayByKey

* fixed entries to document

* minor refactoring

* updated common version

* added find value

* Blokh/feat/test infra (#500)

* feat(database-infra): generated infra for test creations ( test & nest )

generate database infra for test creations, generated test for end-user in order to test the
test-infra

* feat: generated global setup and teardown

* updated DATABASE_SCHEMA_NAME using zod

* fixed comments

* removed unnecessary actions and docker compose

* updated lock

* feat: running foramt

* updated DB_CONTAINER type

* feat(added testglobal): added TestGlobal

* updated pnpm lock

* feat: added TESTCONTAINERS_RYUK_DISABLED true

* ran commitlint

* removed unnecessary wawait

* removed test using windows

* updated test runnign strategy

* removed windows test as it does not support db request

* feat(added support for unit test ing test and e2e test): added support for unit test

added support for unit test, integration test and e2e test

* added different ci for ubuntu and windows

* updated commons

* removed unit test from browser sdk

* removed unit test from workflow

* fixed package json

* removed unit test from node-sdk

* added crossenv

* merged with dev

* fixed enduser test

* reverted removal of unittest

* ran format

* updated nx json

* added unit test for workflow core

* fixed nx json

* fixed duplicated tests configuration on nx

* reverted remoival of lint

* merged with dev

* feat: added handling of prisma validation errors to workflow controller (#511)

* feat: added handling of prisma validation errors to workflow /run controller

* feat: moved prisma validation filter to global level

* feat: implemented prisma validation errors parser & added parse output to filter

* feat: added handling of unknown arguments exceptions from prisma

* feat: added ansi codes removal from exception

* use clean ansi fn

---------

Co-authored-by: Alon Peretz <[email protected]>

* fix(backoffice-v2): no longer rendering an empty block if there's no entity data

* fix(*): now displaying the entity data when uploading docs from the headless example

* feat(backoffice-v2): fixed the size of the navbar checkboxes

* feat(*): checkpoint

* add kyb w/ external request (#541)

* feat(examples-kyb): kyb example w/ external request

* feat(examples-kyb): kyb example w/ external request

* fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns

* fix(backoffice-v2): fixed document category initilizing with undefined

* revert(backoffice-v2): reverted the changes to useInitialSetCategory

* fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller

shadcn select form controller placement

* fix(backoffice-v2): fixed useWatchDropdownOptions

no longer overrides document type to "undefined"

* fix(backoffice-v2): fixed document type resetting to "undefined"

* fix(*): no longer using hardcoded propertiesSchema

* update common lib

* feat(workflow-def): enable mulitple active workflows

* update pnpm lock

* fix(seed.ts): updated seed.ts so information shows and is editable for the example

* updated cookie secure to false for testing

* added secure proxy to cookie logic

* added trust proxy key to app

* added trust proxy key to app

* added trust proxy key to app

* reverted unnecessary changes

* reverted unnecessary changes

* added secureProxy

* removed secured of cookie

* updated removed http only

* added secured false

* remove cookie domaun

* fix(*): fixed useUpdateWorkflowByIdMutation

previously used the wrong query keys and updated data wrong

* fix(*): no longer returning an empty function to appease eslint

* fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here

* refactor(workflows-service): moved assignIdToDocuments into the repository level for create

moved to updateWorkflowRuntimeData for update

* fix(setformdata): removed redundant useState

---------

Co-authored-by: Alon Peretz <[email protected]>
Co-authored-by: Daniel Blokh <[email protected]>
Co-authored-by: Ilya Rudnev <[email protected]>
Co-authored-by: blokh <[email protected]>

* refactor(backoffice-v2): made the parentMachine object have a default of an empty object

creating workflows from the api will no longer fail if no parentMachine was specified

* revert(backoffice-v2): reverted mistakenly workflow by id schema was removed

* Fix workflow by id zod schema on test (#550)

* feat(headless-example): checkpoint

* feat(*): checkpoint

* fix(workflows-service): fixed wrong destination on diskStorage

* fix(workflows-service): fixed de-sync between external uploadFile and internal

affected the fileNameOnDisk property

* fix(*): fixed headless-example file upload flow

* fix(headless-example): updated the name of the mock certificate of incorporation pdf file

* feat(headless-example): now using the workflow document decisions for rejected/approved/revisions

* refactor(headless-example): updated the condition for displaying re-submission ui

* refactor(headless-example): replaced header auth with api key auth for the headless example

* refactor(headless-example): improved flow behavior and added clear user button

* feat(vite.config.ts): added sourcemaps

* update common

* fix(*): can now see the re-submit ui and re-upload documents

* Blokh/fix/refactor update category (#517)

* added watch for form

* feat: finalized update form of category type

* removed log

* feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown

added usewatchdropdown logic for category to type logic

* updated compose to edit naming

* feat(merged with dev): merged with dev

merged with dev + fixed conflicts + updated code after format changes

* updated use initial category set

* added types to uniqueArrayByKey

* fixed entries to document

* minor refactoring

* updated common version

* added find value

* Blokh/feat/test infra (#500)

* feat(database-infra): generated infra for test creations ( test & nest )

generate database infra for test creations, generated test for end-user in order to test the
test-infra

* feat: generated global setup and teardown

* updated DATABASE_SCHEMA_NAME using zod

* fixed comments

* removed unnecessary actions and docker compose

* updated lock

* feat: running foramt

* updated DB_CONTAINER type

* feat(added testglobal): added TestGlobal

* updated pnpm lock

* feat: added TESTCONTAINERS_RYUK_DISABLED true

* ran commitlint

* removed unnecessary wawait

* removed test using windows

* updated test runnign strategy

* removed windows test as it does not support db request

* feat(added support for unit test ing test and e2e test): added support for unit test

added support for unit test, integration test and e2e test

* added different ci for ubuntu and windows

* updated commons

* removed unit test from browser sdk

* removed unit test from workflow

* fixed package json

* removed unit test from node-sdk

* added crossenv

* merged with dev

* fixed enduser test

* reverted removal of unittest

* ran format

* updated nx json

* added unit test for workflow core

* fixed nx json

* fixed duplicated tests configuration on nx

* reverted remoival of lint

* merged with dev

* feat: added handling of prisma validation errors to workflow controller (#511)

* feat: added handling of prisma validation errors to workflow /run controller

* feat: moved prisma validation filter to global level

* feat: implemented prisma validation errors parser & added parse output to filter

* feat: added handling of unknown arguments exceptions from prisma

* feat: added ansi codes removal from exception

* use clean ansi fn

---------

Co-authored-by: Alon Peretz <[email protected]>

* fix(backoffice-v2): no longer rendering an empty block if there's no entity data

* fix(*): now displaying the entity data when uploading docs from the headless example

* feat(backoffice-v2): fixed the size of the navbar checkboxes

* feat(*): checkpoint

* add kyb w/ external request (#541)

* feat(examples-kyb): kyb example w/ external request

* feat(examples-kyb): kyb example w/ external request

* fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns

* fix(backoffice-v2): fixed document category initilizing with undefined

* revert(backoffice-v2): reverted the changes to useInitialSetCategory

* fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller

shadcn select form controller placement

* fix(backoffice-v2): fixed useWatchDropdownOptions

no longer overrides document type to "undefined"

* fix(backoffice-v2): fixed document type resetting to "undefined"

* fix(*): no longer using hardcoded propertiesSchema

* update common lib

* feat(workflow-def): enable mulitple active workflows

* update pnpm lock

* fix(seed.ts): updated seed.ts so information shows and is editable for the example

* updated cookie secure to false for testing

* added secure proxy to cookie logic

* added trust proxy key to app

* added trust proxy key to app

* added trust proxy key to app

* reverted unnecessary changes

* reverted unnecessary changes

* added secureProxy

* removed secured of cookie

* updated removed http only

* added secured false

* remove cookie domaun

* fix(*): fixed useUpdateWorkflowByIdMutation

previously used the wrong query keys and updated data wrong

* fix(*): no longer returning an empty function to appease eslint

* fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here

* refactor(workflows-service): moved assignIdToDocuments into the repository level for create

moved to updateWorkflowRuntimeData for update

* fix(setformdata): removed redundant useState

* refactor(backoffice-v2): made the parentMachine object have a default of an empty object

creating workflows from the api will no longer fail if no parentMachine was specified

* revert(backoffice-v2): reverted mistakenly workflow by id schema was removed

---------

Co-authored-by: Alon Peretz <[email protected]>
Co-authored-by: Daniel Blokh <[email protected]>
Co-authored-by: Ilya Rudnev <[email protected]>
Co-authored-by: blokh <[email protected]>

* refactor(backoffice-v2): replaced default with optional for parentMachine validation

* Omri levy/fix/fix headless example (#551)

* feat(headless-example): checkpoint

* feat(*): checkpoint

* fix(workflows-service): fixed wrong destination on diskStorage

* fix(workflows-service): fixed de-sync between external uploadFile and internal

affected the fileNameOnDisk property

* fix(*): fixed headless-example file upload flow

* fix(headless-example): updated the name of the mock certificate of incorporation pdf file

* feat(headless-example): now using the workflow document decisions for rejected/approved/revisions

* refactor(headless-example): updated the condition for displaying re-submission ui

* refactor(headless-example): replaced header auth with api key auth for the headless example

* refactor(headless-example): improved flow behavior and added clear user button

* feat(vite.config.ts): added sourcemaps

* update common

* fix(*): can now see the re-submit ui and re-upload documents

* Blokh/fix/refactor update category (#517)

* added watch for form

* feat: finalized update form of category type

* removed log

* feat(added usewatchdropdown logic for category to type logic): added usewatchdropdown

added usewatchdropdown logic for category to type logic

* updated compose to edit naming

* feat(merged with dev): merged with dev

merged with dev + fixed conflicts + updated code after format changes

* updated use initial category set

* added types to uniqueArrayByKey

* fixed entries to document

* minor refactoring

* updated common version

* added find value

* Blokh/feat/test infra (#500)

* feat(database-infra): generated infra for test creations ( test & nest )

generate database infra for test creations, generated test for end-user in order to test the
test-infra

* feat: generated global setup and teardown

* updated DATABASE_SCHEMA_NAME using zod

* fixed comments

* removed unnecessary actions and docker compose

* updated lock

* feat: running foramt

* updated DB_CONTAINER type

* feat(added testglobal): added TestGlobal

* updated pnpm lock

* feat: added TESTCONTAINERS_RYUK_DISABLED true

* ran commitlint

* removed unnecessary wawait

* removed test using windows

* updated test runnign strategy

* removed windows test as it does not support db request

* feat(added support for unit test ing test and e2e test): added support for unit test

added support for unit test, integration test and e2e test

* added different ci for ubuntu and windows

* updated commons

* removed unit test from browser sdk

* removed unit test from workflow

* fixed package json

* removed unit test from node-sdk

* added crossenv

* merged with dev

* fixed enduser test

* reverted removal of unittest

* ran format

* updated nx json

* added unit test for workflow core

* fixed nx json

* fixed duplicated tests configuration on nx

* reverted remoival of lint

* merged with dev

* feat: added handling of prisma validation errors to workflow controller (#511)

* feat: added handling of prisma validation errors to workflow /run controller

* feat: moved prisma validation filter to global level

* feat: implemented prisma validation errors parser & added parse output to filter

* feat: added handling of unknown arguments exceptions from prisma

* feat: added ansi codes removal from exception

* use clean ansi fn

---------

Co-authored-by: Alon Peretz <[email protected]>

* fix(backoffice-v2): no longer rendering an empty block if there's no entity data

* fix(*): now displaying the entity data when uploading docs from the headless example

* feat(backoffice-v2): fixed the size of the navbar checkboxes

* feat(*): checkpoint

* add kyb w/ external request (#541)

* feat(examples-kyb): kyb example w/ external request

* feat(examples-kyb): kyb example w/ external request

* fix(headless-example): fixed mock photos' names and removed the type field - broke dropdowns

* fix(backoffice-v2): fixed document category initilizing with undefined

* revert(backoffice-v2): reverted the changes to useInitialSetCategory

* fix(backoffice-v2): fixed errors from the devtools logs due to wrong placement of controller

shadcn select form controller placement

* fix(backoffice-v2): fixed useWatchDropdownOptions

no longer overrides document type to "undefined"

* fix(backoffice-v2): fixed document type resetting to "undefined"

* fix(*): no longer using hardcoded propertiesSchema

* update common lib

* feat(workflow-def): enable mulitple active workflows

* update pnpm lock

* fix(seed.ts): updated seed.ts so information shows and is editable for the example

* updated cookie secure to false for testing

* added secure proxy to cookie logic

* added trust proxy key to app

* added trust proxy key to app

* added trust proxy key to app

* reverted unnecessary changes

* reverted unnecessary changes

* added secureProxy

* removed secured of cookie

* updated removed http only

* added secured false

* remove cookie domaun

* fix(*): fixed useUpdateWorkflowByIdMutation

previously used the wrong query keys and updated data wrong

* fix(*): no longer returning an empty function to appease eslint

* fix(remove-ansi-escape-codes.ts): added eslint ignore for no-control-regex - makes sense here

* refactor(workflows-service): moved assignIdToDocuments into the repository level for create

moved to updateWorkflowRuntimeData for update

* fix(setformdata): removed redundant useState

* refactor(backoffice-v2): made the parentMachine object have a default of an empty object

creating workflows from the api will no longer fail if no parentMachine was specified

* revert(backoffice-v2): reverted mistakenly workflow by id schema was removed

* refactor(backoffice-v2): replaced default with optional for parentMachine validation

---------

Co-authored-by: Alon Peretz <[email protected]>
Co-authored-by: Daniel Blokh <[email protected]>
Co-authored-by: Ilya Rudnev <[email protected]>
Co-authored-by: blokh <[email protected]>

* feat(workflows-service): added parentMachine id to an instance of update by id

---------

Co-authored-by: Matan Yadaev <[email protected]>
Co-authored-by: blokh <[email protected]>
Co-authored-by: Alon Peretz <[email protected]>
Co-authored-by: Daniel Blokh <[email protected]>
Co-authored-by: Ilya Rudnev <[email protected]>
@changeset-bot
Copy link

changeset-bot bot commented Jun 19, 2023

⚠️ No Changeset found

Latest commit: 307a5aa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@alonp99 alonp99 merged commit eb06ead into main Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants