esciencecenter-digital-skills / training-infrastructure

collection of files used in setting up the new training infrastructure
Apache License 2.0
0 stars 0 forks source link

select workshop function #25

Open bvreede opened 2 years ago

bvreede commented 2 years ago

From the output of get_future_workshops we would like to make a selection of a workshop to create documents for.

Perhaps a function could exist where the user is presented with a (short) recap of which workshops are in the system (and which are ready to go), then could select a number based on this list, then documents would be rendered?

This could be done as a function, e.g. make_workshop_docs(workshop = "2022-03-10-ds-rpackaging", comms = T, plan = T, debrief = F)

or in a question-answer with the user, e.g.:

The following workshop(s) is/are ready: [1] 2022-03-10-ds-rpackaging
For which workshop do you want to create documents?
> 1
What documents should be created? [1] Comms, [2] Planning, [3] Debriefing
> 1 2
Creating Comms and Planning docs for 2022-03-10-ds-rpackaging.

I would personally prefer using a function for this, but for a less experienced user it may be nicer to have the second?

bvreede commented 2 years ago

https://www.rdocumentation.org/packages/gWidgets2/versions/1.0-9/topics/gWidgets2-package for GUI interface?

IMG_5060