-
Notifications
You must be signed in to change notification settings - Fork 0
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
Delete a WorkflowTask argument (when not using JSON Schemas) #197
Comments
(context: fractal-analytics-platform/fractal-server#1369) In V2, the We should likely update the non-JSON-schema-based WorkflowTask arguments forms. The web-client form handler is responsible of preparing a payload with the entire expected value of e.g. Example of expected behavior:
Side-comment: it looks to me that this is also the V1 behavior, server-side. To be verified. |
I confirm this is the backend behavior since version 1.3.0 (ref fractal-analytics-platform/fractal-server#758). |
This expected behavior is most likely already in-place. |
This is not working yet, because the delete button is disabled when an argument has already been saved, and it looks that it was done because in the UI you can edit only one item at a time. I've always find that quite weird, so I'm going to refactor this a bit to have a more flexible editing. Moreover it seems that adding an array arguments doesn't work, so also more testing on this part is needed. |
To review here: are we correctly handling parallel/nonparallel/compound tasks? |
In the new form it is possible to edit all the fields at the same time, as happens for type and attributes: I put inside the accordion header the text field and the delete button for the object and array keys, so that one can edit or delete also array and object properties. The same component was used also for editing meta properties, so this is how appears now the meta properties tab: Question: we renamed "Args non parallel" to "Initialisation Parameters" and "Args parallel" to "Compute Parameters". Shouldn't we do the same for the meta tab? Something like "Initialisation Meta" and "Compute Meta"? |
Agreed!
That's great! It makes me think of this new, broader issue here: #482 |
NOTE: this issue applies to the "legacy" free-arguments component, not to the one based on JSON Schemas.
See fractal-analytics-platform/fractal-server#629 (comment):
This means that as of fractal-server 1.3.0a9 we can implement a feature to remove an argument.
The text was updated successfully, but these errors were encountered: