-
Notifications
You must be signed in to change notification settings - Fork 70
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
refactor(ProcessEditor): Decouple integration with BFF when adding tasks in the process editor. #12894
Conversation
…same for remove mutations
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12894 +/- ##
==========================================
- Coverage 91.07% 91.06% -0.01%
==========================================
Files 1396 1393 -3
Lines 19751 19732 -19
Branches 2391 2389 -2
==========================================
- Hits 17988 17969 -19
Misses 1501 1501
Partials 262 262 ☔ View full report in Codecov by Sentry. |
frontend/app-development/features/processEditor/handlers/OnProcessTaskAddHandler.ts
Outdated
Show resolved
Hide resolved
frontend/app-development/features/processEditor/handlers/OnProcessTaskAddHandler.ts
Outdated
Show resolved
Hide resolved
frontend/app-development/features/processEditor/handlers/OnProcessTaskAddHandler.ts
Outdated
Show resolved
Hide resolved
frontend/app-development/features/processEditor/handlers/OnProcessTaskRemoveHandler.test.ts
Outdated
Show resolved
Hide resolved
frontend/app-development/features/processEditor/handlers/OnProcessTaskRemoveHandler.test.ts
Show resolved
Hide resolved
frontend/app-development/features/processEditor/handlers/OnProcessTaskRemoveHandler.test.ts
Outdated
Show resolved
Hide resolved
frontend/app-development/features/processEditor/handlers/OnProcessTaskRemoveHandler.ts
Outdated
Show resolved
Hide resolved
frontend/app-development/hooks/mutations/useAddLayoutSetMutation.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of great code! 😄 Added some comments
…altinn-studio into feat/refacsProcessEditor
Thanks! I have answered some of your comments and fixed some! Assigning the review back to you. :) |
frontend/app-development/features/processEditor/handlers/OnProcessTaskAddHandler.test.ts
Fixed
Show fixed
Hide fixed
frontend/app-development/features/processEditor/handlers/OnProcessTaskAddHandler.test.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😄
…sks in the process editor. (#12894) refactor(ProcessEditor): Decouple integration with BFF when adding tasks in the process editor
Description
Continuing cleaning up the process editor to make it more independent of domain knowledge when adding events. When tasks such as payment are added, the app development controls which API calls and side effects should be carried out.
We still need to refine the handling of custom receipts, which will likely need to be changed in a separate PR. But after that, I think we can avoid passing React Query methods down to the process-editor package, which means that we might delete the BpmnApiContext afterwards!
Added skip-releasenotes on this one, since its refactoring only.
Related Issue(s)
Verification