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

Replace the rules input or rules seeding component. #19329

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

jmchilton
Copy link
Member

This uses the wizard introduced by David for workflow exports instead of adapting (and sort of torturing) the upload dialog paradigm that RulesInput.vue used previously. The old component was very compact but also very unintuitive and just hacked together as quickly as possible and never really revisited. The wizard provides more space to explain things and is probably the way we want to go but still needs some serious love from someone better at UI than me.

I need a component like this... but different for sample sheet seeding so I wanted to do a refresh and get something we're all more comfortable with ahead of that. If it seems overly decomposed - it is probably because I am reusing the components downstream in a similar wizard for seeding sample sheets with lists of URIs, etc..

In addition to just replacing the component, there are also some fixes to help, a new option to build a collection from an existing collection which just sends the user to the Apply Rules tool, allows dropping a file onto the paste data textbook, and I think better validation throughout the component.

The old component is just this single panel. I assume it is rather unintuitive.

Screenshot 2024-12-16 at 9 32 00 AM

The new wizard looks like this:

Screenshot 2024-12-16 at 9 34 21 AM Screenshot 2024-12-16 at 9 34 26 AM Screenshot 2024-12-16 at 9 34 40 AM Screenshot 2024-12-16 at 9 35 05 AM Screenshot 2024-12-16 at 9 34 58 AM Screenshot 2024-12-16 at 9 34 48 AM

How to test the changes?

(Select all options that apply)

  • This is a refactoring of components with existing test coverage.

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

This uses the wizard introduced by David for workflow exports instead of adapting the upload paradigm. The old component was very compact but also very unintuitive and just hacked together as quickly as possible and never really revisited. The wizard provides more space to explain things and is probably the way we want to go but still needs some serious love from someone better at UI than me.

I need a component like this... but different for sample sheet seeding so I wanted to do a refresh and get something we're all more comfortable with ahead of that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant