-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Vueify Tool Form Data Selector #16578
Conversation
7e84105
to
c38501e
Compare
The DCE idea is cool - this feels a lot more helpful and structured. Thanks for implementing that. |
Thanks for looking into it. I was wondering if this mechanism is also necessary for the ldda's. I have implemented it for now because that is how it was designed, but it might make more sense if the file dialog just imports the library datasets upfront and returns regular dataset and collection ids, instead of leaving that task to the tools api, but that's probably a question for the future. |
ba37f9f
to
3c97f38
Compare
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.
Dataset Collection Elements are not merged into or disguised as
hda
orhdca
entries anymore but are instead treated as separate source.
This looks wrong on first glance, I think this would break establishing what kind of map over we're dealing with. Please don't merge this before I haven't reviewed this.
Users used to at least know if this was mapped a collection, and they can of course select another item (DCE or not) by dragging it in. I think this makes the rerun UX worse |
You can still drag another item into it, but you cannot combine |
…ect field options
I don't think we should have |
@mvdbeek decided to replace |
Looks better now, but haven't reviewed yet
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.
Yes, the styling is standard and unrelated to this PR. This input element reuses the regular form select field. Styling options should be adjusted there. Regarding the |
…tead to show/hide spinner
Thanks for swapping out the eventBus and the other changes -- it's definitely better to use the standard interfaces/pattern here. This is working pretty nicely in my testing; let's go ahead and get it into dev! |
This PR rewrites the data selector field for tool forms using Vue and TypeScript. It replaces the previous
select2
fields withvue-multiselect
. The overall appearance of the input field has only been minimally adjusted, however there are some changes:Move File Browser to Button Group
The file dialog button was previously placed to the right of the select field and is now shown in the button group on the left. The folder icon has been replaced with a dots/ellipsis to indicate that more datasets can be selected.
Treat DCE's as separate source
Dataset Collection Elements are not merged into the
hda
orhdca
options list of the server response anymore but are instead treated as separate source. Server response inbasic.py
has been modified to account for that. However when it comes to displaying, thedce
's are like before in the corresponding hda/hdca select fields.TODO's
How to test the changes?
(Select all options that apply)
License