ropensci / software-review-meta

For organizing projects related to rOpenSci Software Peer Review
10 stars 3 forks source link

Submit via form #51

Open noamross opened 6 years ago

noamross commented 6 years ago

@karthik has done some testing on submitting an issue via a form to automatically populate the issue with more standardized input. If we agree it's a good idea, we can move towards having form-based submittal so that we have issues that are easier to parse and simpler to read.

This should probably "launch" along with the gitbook and new onboarding landing page.

To-Dos:

I'm not sure whether this should assign to a default editor. If, so it would be the current EiC.

maelle commented 6 years ago

I'm trying to see how it'd work with a function. Right now I can only see two distinct submission methods: either Typeform+clicking or submission without the form via a YAML template. If authors fill a YAML (YAML use idea credit goes to @karthik ), they have the submission content under version control and some fields could be pre-filled by using package metadata (and I think @karthik mentioned interactive questioning as well). In that case this issue here is

I wouldn't use a separate form for a pre-submittal enquiry but rather Typeform logic. As regards the template use via rodev: we could have the template live somewhere e.g. ropensci/onboarding and a rodev function would access and download and prepare (i.e. use pre-sub or submission fields) the template when the author call prepare_submission or prepare_presub_enquiry. I'd like rodev to download the template anew this way the template used will always be up-to-date no matter the rodev version used.

Would we forbid submission outside of rodev/Typeform? Technically, how? Or maybe we wouldn't but we could have a bot checking the format of the issue just opened, and if it's badly formatted, it'd tell people to use the template or to open an issue in onboarding-meta if their goal was to make a general comment?

Template(s) notes

Last point, there's no way to automatically create a Typeform form from a YAML, is there? I mean to create the form "template", not from an submitting author perspective.

maelle commented 6 years ago

The prepare_submission function would also digest the MEE/JOSS fields depending on a journal argument.

maelle commented 6 years ago

Btw dup of https://github.com/ropensci/onboarding-meta/issues/29.

maelle commented 6 years ago

In that other issue @noamross wrote "Certain checkmarks would have to be checked to submit". I imagine that for the form it'd be self-assessment e.g saying yes to "Did you blabla?"

karthik commented 6 years ago

I'm trying to see how it'd work with a function. Right now I can only see two distinct submission methods: either Typeform+clicking or submission without the form via a YAML template. If authors fill a YAML (YAML use idea credit goes to @karthik ), they have the submission content under version control and some fields could be pre-filled by using package metadata (and I think @karthik mentioned interactive questioning as well).

All three methods would work well with each other. We need to standardize a template first. The same template will go in:

With the user maintained yml, we might ask them to prune manually (i.e. remove JOSS or MEE when not appropriate).

putting DESCRIPTION inside

blabla

I thought about that but decided against it, because:

karthik commented 6 years ago

Other useful things we can do:

maelle commented 6 years ago

Optimally we'd ask them to have categories in DESCRIPTION via schema.org terms

maelle commented 4 years ago

what about an RStudio addin helping fill the YAML. I.e. no typeform at all, just an addin, so one could use an RStudio addin or fill a YAML opened by a function (YAML that'd have some fields pre-filled, even when it's just opened by the function prepare_submission()).

related rodev issue https://github.com/ropensci/rodev/issues/2

noamross commented 4 years ago

I like the Add-in or maybe a devtools::release()-like flow that's IDE-agnostic. I would want to avoid the data being stored as a file in the repo - I think there are too many such files., Hmm, thinking about it maybe inst/ropensci-submit.yml is OK. A function in the package could validate it.

maelle commented 4 years ago

devtools::release() workflow tests https://github.com/ropensci/rodev/pull/40 (nothing done with an addin... yet)

maelle commented 4 years ago

@karthik in https://github.com/ropensci/software-review-meta/issues/51#issuecomment-384338189 you mention suggesting handles from our reviewer database but I don't think we can do that, since it'd make our data partly public?

karthik commented 4 years ago

Yes let's skip that.

maelle commented 3 years ago

Important point made by @karthik in a Google Doc "The web form and interactive helper can tell people what this is if they dont know and if they have no tests to stop the submission process and go fix. Same for CI."

I hope GitHub issue forms will have that kind of logic.

maelle commented 2 years ago

Apparently I didn't write down anything from @mpadge's and my tests of GitHub issue forms. They did not play well with our use of HTML comments for buffy. If we wanted to support submission via a form, we'd need to implement something of our own.

maelle commented 1 year ago

saw https://new-issue.vuejs.org/?repo=vuejs%2Fcore (for inspiration?)