diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 31ae77ac..9268ffb4 100644 Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Artera_prod/.DS_Store b/Custom_Templates/customer_templates/Artera_prod/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/Custom_Templates/customer_templates/Artera_prod/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid new file mode 100644 index 00000000..ae793964 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_cards_course.html.liquid @@ -0,0 +1,32 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +
+
+ + {{ course.name }} + + +

+ {% if course.categories %} + {% for course_category in course.categories %} + + {{ course_category.name }} + + {% endfor %} + {% endif %} +

+ +
+ + {{ course.name }} + +
+ +

{{ course.short_description }}

+
+
+ diff --git a/Custom_Templates/customer_templates/Artera_prod/_catalog_filters.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_catalog_filters.html.liquid new file mode 100644 index 00000000..56200b21 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_catalog_filters.html.liquid @@ -0,0 +1,117 @@ +
+
+ +
+ All Courses + {% for category in categories.in_catalog %} + {{ category.name }} + {% endfor %} +
+
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_prod/_completed_courses_index.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_completed_courses_index.html.liquid new file mode 100644 index 00000000..8e634ef0 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_completed_courses_index.html.liquid @@ -0,0 +1,42 @@ +{% if courses.enrolled.any? %} + {% assign completed_courses = courses.enrolled | map: "completed?" %} + {% assign any_completed = false %} + + {% for completed_course in completed_courses %} + {% if completed_course %} + {% assign any_completed = true %} + {% endif %} + {% endfor %} + + {% if any_completed %} + {% assign any_course = false %} +
+ {% for course in courses.enrolled %} + {% if course.completed? %} + {% assign is_course_from_learning_path = false %} + {% for lp_courses in learning_path_courses %} + {% for lp_course in lp_courses %} + {% if lp_course.id == course.id %} + {% assign is_course_from_learning_path = true %} + {% endif %} + {% endfor %} + {% endfor %} + + {% unless is_course_from_learning_path %} +
+ {% include "cards_course" with course %} +
+ {% assign any_course = true %} + {% endunless %} + {% endif %} + {% endfor %} +
+ {% unless any_course %} + {% include "courses_zero_state", message: "Yikes! You don’t have any Completed Courses." %} + {% endunless %} + {% else %} + {% include "courses_zero_state", message: "Yikes! You don’t have any Completed Courses." %} + {% endif %} +{% else %} + {% include "courses_zero_state", message: "Yikes! You don’t have any Completed Courses." %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Artera_prod/_completed_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_completed_learning_paths_index.html.liquid new file mode 100644 index 00000000..042c211d --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_completed_learning_paths_index.html.liquid @@ -0,0 +1,34 @@ +
+ {% if items.any? %} + {% assign completed_learning_paths = items | map: "completed?" %} + {% assign any_completed = false %} + + {% for completed_learning_path in completed_learning_paths %} + {% if completed_learning_path %} + {% assign any_completed = true %} + {% endif %} + {% endfor %} + + {% if any_completed %} + {% for learning_path in items %} + {% if learning_path.completed? %} + {% include "cards_learning_path" with learning_path %} + {% endif %} + {% endfor %} + {% else %} +
+
+ Bummer! You don't have any Completed Learning Paths. +
+ {% t .empty %} +
+ {% endif %} + {% else %} +
+
+ Bummer! You don't have any Completed Learning Paths. +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Artera_prod/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_courses_catalog.html.liquid new file mode 100644 index 00000000..17841fda --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_courses_catalog.html.liquid @@ -0,0 +1,28 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_prod/_enrolled_courses_index.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_enrolled_courses_index.html.liquid new file mode 100644 index 00000000..222e7012 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_enrolled_courses_index.html.liquid @@ -0,0 +1,42 @@ +{% if courses.enrolled.any? %} + {% assign in_progress_courses = courses.enrolled | map: "progress" %} + {% assign any_not_in_progress = false %} + + {% for in_progress_course in in_progress_courses %} + {% if in_progress_course == 0 %} + {% assign any_not_in_progress = true %} + {% endif %} + {% endfor %} + + {% if any_not_in_progress %} + {% assign any_course = false %} +
+ {% for course in courses.enrolled %} + {% if course.progress == 0 %} + {% assign is_course_from_learning_path = false %} + {% for lp_courses in learning_path_courses %} + {% for lp_course in lp_courses %} + {% if lp_course.id == course.id %} + {% assign is_course_from_learning_path = true %} + {% endif %} + {% endfor %} + {% endfor %} + + {% unless is_course_from_learning_path %} +
+ {% include "cards_course" with course %} +
+ {% assign any_course = true %} + {% endunless %} + {% endif %} + {% endfor %} +
+ {% unless any_course %} + {% include "courses_zero_state", message: "Yikes! You don’t have any Enrolled Courses." %} + {% endunless %} + {% else %} + {% include "courses_zero_state", message: "Yikes! You don’t have any Enrolled Courses." %} + {% endif %} +{% else %} + {% include "courses_zero_state", message: "Yikes! You don’t have any Enrolled Courses." %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Artera_prod/_enrolled_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_enrolled_learning_paths_index.html.liquid new file mode 100644 index 00000000..4abf701a --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_enrolled_learning_paths_index.html.liquid @@ -0,0 +1,35 @@ +
+ {% if items.any? %} + {% assign in_progress_learning_paths = items | map: "progress" %} + {% assign any_not_in_progress = false %} + + {% for in_progress_learning_path in in_progress_learning_paths %} + {% if in_progress_learning_path == 0 %} + {% assign any_not_in_progress = true %} + {% endif %} + {% endfor %} + + + {% if any_not_in_progress %} + {% for learning_path in items %} + {% if learning_path.progress == 0 %} + {% include "cards_learning_path" with learning_path %} + {% endif %} + {% endfor %} + {% else %} +
+
+ Bummer! You do not have any Enrolled Learning Paths. +
+ {% t .empty %} +
+ {% endif %} + {% else %} +
+
+ Bummer! You do not have any Enrolled Learning Paths. +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Artera_prod/_footer.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_footer.html.liquid new file mode 100644 index 00000000..d7db6f41 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_footer.html.liquid @@ -0,0 +1,206 @@ + + + diff --git a/Custom_Templates/customer_templates/Artera/_head.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_head.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Artera/_head.html.liquid rename to Custom_Templates/customer_templates/Artera_prod/_head.html.liquid diff --git a/Custom_Templates/customer_templates/Artera/_header.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_header.html.liquid similarity index 76% rename from Custom_Templates/customer_templates/Artera/_header.html.liquid rename to Custom_Templates/customer_templates/Artera_prod/_header.html.liquid index 047f9b56..d4f6224c 100644 --- a/Custom_Templates/customer_templates/Artera/_header.html.liquid +++ b/Custom_Templates/customer_templates/Artera_prod/_header.html.liquid @@ -1,5 +1,4 @@
-
{% if current_person.signed_in? %} @@ -24,7 +23,21 @@ {% endif %}
{% if current_school.logo_url %} -

+
+

+ + {{ current_school.name }} + +

+ + {% include "sub_navigation" %} +
+ +

{{ current_school.name }}

+ {% else %} {{ current_school.name }} @@ -120,6 +134,7 @@
{% endif %} + {% include 'my_courses_filter' %}
@@ -151,14 +166,30 @@ {% for website_navigation in navigations.header_navigations %} - - {{ website_navigation.name }} - + {% if website_navigation.name == "Dashboard" %} + + My Courses + + {% else %} + + {{ website_navigation.name }} + + {% endif %} {% endfor %} + + Catalog +
{% unless current_school.sso_active? %}
+ {% include "messages" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_header_minimal.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Artera/_header_minimal.html.liquid rename to Custom_Templates/customer_templates/Artera_prod/_header_minimal.html.liquid diff --git a/Custom_Templates/customer_templates/Artera_prod/_in_progress_courses_index.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_in_progress_courses_index.html.liquid new file mode 100644 index 00000000..d39f87b1 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_in_progress_courses_index.html.liquid @@ -0,0 +1,51 @@ +{% if courses.enrolled.any? %} + {% assign started_courses = courses.enrolled | map: "started?" %} + {% assign in_progress_courses = courses.enrolled | map: "progress" %} + {% assign learning_path_courses = learning_paths.enrolled | map: 'items'%} + {% assign any_started = false %} + {% assign any_in_progress = false %} + + {% for started_course in started_courses %} + {% if started_course == true %} + {% assign any_started = true %} + {% endif %} + {% endfor %} + + {% for in_progress_course in in_progress_courses %} + {% if in_progress_course > 0 and in_progress_course < 100 %} + {% assign any_in_progress = true %} + {% endif %} + {% endfor %} + + {% if any_started and any_in_progress %} + {% assign any_course = false %} +
+ {% for course in courses.enrolled %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign is_course_from_learning_path = false %} + {% for lp_courses in learning_path_courses %} + {% for lp_course in lp_courses %} + {% if lp_course.id == course.id %} + {% assign is_course_from_learning_path = true %} + {% endif %} + {% endfor %} + {% endfor %} + + {% unless is_course_from_learning_path %} +
+ {% include "cards_course" with course %} +
+ {% assign any_course = true %} + {% endunless %} + {% endif %} + {% endfor %} +
+ {% unless any_course %} + {% include "courses_zero_state", message: "Yikes! You don’t have any In Progress Courses." %} + {% endunless %} + {% else %} + {% include "courses_zero_state", message: "Yikes! You don’t have any In Progress Courses." %} + {% endif %} +{% else %} + {% include "courses_zero_state", message: "Yikes! You don’t have any In Progress Courses." %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Artera_prod/_in_progress_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_in_progress_learning_paths_index.html.liquid new file mode 100644 index 00000000..79197f1b --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_in_progress_learning_paths_index.html.liquid @@ -0,0 +1,42 @@ +
+ {% if items.any? %} + {% assign started_learning_paths = items | map: "started?" %} + {% assign in_progress_learning_paths = items | map: "progress" %} + {% assign any_started = false %} + {% assign any_in_progress = false %} + + {% for started_learning_path in started_learning_paths %} + {% if started_learning_path == true %} + {% assign any_started = true %} + {% endif %} + {% endfor %} + + {% for in_progress_learning_path in in_progress_learning_paths %} + {% if in_progress_learning_path > 0 and in_progress_learning_path < 100 %} + {% assign any_in_progress = true %} + {% endif %} + {% endfor %} + + {% if any_started and any_in_progress %} + {% for learning_path in items %} + {% if learning_path.progress > 0 and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% endif %} + {% endfor %} + {% else %} +
+
+ Bummer! You don't have any In Progress Learning Paths. +
+ {% t .empty %} +
+ {% endif %} + {% else %} +
+
+ Bummer! You don't have any In Progress Learning Paths. +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Artera_prod/_my_courses_filter.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_my_courses_filter.html.liquid new file mode 100644 index 00000000..6d3ba4bd --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_my_courses_filter.html.liquid @@ -0,0 +1,151 @@ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_prod/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_sub_navigation.html.liquid new file mode 100644 index 00000000..3af0c1e0 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_sub_navigation.html.liquid @@ -0,0 +1,43 @@ +
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_prod/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Artera_prod/_training_session_cta.html.liquid new file mode 100644 index 00000000..b3253fa8 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/_training_session_cta.html.liquid @@ -0,0 +1,11 @@ +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Artera/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Artera_prod/auth_url_email.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Artera/auth_url_email.html.liquid rename to Custom_Templates/customer_templates/Artera_prod/auth_url_email.html.liquid diff --git a/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid b/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid new file mode 100644 index 00000000..1af807a2 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/catalog.html.liquid @@ -0,0 +1,26 @@ +{% include "header" %} +
+ {% include "course_version_outdated_alert", courses: courses.in_catalog %} +
+
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% include 'catalog_filters' %} +
+ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} +
+ {% include "courses_catalog" %} +
+{% include "footer" %} + + diff --git a/Custom_Templates/customer_templates/Artera_prod/course.html.liquid b/Custom_Templates/customer_templates/Artera_prod/course.html.liquid new file mode 100644 index 00000000..421ebdae --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/course.html.liquid @@ -0,0 +1,18 @@ +{% include "header" %} +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid b/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid new file mode 100644 index 00000000..3eaa8279 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/dashboard.html.liquid @@ -0,0 +1,108 @@ +{% include "header" %} +{% include "sub_navigation" %} +{% assign courses_classes = "" %} +{% if features.training_events? %} + {% assign courses_classes = "col-xs-12 col-sm-6 np-stretch-content" %} +{% else %} + {% assign courses_classes = "col-xs-12 col-sm-4 np-stretch-content" %} +{% endif %} + +
+ {% include "course_version_outdated_alert", courses: courses.enrolled %} +
+
+ {% if features.learning_paths? %} +
+
+ In Progress Learning Paths +
+ {% include "in_progress_learning_paths_index", items: learning_paths.enrolled %} +
+ +
+
+ Enrolled Learning Paths +
+ {% include "enrolled_learning_paths_index", items: learning_paths.enrolled %} +
+ +
+
+ Completed Learning Paths +
+ {% include "completed_learning_paths_index", items: learning_paths.enrolled %} +
+ {% endif %} + +
+
+ In progress courses +
+ {% include "in_progress_courses_index", class: courses_classes %} +
+ +
+
+ Enrolled Courses +
+ {% include "enrolled_courses_index", class: courses_classes %} +
+ +
+
+ Completed Courses +
+ {% include "completed_courses_index", class: courses_classes %} +
+
+ +
+
+ {% t .upcoming_events %} +
+
+ +
+
+
+
+{% include "footer" %} + + + + diff --git a/Custom_Templates/customer_templates/Artera_prod/homepage.html.liquid b/Custom_Templates/customer_templates/Artera_prod/homepage.html.liquid new file mode 100644 index 00000000..58c9a26e --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/homepage.html.liquid @@ -0,0 +1,188 @@ +{% include "header" %} +
+ {% include "course_version_outdated_alert", courses: courses.featured %} +
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% include "sub_navigation" %} + +
+{% include "footer" %} + + + + + + + diff --git a/Custom_Templates/customer_templates/Artera_prod/styles.css.liquid b/Custom_Templates/customer_templates/Artera_prod/styles.css.liquid new file mode 100644 index 00000000..448850d3 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/styles.css.liquid @@ -0,0 +1,135 @@ + /* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ + +@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); + +html *:not(i) { + font-family: 'Poppins', sans-serif !important; +} + +body, .np-main { + background: #fff; +} + +.np-main { + padding-top: 123px; +} + +@media screen and (min-width: 768px) { + .np-main { + padding-top: 123px; + } +} + +.np-alert { + margin: 20px 0; +} + +/* Course Cards */ + +.course-card { + cursor: pointer; + background-color: #f5f2ff; + border-radius: 30px; + box-shadow: none; + padding: 24px 24px 44px; + transition: .2s; + width: 100%; + margin: 20px 0; +} + +.course-card:hover, .course-card:focus { + box-shadow: 10px 10px 20px 0 rgb(62 51 102 / 20%); +} + +.course-card-container { + display: flex; + width: 100%; +} + +.course-card-container > * { + transition: .2s; +} + +.course-image { + border-radius: 15px; + display: block; + margin-bottom: 16px; + overflow: hidden; + padding-top: 72%; + position: relative; + width: 100%; +} + +.course-image img { + bottom: 0; + height: 100%; + left: 0; + object-fit: cover; + position: absolute; + right: 0; + top: 0; + width: 100%; + max-width: 100%; +} + +.course-categories-container { + font-size: 10px; + font-weight: 500; + margin: 0; + min-height: 25.5px; +} + +.course-name { + font-weight: 500; + letter-spacing: 1px; + line-height: normal; + margin: 20px 0 0; + font-size: 18px; + min-height: 60px +} + +.course-name a { + text-decoration: none; + color: #000; +} + +.course-category { + background-color: #ffe7e1; + color: #ff7676; + border-radius: 4px; + font-weight: 500; + margin-right: 8px; + padding: 4px 8px; + text-transform: uppercase; + transition: .2s; + text-decoration: none; + margin-bottom: 6px; +} + +@media (min-width: 768px) { + .course-card { + padding: 24px 24px 35px; + } + + .course-card-container { + padding: 0 12px; + } + + .course-image { + padding-top: 66%; + } + + .course-name { + font-size: 20px; + } +} diff --git a/Custom_Templates/customer_templates/Artera_prod/training_events.html.liquid b/Custom_Templates/customer_templates/Artera_prod/training_events.html.liquid new file mode 100644 index 00000000..320a237a --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_prod/training_events.html.liquid @@ -0,0 +1,33 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ +
+
+{% include "footer" %} + + + diff --git a/CustomerNotes/Walmart.md b/CustomerNotes/Walmart.md index 697a05d7..48bbf7e0 100644 --- a/CustomerNotes/Walmart.md +++ b/CustomerNotes/Walmart.md @@ -391,7 +391,28 @@ TODO: Show MJ how to do Show Transcript for bullet points. Here is the code:
Show Transcript
-

Hey everyone, this is Ally with Tripleseat and in this video we are going to go over how to create an event and the different options you have to do so. The quickest way to add an event right to your calendar is by clicking on the new event button on the top right corner of your screen in Tripleseat. Detailing this page out and clicking create will add the event right to our calendar as well as store the contact information within Tripleseat.

+

+Hey everyone, this is Ally with Tripleseat and in this video we are going to go over how to create an event and the different options you have to do so. The quickest way to add an event right to your calendar is by clicking on the new event button on the top right corner of your screen in Tripleseat. Detailing this page out and clicking create will add the event right to our calendar as well as store the contact information within Tripleseat. +

``` TODO: Show MJ example of Video+Article as two activities example. + +## 03/29/2023 + +### Design + +Past Q2, no definitive plans for spanish changes/translations. +Maybe more integrations of knowledge checks, other browser info +Getting creative with quizzing. + +Bundles, resource bundles. Currently turned off in the sandbox. +CB: How should badges be represented in a bundle? +If you have 3 courses, when and how should the badge appear? + +Idea: bar at the bottom. Greyscale before completion, colorized after. +TP: can we share any displays/UX screenshots of other clients displaying badges? +TODO: Work with Charlie to find examples of badging for the team. + +For the first iteration, this will live solely in Northpass. +Dev work from Walmart: they will need to pass/insert info into the webview. diff --git a/CustomerNotes/Walmart_Luminate.md b/CustomerNotes/Walmart_Luminate.md index d7ea9788..048e149d 100644 --- a/CustomerNotes/Walmart_Luminate.md +++ b/CustomerNotes/Walmart_Luminate.md @@ -122,3 +122,12 @@ Questions from Stephanie: * Luminate's biggest concern is upkeep. Version Control. They make a ton of changes to the products. They need to update the content quickly and effectively. Example: Screenshot in one lesson but what if it is in different lessons etc. + + +## 03/29/2023 + +### Design Process + +Looking for a June 1st launch. First Wednesday of June. June 7th hard deadline. +Material Design icons +Jessica isn't aware of how detailed we can customize things. Maybe send her screenshots? diff --git a/Scripts/API_Tests/get_courses.py b/Scripts/API_Tests/get_courses.py index 93e8e9dc..935068f7 100644 --- a/Scripts/API_Tests/get_courses.py +++ b/Scripts/API_Tests/get_courses.py @@ -7,7 +7,8 @@ import Apikeys def get_course(): count = 0 apiKey = Apikeys.walmartprod - live_courses = [] + courses = [] + category_ids = [] while True: count += 1 @@ -22,17 +23,26 @@ def get_course(): for response in data["data"]: status = response["attributes"]["status"] - if status == "live": - name = response["attributes"]["name"] - live_courses.append(name) - with open("/Users/normrasmussen/Downloads/courses.txt", "a") as write: - write.write("\n") - write.write(name) + uuid = response["id"] + name = response["attributes"]["name"] + + course_url = f"https://walmart.northpass.com/app/courses/{uuid}" + cat_id = response["relationships"]["categories"]["data"] + for item in cat_id: + categoryid = item["id"] + print(categoryid) + courses.append(name) + with open("/Users/normrasmussen/Downloads/courses.csv", "a") as write: + write.write("\n") + write.write(name+","+status+","+uuid) if "next" not in nextlink: break - print(live_courses) + #print(courses) +# https://walmart.northpass.com/app/courses/ +def get_category_name(category_ids): + pass if __name__ == "__main__": get_course()