Skip to content

Commit

Permalink
Merge pull request #101 from nucleogenesis/survey-modality
Browse files Browse the repository at this point in the history
Add Survey modality
  • Loading branch information
rtibbles authored Jan 14, 2022
2 parents 58c5961 + af6d0cd commit b208f6b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions js/Modalities.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
export default {
CUSTOM_NAVIGATION: "CUSTOM_NAVIGATION",
QUIZ: "QUIZ",
SURVEY: "SURVEY",
};
4 changes: 2 additions & 2 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "0.1.37"
}
"version": "0.1.38"
}
3 changes: 3 additions & 0 deletions le_utils/constants/modalities.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@

CUSTOM_NAVIGATION = "CUSTOM_NAVIGATION"
QUIZ = "QUIZ"
SURVEY = "SURVEY"

choices = (
(CUSTOM_NAVIGATION, "Custom Navigation"),
(QUIZ, "Quiz"),
(SURVEY, "Survey"),
)

MODALITIESLIST = [
CUSTOM_NAVIGATION,
QUIZ,
SURVEY,
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
setup(
name="le-utils",
packages=find_packages(),
version="0.1.37",
version="0.1.38",
description="LE-Utils contains shared constants used in Kolibri, Ricecooker, and Kolibri Studio.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
3 changes: 2 additions & 1 deletion spec/constants-modalities.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"QUIZ",
"CUSTOM_NAVIGATION"
"CUSTOM_NAVIGATION",
"SURVEY"
]

0 comments on commit b208f6b

Please sign in to comment.