Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake shiny modules for quiz questions (instead of htmlwidgets) #194
Conversation
…nges going further
* master: Aggressive Prerender checks within rmarkdown (#179)
…down::shiny_prerendered_chunk`
… mechanisms use s3 methods for * question_initialize_input * question_completed_input * question_is_valid * question_is_correct * question_disable_selector (will probably remove)
|
|
To (partially) answer my own question, the |
|
I can't get this to work in RStudio. It seems to me like the S3 methods are not registered properly. This is what I'm testing with:
Instead of the report launching, I get each individual answer launching in a new window. If I use Update: Oh, interesting. I had some local changes to htmltools that caused this. Seems to almost be working now, other than the missing import declarations I mentioned below. |
|
Also there seem to be a lot of missing import declarations, R CMD check will point them out. |
|
I'll try again after you get the right imports in place so it works in RStudio. I'll have some feedback about |
…dd submitted answer
…function better on JS side
… events and add a corresponding not completed event
Do not broadcast to client that quiz questions are correct
Fixes #192
Fixes #173
Fixes #109
Fixes #217
Will make a separate PR for text box input-based questions(included)