Compare commits

...

3 Commits

Author SHA1 Message Date
TEC 66a2ff4e6c
Adjust the survey index text 2022-10-18 01:11:18 +08:00
TEC 83c5f89009
Style: use h6 for survey page description 2022-10-18 01:11:08 +08:00
TEC 973880281d
Questions: more tweaks 2022-10-18 01:10:56 +08:00
3 changed files with 25 additions and 16 deletions

View File

@ -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",

View File

@ -32,7 +32,7 @@
<h2>$(survey[page].label)</h2>
<% end %>
<% if !isnothing(survey[page].description) %>
<p>$(survey[page].description)</p>
<h6>$(survey[page].description)</h6>
<% end %>
<form method="POST" action="/submit" enctype="application/x-www-form-urlencoded" novalidate>
<section>

View File

@ -1,15 +1,12 @@
# SPDX-License-Identifier: CC-BY-SA-4.0
Survey(
"Emacs User Survey — 2022 (Preview)",
"Emacs User Survey — 2022 (Pre-release)",
"Help the community have a better understanding of itself and its
own diversity in Emacs usage. Discover and show how people are using
this versatile tool for everything, from software engineering to
academia and journalism.
<br/><br/>
This takes most people ?? minutes to complete.
<br/><br/>
<b>Disclaimer:</b> This is currently just a draft based on the 2020 survey,
the questions you see now will not necessarily be in the final survey.",
This takes most people 515 minutes to complete.",
SurveyPart("Emacs Usage",
MultiSelect(:emacs_tasks,
"Which of the following activities do you use Emacs for?",
@ -74,16 +71,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 <i>optional</i>. Answer these if you're taking the survey for the first time.",
"All of these questions are <em style=\"color: var(--primary)\"optional</em>, " *
"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 +157,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 +178,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)?" *
"<p style=\"font-size: 0.8em;\">GNU ELPA, NonGNU ELPA, MELPA, etc.</p>",
mandatory=false),
MultiSelect(:package_documentation_wish,
"What documentation do you wish package authors would more often provide?",
@ -261,7 +261,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 <em style=\"color: var(--primary)\">optional</em>, " *
"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 +275,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 +336,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 +344,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"<em style=\"color: var(--primary-hover);\">\1</em>"))),
r"\*(.*?)\*" => s"<em style=\"color: var(--primary-hover);\">\1</em>") .=>
["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",