generated from your-land/yl_template
Adds testing info
This commit is contained in:
parent
1e098338a5
commit
7cd71bdbce
@ -2,3 +2,63 @@ This file holds a couple of editors notes regarding the mod.
|
||||
|
||||
Todo's can be noted here, known issues, the path to ressources or general annotations.
|
||||
|
||||
###
|
||||
|
||||
Testing
|
||||
|
||||
###
|
||||
|
||||
yl_survey TODO
|
||||
|
||||
- Question FS needs a way to tell the user whether it's single or multiplechoice OK
|
||||
- hide freetext when there is no freetext in a question OK
|
||||
- Redesign allowed_types into boolean has_freetext, max_responses and min_responses OK
|
||||
- make allow_changes true by default, else noone can add questions OK
|
||||
|
||||
- before storing we need to evaluate
|
||||
- Do questions TELL the user on singlechoice that they checked two boxes??
|
||||
- What do we do on last page?
|
||||
- Do we have a way of saying "You already took that survey, you can't do it again"
|
||||
- do we need callbacks on some actions?
|
||||
- Implement allow_reconsider
|
||||
- Put your answers into a book
|
||||
|
||||
- startpage is missing the distinction between anonymous and named answers
|
||||
- Add targetname or targethash to session :P
|
||||
|
||||
###
|
||||
|
||||
Create a survey with
|
||||
|
||||
//lua yl_survey.create_question("5fe11430-f301-463e-a048-5e2a5c0509ed", "How did you get into minetest?", "We forgot the catgeory", 7, {"freetext","multiplechoice"}, {"Website", "Youtube", "A friend told me"}, true)
|
||||
freetext,multiplechoice: How did you get into minetest?
|
||||
- Website
|
||||
- Youtube
|
||||
- A friend told me
|
||||
|
||||
//lua yl_survey.create_question("5fe11430-f301-463e-a048-5e2a5c0509ed", "Where do you think we should focus our time and effort next?", "We forgot the catgeory", 8, {"freetext","singlechoice"}, {"Bugfixes", "Lags", "New features","moderation","content update"}, true)
|
||||
singlechoice, freetext: Where do you think we should focus our time and effort next?
|
||||
- Bugfixes
|
||||
- Lags
|
||||
- New features
|
||||
- moderation
|
||||
- content update
|
||||
|
||||
//lua yl_survey.create_question("5fe11430-f301-463e-a048-5e2a5c0509ed", "What's your emailaddress?", "We forgot the catgeory", 9, {"freetext"}, nil, true)
|
||||
freetext: What's your emailaddress?
|
||||
|
||||
//lua yl_survey.create_question("5fe11430-f301-463e-a048-5e2a5c0509ed", "Potato or parsley?", "We forgot the catgeory", 11, {"singlechoice"}, {"Potato","Parsley"}, true)
|
||||
singlechoice: Potato or parsley?
|
||||
- Potato
|
||||
- Parsley
|
||||
|
||||
//lua yl_survey.create_question("5fe11430-f301-463e-a048-5e2a5c0509ed", "Please elaborate on your internet crimes", "We forgot the catgeory", 20, {"multiplechoice"}, {"Cat theft","Tax fraud"}, false)
|
||||
disabled: Please elaborate on your internet crimes
|
||||
- Cat theft
|
||||
- Tax fraud
|
||||
|
||||
###
|
||||
|
||||
//lua local function meow() local s = yl_survey_fs.data core.log("action","responses = " .. dump(s)) minetest.after(5,meow) end meow()
|
||||
|
||||
//lua yl_survey_fs.deliver_survey("singleplayer", "5fe11430-f301-463e-a048-5e2a5c0509ed")
|
||||
|
Loading…
Reference in New Issue
Block a user