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

refactor(ProcessEditor): Decouple integration with BFF when adding tasks in the process editor. #12894

Merged
merged 22 commits into from
Jun 6, 2024

Conversation

framitdavid
Copy link
Collaborator

@framitdavid framitdavid commented Jun 2, 2024

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)

  • PR itself

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

@framitdavid framitdavid added the skip-releasenotes Issues that do not make sense to list in our release notes label Jun 2, 2024
@github-actions github-actions bot added area/process Area: Related to app process (e.g. signing, receipt, fill inn, payment, etc). solution/studio/designer Issues related to the Altinn Studio Designer solution. labels Jun 2, 2024
Copy link

codecov bot commented Jun 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.06%. Comparing base (6258b3b) to head (62b87af).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@framitdavid framitdavid marked this pull request as ready for review June 2, 2024 19:41
Copy link

@ghost ghost left a 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

@ghost ghost assigned framitdavid Jun 4, 2024
@framitdavid
Copy link
Collaborator Author

A lot of great code! 😄 Added some comments

Thanks! I have answered some of your comments and fixed some! Assigning the review back to you. :)

@framitdavid framitdavid assigned ghost and unassigned framitdavid Jun 4, 2024
@github-actions github-actions bot added the quality/testing Tests that are missing, needs to be created or could be improved. label Jun 6, 2024
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😄

@framitdavid framitdavid merged commit 5d7be67 into main Jun 6, 2024
11 checks passed
@framitdavid framitdavid deleted the feat/refacsProcessEditor branch June 6, 2024 08:35
Jondyr pushed a commit that referenced this pull request Jun 10, 2024
…sks in the process editor. (#12894)

refactor(ProcessEditor): Decouple integration with BFF when adding tasks in the process editor
@wrt95 wrt95 self-requested a review June 11, 2024 13:29
@wrt95 wrt95 unassigned ghost Jun 11, 2024
@wrt95 wrt95 removed their request for review June 11, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added-to-sprint area/process Area: Related to app process (e.g. signing, receipt, fill inn, payment, etc). quality/testing Tests that are missing, needs to be created or could be improved. skip-releasenotes Issues that do not make sense to list in our release notes solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant