Skip to content

Commit

Permalink
Merge pull request #26771 from code-dot-org/levelbuilder
Browse files Browse the repository at this point in the history
DTS (Levelbuilder > Staging) [robo-dts]
  • Loading branch information
deploy-code-org committed Jan 28, 2019
2 parents 91ddd80 + b12e365 commit f7bfbda
Show file tree
Hide file tree
Showing 23 changed files with 1,849 additions and 79 deletions.
6 changes: 6 additions & 0 deletions dashboard/config/blocks/aalab/aalab_nameStringSay.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function nameStringSay(nameString, message) {
if(nameSTring.length < 1) {
nameString = "Code.org";
}
console.log(nameString + " says: " + message);
}
19 changes: 19 additions & 0 deletions dashboard/config/blocks/aalab/aalab_nameStringSay.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"category": "Sprites",
"config": {
"func": "nameStringSay",
"blockText": "{NAMESTRING} says {MESSAGE}",
"args": [
{
"name": "NAMESTRING",
"type": "String",
"field": true
},
{
"name": "MESSAGE",
"type": "String",
"field": true
}
]
}
}
45 changes: 45 additions & 0 deletions dashboard/config/locales/dsls.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12571,6 +12571,51 @@ en:
Not sure what this is: Not sure what this is
Web Development: Web Development
'Yes': 'Yes'
csd-post-survey-2019-I like cs:
Agree: Agree
Disagree: Disagree
I like computer science.: I like computer science.
Neither: Neither
Slightly agree: Slightly agree
Slightly disagree: Slightly disagree
Strongly agree: Strongly agree
Strongly disagree: Strongly disagree
csd-post-survey-2019-I like cs class:
Agree: Agree
Disagree: Disagree
I like this computer science class.: I like this computer science class.
Neither: Neither
Slightly agree: Slightly agree
Slightly disagree: Slightly disagree
Strongly agree: Strongly agree
Strongly disagree: Strongly disagree
csd-post-survey-2019-I want more cs:
Agree: Agree
Disagree: Disagree
I want to take more computer science classes in the future.: I want to take more computer science classes in the future.
Neither: Neither
Slightly agree: Slightly agree
Slightly disagree: Slightly disagree
Strongly agree: Strongly agree
Strongly disagree: Strongly disagree
csd-post-survey-2019-able to learn cs:
Agree: Agree
Disagree: Disagree
I have the ability to learn computer science.: I have the ability to learn computer science.
Neither: Neither
Slightly agree: Slightly agree
Slightly disagree: Slightly disagree
Strongly agree: Strongly agree
Strongly disagree: Strongly disagree
csd-post-survey-2019-comfort in cs class:
Agree: Agree
Disagree: Disagree
I feel comfortable in this computer science class.: I feel comfortable in this computer science class.
Neither: Neither
Slightly agree: Slightly agree
Slightly disagree: Slightly disagree
Strongly agree: Strongly agree
Strongly disagree: Strongly disagree
csd-post-survey-q26:
A few classes: A few classes
About half the class sessions: About half the class sessions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,26 @@ level 'csd-post-survey-2017-q9_2018'

page
text 'csp-pre-survey-2017 preamble 2 cs in general'
level 'csd-post-survey-2019-I like cs'
level 'csd-post-survey-2017-q11_2018'
level 'csd-post-survey-2017-q13_2018'
level 'csd-post-survey-2017-q14_2018'
level 'csd-post-survey-2019-able to learn cs'
level 'csd-post-survey-2017-q16_2018'
level 'csd-post-survey-2017-q17_2018'
level 'csd-post-survey-2017-q18_2018'
level 'csd-post-survey-2017-q28_2018'

page
text 'csp-pre-survey-2017 preamble 3 this class'
level 'csd-post-survey-2017-q22_2018'
level 'csd-post-survey-2019-I like cs class'
level 'csd-post-survey-2019-comfort in cs class'
level 'csd-post-survey-2017-q23_2018'
level 'csd-post-survey-2017-q24_2018'
level 'csd-post-survey-2017-q22_2018'
level 'csd-post-survey-2017-q26_2018'
level 'csd-post-survey-2017-q29_2018'
level 'csd-post-survey-2019-I want more cs'
level 'csd-post-survey-2017-q30_2018'

page
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name 'csd-post-survey-2019-able to learn cs'
question 'I have the ability to learn computer science.'
right 'Strongly agree'
right 'Agree'
right 'Slightly agree'
right 'Neither'
right 'Slightly disagree'
right 'Disagree'
right 'Strongly disagree'
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name 'csd-post-survey-2019-comfort in cs class'
question 'I feel comfortable in this computer science class.'
right 'Strongly agree'
right 'Agree'
right 'Slightly agree'
right 'Neither'
right 'Slightly disagree'
right 'Disagree'
right 'Strongly disagree'
9 changes: 9 additions & 0 deletions dashboard/config/scripts/csd_post_survey_2019_i_like_cs.multi
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name 'csd-post-survey-2019-I like cs'
question 'I like computer science.'
right 'Strongly agree'
right 'Agree'
right 'Slightly agree'
right 'Neither'
right 'Slightly disagree'
right 'Disagree'
right 'Strongly disagree'
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name 'csd-post-survey-2019-I like cs class'
question 'I like this computer science class.'
right 'Strongly agree'
right 'Agree'
right 'Slightly agree'
right 'Neither'
right 'Slightly disagree'
right 'Disagree'
right 'Strongly disagree'
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name 'csd-post-survey-2019-I want more cs'
question 'I want to take more computer science classes in the future.'
right 'Strongly agree'
right 'Agree'
right 'Slightly agree'
right 'Neither'
right 'Slightly disagree'
right 'Disagree'
right 'Strongly disagree'
1 change: 1 addition & 0 deletions dashboard/config/scripts/csp-create-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/csp-create/"], ["teacherForum", "https://forum.code.org/c/csp/ap-prep"], ["standardMappings", "https://curriculum.code.org/csp-18/csp-create/standards/"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp-create'
version_year '2018'
is_stable true
Expand Down
2 changes: 1 addition & 1 deletion dashboard/config/scripts/csp-explore-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/csp-explore/"], ["teacherForum", "https://forum.code.org/c/csp/ap-prep"], ["standardMappings", "https://curriculum.code.org/csp-18/csp-explore/standards/"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}]
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}, {"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp-explore'
version_year '2018'
is_stable true
Expand Down
1 change: 1 addition & 0 deletions dashboard/config/scripts/csp1-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/unit1/"], ["teacherForum", "https://forum.code.org/c/csp1"], ["vocabulary", "https://curriculum.code.org/csp-18/unit1/vocab/"], ["standardMappings", "https://curriculum.code.org/csp-18/unit1/standards/"], ["professionalLearning", "https://studio.code.org/s/csp1-support"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"Are you signed up for the AP exam?", "details"=>"Now's the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school's registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp1'
version_year '2018'
is_stable true
Expand Down
1 change: 1 addition & 0 deletions dashboard/config/scripts/csp2-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/unit2/"], ["teacherForum", "https://forum.code.org/c/csp2"], ["vocabulary", "https://curriculum.code.org/csp-18/unit2/vocab/"], ["standardMappings", "https://curriculum.code.org/csp-18/unit2/standards/"], ["professionalLearning", "https://studio.code.org/s/csp2-support"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp2'
version_year '2018'
is_stable true
Expand Down
2 changes: 1 addition & 1 deletion dashboard/config/scripts/csp3-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/unit3/"], ["teacherForum", "https://forum.code.org/c/csp3"], ["vocabulary", "https://curriculum.code.org/csp-18/unit3/vocab/"], ["codeIntroduced", "https://curriculum.code.org/csp-18/unit3/code/"], ["standardMappings", "https://curriculum.code.org/csp-18/unit3/standards/"], ["professionalLearning", "https://studio.code.org/s/csp3-support"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}]
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}, {"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp3'
version_year '2018'
is_stable true
Expand Down
2 changes: 1 addition & 1 deletion dashboard/config/scripts/csp4-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/unit4/"], ["teacherForum", "https://forum.code.org/c/csp4"], ["vocabulary", "https://curriculum.code.org/csp-18/unit4/vocab/"], ["standardMappings", "https://curriculum.code.org/csp-18/unit4/standards/"], ["professionalLearning", "https://studio.code.org/s/csp4-support"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}]
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}, {"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp4'
version_year '2018'
is_stable true
Expand Down
2 changes: 1 addition & 1 deletion dashboard/config/scripts/csp5-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ student_detail_progress_view true
teacher_resources [["lessonPlans", "https://curriculum.code.org/csp-18/unit5"], ["teacherForum", "https://forum.code.org/c/csp5"], ["vocabulary", "https://curriculum.code.org/csp-18/unit5/vocab/"], ["codeIntroduced", "https://curriculum.code.org/csp-18/unit5/code/"], ["standardMappings", "https://curriculum.code.org/csp-18/unit5/standards/"], ["professionalLearning", "https://studio.code.org/s/csp5-support"]]
has_verified_resources true
has_lesson_plan true
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}]
script_announcements [{"notice"=>"CS Principles Mid-Year Survey Now Open!", "details"=>"You can find the survey at the end of this unit - you need to unlock it for students to take it.", "link"=>"", "type"=>"information"}, {"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csp5'
version_year '2018'
is_stable true
Expand Down
2 changes: 1 addition & 1 deletion dashboard/config/scripts/csppostap-2018.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ student_detail_progress_view true
has_verified_resources true
has_lesson_plan true
curriculum_path 'https://curriculum.code.org/{LOCALE}/csp-18/post-ap/{LESSON}'
script_announcements [{"notice"=>"No Lesson Plans for Chapter 2", "details"=>"Chapter 2 of this unit does not currently have lesson plans available. \"Lesson Plan\" links for that chapter will not work as expected.", "link"=>"", "type"=>"information"}]
script_announcements [{"notice"=>"No Lesson Plans for Chapter 2", "details"=>"Chapter 2 of this unit does not currently have lesson plans available. \"Lesson Plan\" links for that chapter will not work as expected.", "link"=>"", "type"=>"information"}, {"notice"=>"Are you signed up for the AP exam?", "details"=>"Now’s the time to register to take the AP CS Principles exam! Be sure to ask your teacher about your school’s registration deadline and sign up today. Click to learn more about six great reasons why you should.", "link"=>"https://code.org/educate/csp/ap-students", "type"=>"bullhorn", "visibility"=>"Student-only"}]
family_name 'csppostap'
version_year '2018'
is_stable true
Expand Down
10 changes: 6 additions & 4 deletions dashboard/config/scripts/levels/courseA_playLab_events4.level
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"timeout_after_when_run": "false",
"maze": "[[{\"tileType\":0},{\"tileType\":0},{\"tileType\":16,\"size\":0.005,\"sprite\":3},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}],[{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}],[{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}],[{\"tileType\":1},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":1},{\"tileType\":0}],[{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":16,\"size\":0.5,\"sprite\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}],[{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}],[{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}],[{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0},{\"tileType\":0}]]",
"embed": "false",
"short_instructions": "Add blocks for moving right when the `right` button is clicked.",
"is_k1": "true",
"skip_instructions_popup": "false",
"never_autoplay_video": "false",
Expand Down Expand Up @@ -47,7 +46,6 @@
"timeout_failure_tick": "0",
"callout_json": "[\r\n {\r\n \"localization_key\": \"courseA_playlab_events4_callout1\",\r\n \"callout_text\": \"This is a callout\",\r\n \"element_id\": \"#whenArrow\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": false,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left bottom\",\r\n \"at\": \"top right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]",
"project_template_level_name": "gradek_playlab_events5c_template",
"long_instructions": "Now, add more blocks to get Jorge to move right when the right arrow button is clicked.",
"authored_hints": "[{\"hint_class\":\"content\",\"hint_markdown\":\"Here is the event block that you will need to get Jorge to move right:\\n\\n<xml><block type=\\\"studio_move\\\">\\n <title name=\\\"SPRITE\\\">1</title>\\n <title name=\\\"DIR\\\">2</title>\\n </block></xml>\",\"hint_id\":\"courseA_playLab_events4_a\",\"hint_type\":\"general\",\"tts_url\":\"https://tts.code.org/sharon22k/180/100/18040c96ad827073ee04d73bfbe5ef34/courseA_playLab_events4.mp3\"},{\"hint_class\":\"content\",\"hint_markdown\":\"This is the code you will need to complete this puzzle:\\n\\n<xml><block type=\\\"studio_whenArrow\\\">\\n <title name=\\\"VALUE\\\">right</title>\\n <next>\\n <block type=\\\"studio_move\\\">\\n <title name=\\\"SPRITE\\\">1</title>\\n <title name=\\\"DIR\\\">2</title>\\n </block></next></block></xml>\",\"hint_id\":\"courseA_playLab_events4_b\",\"hint_type\":\"general\",\"tts_url\":\"https://tts.code.org/sharon22k/180/100/4a2d790296ae7eab7e5cf5a78e1e1ae4/courseA_playLab_events4.mp3\"}]",
"hide_share_and_remix": "false",
"disable_if_else_editing": "false",
Expand All @@ -57,11 +55,15 @@
"show_type_hints": "false",
"remove_items_when_actor_collides": "false",
"hint_prompt_attempts_threshold": 2,
"contained_level_names": null
"contained_level_names": null,
"preload_asset_list": null,
"default_num_example_blocks": "false",
"short_instructions": "Add blocks for moving right when the `right` button is clicked.",
"long_instructions": "Now, add more blocks to get Jorge to move right when the right arrow button is clicked."
},
"published": true,
"notes": "",
"audit_log": "[{\"changed_at\":\"2017-06-13 20:42:16 +0000\",\"changed\":[\"toolbox_blocks\",\"contained_level_names\"],\"changed_by_id\":302,\"changed_by_email\":\"mara.downing@code.org\"},{\"changed_at\":\"2017-08-03 17:50:04 +0000\",\"changed\":[\"toolbox_blocks\",\"markdown_instructions\",\"authored_hints\",\"contained_level_names\"],\"changed_by_id\":684,\"changed_by_email\":\"audrey.clark@code.org\"},{\"changed_at\":\"2018-05-15 18:03:07 +0000\",\"changed\":[\"toolbox_blocks\",\"instructions\",\"markdown_instructions\",\"contained_level_names\"],\"changed_by_id\":63,\"changed_by_email\":\"kiki@code.org\"},{\"changed_at\":\"2018-05-17 19:18:46 +0000\",\"changed\":[\"toolbox_blocks\",\"contained_level_names\"],\"changed_by_id\":63,\"changed_by_email\":\"kiki@code.org\"}]",
"audit_log": "[{\"changed_at\":\"2017-06-13 20:42:16 +0000\",\"changed\":[\"toolbox_blocks\",\"contained_level_names\"],\"changed_by_id\":302,\"changed_by_email\":\"mara.downing@code.org\"},{\"changed_at\":\"2017-08-03 17:50:04 +0000\",\"changed\":[\"toolbox_blocks\",\"markdown_instructions\",\"authored_hints\",\"contained_level_names\"],\"changed_by_id\":684,\"changed_by_email\":\"audrey.clark@code.org\"},{\"changed_at\":\"2018-05-15 18:03:07 +0000\",\"changed\":[\"toolbox_blocks\",\"instructions\",\"markdown_instructions\",\"contained_level_names\"],\"changed_by_id\":63,\"changed_by_email\":\"kiki@code.org\"},{\"changed_at\":\"2018-05-17 19:18:46 +0000\",\"changed\":[\"toolbox_blocks\",\"contained_level_names\"],\"changed_by_id\":63,\"changed_by_email\":\"kiki@code.org\"},{\"changed_at\":\"2019-01-25 20:15:06 +0000\",\"changed\":[\"toolbox_blocks\",\"instructions\",\"markdown_instructions\",\"contained_level_names\",\"preload_asset_list\"],\"changed_by_id\":156,\"changed_by_email\":\"elijah@code.org\"}]",
"level_concept_difficulty": {
"sequencing": 3,
"events": 3
Expand Down

0 comments on commit f7bfbda

Please sign in to comment.