From b61668ffc649bd8799f3b82cba182758da6eee82 Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 18 Oct 2022 01:10:56 +0800 Subject: [PATCH] Questions: more tweaks --- app/resources/surveys/SurveysController.jl | 2 +- config/survey.jl | 30 +++++++++++++++------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/app/resources/surveys/SurveysController.jl b/app/resources/surveys/SurveysController.jl index 6dae9d3..0b4233d 100644 --- a/app/resources/surveys/SurveysController.jl +++ b/app/resources/surveys/SurveysController.jl @@ -186,7 +186,7 @@ const DONATION_ENTITIES = [ ("https://my.fsf.org/donate", "The Free Software Foundation", "https://www.fsf.org/", - "principle organisational sponsor of the GNU project"), + "principal organisational sponsor of the GNU project"), ("https://liberapay.com/org-mode/", "The Org Project", "https://orgmode.org", diff --git a/config/survey.jl b/config/survey.jl index a27f76e..649af7b 100644 --- a/config/survey.jl +++ b/config/survey.jl @@ -74,16 +74,17 @@ the questions you see now will not necessarily be in the final survey.", "I have a solid understanding of Emacs internals" => "understand internals"]), MultiSelect(:languages, "Which languages do you program (in Emacs) in?", - ["Assembly", "C++", "C", "C#", "Clojure", "Elixir", + ["Assembly", "C++", "C", "C#", "Clojure", "Elisp", "Elixir", "Erlang", "Go", "HTML/CSS", "Haskell", "Javascript", - "Julia", "Java", "Elisp", "Python", "PHP", "Perl", - "R", "Rust", "Ruby", "Scheme", "Shell scripting" => "Shell", + "Julia", "Java", "Python", "PHP", "Perl", "R", "Rust", + "Ruby", "Scheme", "Shell scripting" => "Shell", "SQL", "Typescript", :other]), RadioSelect(:prose, "Do you use Emacs for writing prose?", ["Frequently", "Often", "Sometimes", "Rarely", "Never"])), SurveyPart("First time questions", - "All of these questions are optional. Answer these if you're taking the survey for the first time.", + "All of these questions are optional, " * + "but please consider answering them if you are taking the survey for the first time", RadioSelect(:prior_editor, "Which editor did you use before you started using Emacs?", ["None", "Vim", "VS Code", "IntelliJ", "Atom", @@ -159,6 +160,7 @@ the questions you see now will not necessarily be in the final survey.", MultiSelect(:package_contribution_barriers, "If you rarely/never contribute to packages, what are the main barriers to doing so?", ["Not interested", + "Lack of time", "Elisp proficiency", "Not knowing how to modify a package", "Not confident in my code quality" => @@ -179,7 +181,8 @@ the questions you see now will not necessarily be in the final survey.", "Yes, 5-10 years ago" => "5-10y", "Yes, 10+ years ago" => "10+y"]), TextArea(:package_submission, - "If you write packages, how you you decide which repositories to submit it to (if any)?", + "If you write packages, how you you decide which repositories to submit it to (if any)?" * + "

GNU ELPA, NonGNU ELPA, MELPA, etc.

", mandatory=false), MultiSelect(:package_documentation_wish, "What documentation do you wish package authors would more often provide?", @@ -261,7 +264,9 @@ the questions you see now will not necessarily be in the final survey.", ["No", "I have in the past", "Yes", "I would like to, but cannot" => "Cannot", :other])), - SurveyPart("Demographics (all questions are optional)", + SurveyPart("Demographics", + "All of these questions are optional, " * + "respond to whichever questions you feel like answering", IntegerInput(:respondent_age, "How old are you?", validators = n -> if ismissing(n) # This is fine, the question is optional. @@ -273,7 +278,7 @@ the questions you see now will not necessarily be in the final survey.", mandatory=false), RadioSelect(:respondent_gender, "What is your gender?", - ["Male", "Female", "Other"], + ["Male", "Female", :other], mandatory=false), RadioSelect(:respondent_education, "What is the highest level of education you have completed?", @@ -334,6 +339,7 @@ the questions you see now will not necessarily be in the final survey.", "How strongly do the ideals of free/libre software affect your computer use?", replace.(["%p %f and am %w *any* %l", "%p %f and am %w a *significant* %l", + "%p %f and am %w a *moderate* %l", "%p %f and am %w a *limited* %l", "%p %f but am *not* %w a %l", "I have no preference for %f"], @@ -341,11 +347,17 @@ the questions you see now will not necessarily be in the final survey.", "%f" => "free/libre software", "%w" => "willing to accept", "%l" => "lack of features or UI polish", - r"\*(.*?)\*" => s"\1"))), + r"\*(.*?)\*" => s"\1") .=> + ["any comprimise", + "significant comprimise", + "moderate comprimise", + "limited comprimise", + "no comprimise", + "do not prefer"])), SurveyPart("Survey bookkeeping", RadioSelect(:survey_prior, "Did you respond to the 2020 Emacs survey?", - ["Yes", "No"]), + ["Yes", "No", "Not sure"]), RadioSelect(:survey_referrer, "How did you find out about this survey?", ["r/emacs", "Hacker News", "Direct message / friend" => "Friend",