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

Rules Widget - Post Merge Smaller Tweaks #5822

Open
11 of 21 tasks
jmchilton opened this issue Apr 1, 2018 · 9 comments
Open
11 of 21 tasks

Rules Widget - Post Merge Smaller Tweaks #5822

jmchilton opened this issue Apr 1, 2018 · 9 comments

Comments

@jmchilton
Copy link
Member

jmchilton commented Apr 1, 2018

Some migrated from #5380.

@martenson
Copy link
Member

a few observations from latest dev

  • we could add validation and do not allow to click build until some data is present
  • when switching Load tabular data from: the textfields should be re-initialized. e.g. now when switching from value FTP directory the actual contents of FTP dir remain in the field
  • dataset selection for the input might want to respect the datasets format? (e.g. I shouldn't be able to select a .gz datatype)
  • It could be beneficial to make genome select2 wider
    screenshot 2018-04-13 11 46 47
  • reconsider the formatting of rule definitions (namely alignment, select width)
    screenshot 2018-04-13 11 48 08

@jmchilton
Copy link
Member Author

Thanks @martenson - I largely agree with these and have added them to the list above and I'll try to work on these soon. Are you sure about this bullet point though:

when switching Load tabular data from: the textfields should be re-initialized. e.g. now when switching from value FTP directory the actual contents of FTP dir remain in the field

The lazy re-initialization right now lets you for instance switch back to the other option if you realize you shouldn't have switched it without loosing data and it lets you switch to manual data entry after selecting FTP or a dataset or manually modify what is there before bringing it into the rule builder (exclude files or rows you don't want for instance). So it looks rough I suppose but it is more functional I think. I'm not going to claim these behaviors were intentional but I wonder if they are a good accident.

@martenson
Copy link
Member

@jmchilton +1 for re-initialization from stored state, but I think you have at least 2, but rather 3 states to store (which is fine)

@jmchilton
Copy link
Member Author

reconsider the formatting of rule definitions (namely alignment, select width)

@martenson I set a minimum width in my apply_rules branch - what were you thinking in terms of alignment? Put the column selectors below the labels, add some left-margin, etc?

screen shot 2018-04-16 at 10 55 14 am

@martenson
Copy link
Member

@jmchilton I would align the column selectors and 'delete' icon to the right so you can navigate vertically between them with ease. Let me actually tinker with it a bit, I'll get back to you.

@jmchilton jmchilton modified the milestones: 18.05, 18.09 Apr 19, 2018
@martenson
Copy link
Member

I am not able to scroll enough to the right to see the whole table. I would also consider adding explicit scrollbars there, on touchpad with gestures I often leave the dialogue when trying to scroll.

screenshot 2018-04-20 16 18 48

@jmchilton
Copy link
Member Author

@martenson Do you know how to do that? Is this https://stackoverflow.com/a/7855592 the right answer?

@martenson
Copy link
Member

I was hoping for something like

.table {
overflow-x:scroll;
overflow-y:scroll;
overflow:scroll;
}

But I do not have a recent experience, will give it a try in a bit.

@hexylena
Copy link
Member

It would be nice to be able to:

  • concatenate multiple columns in one operation
  • have a joining character for the concatenation (e.g. ' ', -, _)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Collections
  
jmchilton's Plan for 2018
Development

No branches or pull requests

4 participants