-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[25.0] More fixes to FormData
drag and drop and typing
#19900
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
base: release_25.0
Are you sure you want to change the base?
[25.0] More fixes to FormData
drag and drop and typing
#19900
Conversation
afafdc4
to
34f8de5
Compare
FormData
drag and drop and typing, and adds testsFormData
drag and drop and typing, and adds tests
FormData
drag and drop and typing, and adds testsFormData
drag and drop and typing
We can’t do that, this breaks reruns of mapped over jobs. |
That’s not what we discussed in the backend meeting, you can’t allow paired collections in a non-paired input is the issue |
But then, if you try a (non DCE) pair as an input here for this, it doesn't error out. |
I am not sure I understand this comment ? A DCE representing a list should and does work currently. |
Sorry, since you said:
I tried using a pair as in input to this same tool, and it doesn't produce the error (from Jen's issue). Its only when I try a pair that is inside a collection that this fails. |
We're talking about DCEs, so that's what I'm doing. And it works on lists inside of list:list collections. |
Ah ok So it's a particular thing where, on the client we can look for if it's a DCE that is a paired collection, disallow it as a drag and drop input unless that input specifically allows that |
That sounds right. The logic should all be there already, since it is the same that's used for hdcas, it's just that you'll likely have to pass along the collection type when you start dragging (as DCEs proper don't have a collection type, that is part of the element_object, however inside the parent you should know what what each member of the collection represents). |
I just tried list_list_also_errors.mp4 |
It works fine on multiple="true" inputs. I would suggest fixing this, instead of removing it. |
I've pushed a commit that should fix map-over of collection dces. |
Oh nice, so this fixes the bug reported in #20315 as well, because now we successfully accept DCE collections (even pairs!) as valid inputs here: form_data_various_fixes_2.mp4If a So, I will remove the commit now that disallowed DCE collections as inputs (and update the PR description...) |
For some reason, I had to use a counter `ref` to trigger this update as without it (a computed on `keepOptions`, turning `keepOptions` itself to a `ref` etc) did not update when `keepOptions` was changed.
This refers to `FormData` elements without the collection variant (only single or multiple dataset variants). Explained in galaxyproject#19866 (comment)
…parameters We might want to consider creating a hidden HDCA from the dragged DCE(s) first though ?
409c1a3
to
e6755dc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
e6755dc definitely needs tests that exercise basic runs with DCEs as well as map over handling. |
Good point, I can add backend tests. |
I have added an API test, and ensured it tests the case where DCEs are passed as inputs directly. Tested that it breaks without your changes. @mvdbeek |
@mvdbeek has pushed a commit that should fix map-over of collection DCEs. Fixes #20315
The rest of these changes (from a while ago 😅) are improvements/fixes for drag and drop as a follow up to changes in #19866.
How to test the changes?
(Select all options that apply)
License