-
Notifications
You must be signed in to change notification settings - Fork 72
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
Automatically add layoutset when adding a payment task in Studio #12809
Comments
This should be made in a generic way for all tasks. |
When doing this in a generic way we need to remember implementing it in such a way that we can see and edit the name of the layoutset. All other tasks than data-tasks should also have the possibility to delete the connected layoutset. (or is that inconsistent - UX question to consider?) |
I have updated the description and title of this issue. After discussion with Apps, we have found that the layoutset for payment task is always required, there is no default. The layoutset is to contain both the task layout and payment receipt layout. There are some open questions around how this is to work, and I have blocked the issue until those questions are resolved. |
Tested OK in dev! A new layoutset is automatically created when a new payment task is added. |
Reviewed this issue, but we need more details in Refinement tomorrow. |
Description
There needs to be a layoutset associated with the payment task, to render the payment step. When adding a payment task to the process in Studio, we should automatically trigger adding the associated layoutset.
In addition, there are some requirements for the content of the payment layout - it needs to contain the
Payment
component. The payment layoutset should therefore include a default payment layout that contains thePayment
component:This is technically all that is needed, although we should provide some more components to allow app developers to customize both the payment layout, and payment receipt layout.
Open questions:
Settings.json
file for the layout-set, the receipt layout name should be specified in thepdfLayoutName
field.In scope:
Out of scope:
pdfLayoutName
field in theSettings.json
file. This is a general setting that should be available for all layoutsets for tasks ofdata
type as well, so this is something we should solve in general. Implement settingpdfLayoutName
for a layoutSet #12829Payment
component are available in layouts for payment task. Ensure that only relevant components are available for payment task layouts #12830Acceptance criteria
Payment
component as specified above.The text was updated successfully, but these errors were encountered: