From 32533bb4378d52d749cb07ece9c0db5df1d61f6d Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Thu, 14 Apr 2022 14:46:40 +0500 Subject: [PATCH 1/2] update urls in javascript_lessons.rb reason: due to changes in the curriculum repository --- db/fixtures/lessons/javascript_lessons.rb | 44 +++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/db/fixtures/lessons/javascript_lessons.rb b/db/fixtures/lessons/javascript_lessons.rb index 9c6f619418..76ea8ec8f6 100644 --- a/db/fixtures/lessons/javascript_lessons.rb +++ b/db/fixtures/lessons/javascript_lessons.rb @@ -4,35 +4,35 @@ def javascript_lessons title: 'How this course will work', description: 'How this course will work', is_project: false, - url: '/javascript/introduction/introduction.md', + url: '/javascript/introduction/how_this_course_will_work.md', identifier_uuid: '93d2a049-0f6c-4da8-b346-d477c1e7a000', }, 'A quick review' => { title: 'A quick review', description: 'A quick review', is_project: false, - url: '/javascript/introduction/js101-review.md', + url: '/javascript/introduction/a_quick_review.md', identifier_uuid: '428d54c7-3324-4ee2-afaf-08e1c373b314', }, 'Organizing your JavaScript Code Introduction' => { title: 'Organizing your JavaScript Code Introduction', description: 'introduction', is_project: false, - url: '/javascript/organizing-js/organizing-introduction.md', + url: '/javascript/organizing_your_javascript_code/organizing_your_javascript_code_introduction.md', identifier_uuid: 'ecbc4a4c-d787-440f-a26b-bd4558a76869', }, 'Objects and Object Constructors' => { title: 'Objects and Object Constructors', description: 'Covers plain old JavaScript objects and object constructors', is_project: false, - url: '/javascript/organizing-js/objects-constructors.md', + url: '/javascript/organizing_your_javascript_code/objects_and_object_constructors.md', identifier_uuid: '0b148848-4f2d-4425-837c-b64b72c741bd', }, 'Library' => { title: 'Library', description: 'Library', is_project: true, - url: '/javascript/organizing-js/library-project.md', + url: '/javascript/organizing_your_javascript_code/project_library.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '67338e32-0121-44bd-98c2-2f8e6b299adf', @@ -41,14 +41,14 @@ def javascript_lessons title: 'Factory Functions and the Module Pattern', description: 'Factory Functions and the Module Pattern', is_project: false, - url: '/javascript/organizing-js/factory-functions.md', + url: '/javascript/organizing_your_javascript_code/factory_functions_and_module_pattern.md', identifier_uuid: '7ff3da5b-44dd-457e-a216-527a007835bb', }, 'Tic Tac Toe' => { title: 'Tic Tac Toe', description: 'Tic Tac Toe', is_project: true, - url: '/javascript/organizing-js/tic-tac-toe-project.md', + url: '/javascript/organizing_your_javascript_code/project_tic_tac_toe.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '47798979-cdc8-4c86-a70d-05ffb51d5aac', @@ -57,28 +57,28 @@ def javascript_lessons title: 'Classes', description: 'Classes', is_project: false, - url: '/javascript/organizing-js/classes.md', + url: '/javascript/organizing_your_javascript_code/classes.md', identifier_uuid: '0583cd2d-4bff-4b36-9316-afc146c777f7', }, 'ES6 Modules' => { title: 'ES6 Modules', description: 'ES6 Modules', is_project: false, - url: '/javascript/organizing-js/es6-modules.md', + url: '/javascript/organizing_your_javascript_code/es6_modules.md', identifier_uuid: '0169e4d1-e381-49e0-897b-f9364ac10e51', }, 'Webpack' => { title: 'Webpack', description: 'Webpack', is_project: false, - url: '/javascript/organizing-js/webpack.md', + url: '/javascript/organizing_your_javascript_code/webpack.md', identifier_uuid: 'eedfa6c8-b041-497d-ab37-565708a1b075', }, 'Restaurant Page' => { title: 'Restaurant Page', description: 'Restaurant Page', is_project: true, - url: '/javascript/organizing-js/restaurant-project.md', + url: '/javascript/organizing_your_javascript_code/project_restaurant_page.md', accepts_submission: true, has_live_preview: true, identifier_uuid: 'a1453e8f-d4e8-44ce-b30e-552c65162ac6', @@ -87,14 +87,14 @@ def javascript_lessons title: 'OOP Principles', description: 'OOP Principles', is_project: false, - url: '/javascript/organizing-js/oop-concepts.md', + url: '/javascript/organizing_your_javascript_code/oop_principles.md', identifier_uuid: 'eb45fbdb-c2ff-4aef-98bf-a85f5adac3af', }, 'Todo List' => { title: 'Todo List', description: 'Todo List', is_project: true, - url: '/javascript/organizing-js/todo-project.md', + url: '/javascript/organizing_your_javascript_code/project_todo_list.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '5934b09a-ca38-4968-8df1-720456b7af9a', @@ -103,28 +103,28 @@ def javascript_lessons title: 'Linting', description: 'Linting', is_project: false, - url: '/javascript/js-in-the-real-world/linting.md', + url: '/javascript/javascript_in_the_real_world/linting.md', identifier_uuid: 'a7ae0481-b9cc-40b3-a9dd-4c7227ce2d3d', }, 'Dynamic User Interface Interactions' => { title: 'Dynamic User Interface Interactions', description: 'UI Interactions', is_project: false, - url: '/javascript/js-in-the-real-world/ui-Interactions.md', + url: '/javascript/javascript_in_the_real_world/dynamic_user_interface_interactions.md', identifier_uuid: 'd6a88ccb-9fdb-4544-a363-4d7f1054e36f', }, 'Form Validation with JavaScript' => { title: 'Form Validation with JavaScript', description: 'This lesson will cover the Constraint Validation API', is_project: false, - url: '/javascript/js-in-the-real-world/forms.md', + url: '/javascript/javascript_in_the_real_world/form_validation_with_javascript.md', identifier_uuid: 'c95fe496-2223-4c96-bf3f-9d8e3796d233', }, 'ES?' => { title: 'ES?', description: 'ES?', is_project: false, - url: '/javascript/js-in-the-real-world/es6-features.md', + url: '/javascript/javascript_in_the_real_world/what_is_es6.md', identifier_uuid: 'f5c4b108-adf8-41af-bf3b-a38dd409a67d', }, 'JSON' => { @@ -200,7 +200,7 @@ def javascript_lessons title: "Where's Waldo (A Photo Tagging App)", description: "Pull together everything you've learned so far to create a \"Where's Waldo?\" game.", is_project: true, - url: '/javascript/js-and-the-backend/project_rails_backend.md', + url: '/javascript/javascript_and_the_backend/project_wheres_waldo_a_photo_tagging_app.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '386dd44a-31dc-45dc-a535-cd5508365c86', @@ -209,7 +209,7 @@ def javascript_lessons title: 'JavaScript Final Project', description: "Tie everything you've learned from every course so far into one project where you'll build your favorite website from scratch.", is_project: true, - url: '/javascript/finishing-up/project_final_js.md', + url: '/javascript/finishing_up_with_javascript/project_javascript_final.md', accepts_submission: true, has_live_preview: true, identifier_uuid: '8edf8c0e-9197-4660-82c1-e035cdd4b30b', @@ -218,21 +218,21 @@ def javascript_lessons title: 'Conclusion', description: 'Well, that was easy, right?', is_project: false, - url: '/javascript/finishing-up/conclusion.md', + url: '/javascript/finishing_up_with_javascript/conclusion.md', identifier_uuid: '4b881c82-4cba-4090-a819-17aac12ccb46', }, 'Using Ruby on Rails For Your Back End' => { title: 'Using Ruby on Rails For Your Back End', description: "You've got experience working with APIs, now it's time to treat your app like one.", is_project: false, - url: '/javascript/js-and-the-backend/rails_backend.md', + url: '/javascript/javascript_and_the_backend/using_rails_for_your_backend.md', identifier_uuid: 'a7c364d4-c890-4b56-be03-f1091d56ded6', }, 'Using BaaS For Your Back End' => { title: 'Using BaaS For Your Back End', description: "You've got experience working with APIs, now it's time to treat your app like one.", is_project: false, - url: '/javascript/js-and-the-backend/backend_as_a_service.md', + url: '/javascript/javascript_and_the_backend/using_baas_for_your_backend.md', identifier_uuid: '754d54ae-c5b8-423a-8d1e-a9e0f192afcc', }, } From 73082fc5156036920cb2c62db0315a397c318f8f Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Thu, 14 Apr 2022 14:49:42 +0500 Subject: [PATCH 2/2] rename 'ES?' lesson to 'What is ES6?' reason: current lesson title is too vague --- db/fixtures/lessons/javascript_lessons.rb | 6 +++--- .../paths/full_stack_javascript/courses/javascript.rb | 2 +- db/fixtures/paths/full_stack_rails/courses/javascript.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/fixtures/lessons/javascript_lessons.rb b/db/fixtures/lessons/javascript_lessons.rb index 76ea8ec8f6..10229d9934 100644 --- a/db/fixtures/lessons/javascript_lessons.rb +++ b/db/fixtures/lessons/javascript_lessons.rb @@ -120,9 +120,9 @@ def javascript_lessons url: '/javascript/javascript_in_the_real_world/form_validation_with_javascript.md', identifier_uuid: 'c95fe496-2223-4c96-bf3f-9d8e3796d233', }, - 'ES?' => { - title: 'ES?', - description: 'ES?', + 'What is ES6?' => { + title: 'What is ES6?', + description: 'What is ES6?', is_project: false, url: '/javascript/javascript_in_the_real_world/what_is_es6.md', identifier_uuid: 'f5c4b108-adf8-41af-bf3b-a38dd409a67d', diff --git a/db/fixtures/paths/full_stack_javascript/courses/javascript.rb b/db/fixtures/paths/full_stack_javascript/courses/javascript.rb index 221f638670..95d3b7b841 100644 --- a/db/fixtures/paths/full_stack_javascript/courses/javascript.rb +++ b/db/fixtures/paths/full_stack_javascript/courses/javascript.rb @@ -56,7 +56,7 @@ javascript_lessons.fetch('Linting'), javascript_lessons.fetch('Dynamic User Interface Interactions'), javascript_lessons.fetch('Form Validation with JavaScript'), - javascript_lessons.fetch('ES?'), + javascript_lessons.fetch('What is ES6?'), ) end diff --git a/db/fixtures/paths/full_stack_rails/courses/javascript.rb b/db/fixtures/paths/full_stack_rails/courses/javascript.rb index e8ce5540a8..dc9e22fdc9 100644 --- a/db/fixtures/paths/full_stack_rails/courses/javascript.rb +++ b/db/fixtures/paths/full_stack_rails/courses/javascript.rb @@ -56,7 +56,7 @@ javascript_lessons.fetch('Linting'), javascript_lessons.fetch('Dynamic User Interface Interactions'), javascript_lessons.fetch('Form Validation with JavaScript'), - javascript_lessons.fetch('ES?'), + javascript_lessons.fetch('What is ES6?'), ) end