FredHutch / shiny-cromwell

Shiny app for interacting with the Fred Hutch instances of Cromwell. Contact Taylor Firman.
https://proof.fredhutch.org
MIT License
3 stars 3 forks source link

Submit page: provide example files? #139

Open sckott opened 1 month ago

sckott commented 1 month ago

via @codebeaker study

She suggested providing a set of practice files, WDL and json files

For me, this would ideally be a single button click that would populate the example files into the file upload input spots, but I'm not sure if that’s possible

If not the ideal above, then just provide a button to download the files, then user can upload them

tefirman commented 1 month ago

Seems like a good idea. Probably the easiest execution would be to add another bulletpoint to the "Submit" page with a link to https://github.com/getwilds/ww-test-workflows , but maybe we want to spoon-feed people more than that..

A potential problem with those workflows though is that half of them don't have input json's, which isn't representative of what most workflows will look like... Maybe we could add one to "HelloDockerHostname" and then link directly to that?

sckott commented 1 month ago

but maybe we want to spoon-feed people more than that.

I'd like to try to allow users to click a button that auto-populates the file upload forms so it's super duper easy - and then also point them to that dir with workflows in getwilds if sounds good

tefirman commented 1 month ago

That sounds awesome if that's doable! So they wouldn't even download the script? Just autopopulate the WDL under the hood and link them out to the script in GitHub? Or do we download the script to some predefined location on their machine and pre-populate the fields with those locations?

sckott commented 1 month ago

We'll see! I think it's doable but can't answer with 100% confidence