diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 53400eb1..0385b29b 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_internal/_cards_course.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_cards_course.html.liquid new file mode 100644 index 00000000..cfa24ef8 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_cards_course.html.liquid @@ -0,0 +1,33 @@ +{% 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 }} + +
+
+
+ + diff --git a/Custom_Templates/customer_templates/Artera_internal/_catalog_filters.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_catalog_filters.html.liquid new file mode 100644 index 00000000..56200b21 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_completed_courses_index.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_completed_courses_index.html.liquid new file mode 100644 index 00000000..8e634ef0 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_completed_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_completed_learning_paths_index.html.liquid new file mode 100644 index 00000000..042c211d --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_courses_catalog.html.liquid new file mode 100644 index 00000000..17841fda --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_enrolled_courses_index.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_enrolled_courses_index.html.liquid new file mode 100644 index 00000000..222e7012 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_enrolled_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_enrolled_learning_paths_index.html.liquid new file mode 100644 index 00000000..4abf701a --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_footer.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_footer.html.liquid new file mode 100644 index 00000000..d7db6f41 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_footer.html.liquid @@ -0,0 +1,206 @@ + + + diff --git a/Custom_Templates/customer_templates/Artera_internal/_head.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_head.html.liquid new file mode 100644 index 00000000..39e3cc0d --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_head.html.liquid @@ -0,0 +1,26 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_internal/_header.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_header.html.liquid new file mode 100644 index 00000000..d4f6224c --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_header.html.liquid @@ -0,0 +1,252 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +
+

+ + {{ current_school.name }} + +

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

+ + {{ current_school.name }} + +

+ + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
+ {% endif %} + + {% include 'my_courses_filter' %} +
+ +
+
+
+
+ + +{% include "messages" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_internal/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_header_minimal.html.liquid new file mode 100644 index 00000000..1a607874 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_header_minimal.html.liquid @@ -0,0 +1,47 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +{% include "messages" %} + + + diff --git a/Custom_Templates/customer_templates/Artera_internal/_in_progress_courses_index.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_in_progress_courses_index.html.liquid new file mode 100644 index 00000000..d39f87b1 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_in_progress_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_in_progress_learning_paths_index.html.liquid new file mode 100644 index 00000000..79197f1b --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_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_internal/_my_courses_filter.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_my_courses_filter.html.liquid new file mode 100644 index 00000000..6d3ba4bd --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_my_courses_filter.html.liquid @@ -0,0 +1,151 @@ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Artera_internal/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_sub_navigation.html.liquid new file mode 100644 index 00000000..9328d4cc --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_sub_navigation.html.liquid @@ -0,0 +1,46 @@ + + + + + diff --git a/Custom_Templates/customer_templates/Artera_internal/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Artera_internal/_training_session_cta.html.liquid new file mode 100644 index 00000000..b3253fa8 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/_training_session_cta.html.liquid @@ -0,0 +1,11 @@ +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Artera_internal/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Artera_internal/auth_url_email.html.liquid new file mode 100644 index 00000000..205b8f17 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/auth_url_email.html.liquid @@ -0,0 +1,72 @@ + + +{%comment%} +{%endcomment%} +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ Check out the video below for a quick tour of Artera Academy.
Then, enter your first name, last name, and your work email address below to get started. +
+ + {%comment%}
 
{%endcomment%} +
+
+ +
+
+
+ +
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Artera_internal/catalog.html.liquid b/Custom_Templates/customer_templates/Artera_internal/catalog.html.liquid new file mode 100644 index 00000000..1af807a2 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/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_internal/course.html.liquid b/Custom_Templates/customer_templates/Artera_internal/course.html.liquid new file mode 100644 index 00000000..421ebdae --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/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_internal/dashboard.html.liquid b/Custom_Templates/customer_templates/Artera_internal/dashboard.html.liquid new file mode 100644 index 00000000..95f299f6 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/dashboard.html.liquid @@ -0,0 +1,65 @@ +{% 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 %} +
+
+ +
+
+ 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 %} +
+
+ +
+
+{% include "footer" %} + + + + diff --git a/Custom_Templates/customer_templates/Artera_internal/homepage.html.liquid b/Custom_Templates/customer_templates/Artera_internal/homepage.html.liquid new file mode 100644 index 00000000..0fa525a1 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/homepage.html.liquid @@ -0,0 +1,191 @@ +{% 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_internal/styles.css.liquid b/Custom_Templates/customer_templates/Artera_internal/styles.css.liquid new file mode 100644 index 00000000..448850d3 --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/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_internal/training_events.html.liquid b/Custom_Templates/customer_templates/Artera_internal/training_events.html.liquid new file mode 100644 index 00000000..320a237a --- /dev/null +++ b/Custom_Templates/customer_templates/Artera_internal/training_events.html.liquid @@ -0,0 +1,33 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ +
+
+{% include "footer" %} + + + diff --git a/CustomerNotes/Artera.md b/CustomerNotes/Artera.md index 5e2b7cb5..fb3b22e4 100644 --- a/CustomerNotes/Artera.md +++ b/CustomerNotes/Artera.md @@ -92,7 +92,6 @@ Each box is the same height. Emily due April 19th. Will then be on parental leave. - ## 05/02/2023 ### Scheduled Report Request @@ -103,3 +102,22 @@ to access the reports. DONE: Custom Report for completions of "Self Service Analytics" Course. Other items: redoing the design of the internal LMS. + +## 06/01/2023 + +### Internal Instance Redesign + +They don't need ILTs for the internal. +Match the external Artera LMS - as close to 1:1 as possible. + +Notes on what to and not to change: + +* My Courses - remove events embed, center all cards and make courses 3 across. +* Course cards - They will not be using short description, make cards smaller. +* Sub nav - Remove LP & Events +* Homepage - no homepage, My courses is the homepage + +No official release, just move over when ready. +Should be completed once Jackie returns from PTO. +Anytime after the week of July 3rd. Jackie is back on July 11th. +Jackie is OUT as of 22nd. diff --git a/Scripts/harriUserProps.csv b/Scripts/harriUserProps.csv new file mode 100644 index 00000000..892575eb --- /dev/null +++ b/Scripts/harriUserProps.csv @@ -0,0 +1,27 @@ +"Gaucho and M restaurants";"" +"Mass Subs Holdings LLC";"Jersey Mike's" +"Top Shelf Restaurants LLC dba Jersey Mike's";"Jersey Mike's" +"Rick Stein";"" +"Maman";"" +"Creative Food Group";"" +"JM Washington Inc.Dba Jersey Mike's";"Jersey Mike's" +"ITICO";"" +"Mass Subs Holdings LLC";"Jersey Mike's" +"Holland Park Restaurant Limited";"" +"Rick Stein";"" +"LC of SA | DHC of SA | Firehouse of SA";"Dave's Hot Chicken" +"Hawaiian Bros Island Grill";"" +"YOTEL";"" +"Caprice Restaurants";"" +"Rick Stein";"" +"Maman";"" +"DRS Food | Sharma Domino's";"" +"Bar Lab Holdings LLC";"" +"TopShelfLifestyles, LLC";"Jersey Mike's" +"Pasture Restaurant Ltd";"" +"Rick Stein";"" +"Newstay Manchester Trading Limited";"" +"Freeland Group Restaurants (HQ)";"" +"SKYNET GP5";"" +"Creative Food Group";"" +"Rick Stein";"" diff --git a/Scripts/harri_csv.js b/Scripts/harri_csv.js index 9303f8d3..4ff0e4e5 100644 --- a/Scripts/harri_csv.js +++ b/Scripts/harri_csv.js @@ -1,3 +1,18 @@ +/* Hello, Tracy! Welcome to the Harri script! + +Please save this script in a specific folder. That folder should be: ~/Documents/Harri/ + +Please save the file you get from Chris in that same folder! + +Here's how you run it. Now that this file is open in VS Code, you're almost there! +1. Click "Terminal" at the top of your screen and click "New Terminal" (or use Control+Shift+`) +2. A little window will show up at the bottom of your screen. Make sure "Terminal" is highlighted. +3. Go to line 100 and make sure the path is the same where your files are saved (Documents/Harri). Make sure the date is accurate. +4. Click on this new terminal window and make sure you can type. Please copy and paste the following command: +" node ~/Documents/Harri/harri_csv.js", tap Enter. +5. If all goes well, you should see the script "working" by showing emails and uuids in the terminal. + +*/ const fs = require("fs"); const { parse } = require("csv-parse"); const axios = require('axios'); @@ -84,4 +99,4 @@ function csvReader(someArray, filePath) { }) } -csvReader(array, "/Users/normrasmussen/Downloads/Harri Activation Report - 2023.05.31.csv") +csvReader(array, "~/Documents/Harri/Harri Activation Report - 2023.05.31.csv") diff --git a/Y b/Y deleted file mode 100644 index a29b9427..00000000 --- a/Y +++ /dev/null @@ -1,35 +0,0 @@ -session_name: Northpass -windows: -- focus: 'true' - layout: c0fe,181x64,0,0,1 - options: {} - panes: - - focus: 'true' - shell_command: Python - start_directory: /Users/normrasmussen/Documents/Work - window_name: notes -- layout: c0ff,181x64,0,0,2 - options: {} - panes: - - focus: 'true' - shell_command: zsh - start_directory: /Users/normrasmussen/Documents/Work/Custom_Templates/customer_templates - window_name: templates -- layout: fc38,181x64,0,0[181x47,0,0,3,181x16,0,48,4] - options: {} - panes: - - focus: 'true' - shell_command: - - cd /Users/normrasmussen/Documents/Work/Scripts - - zsh - - shell_command: - - cd /Users/normrasmussen/Documents/Work/Scripts/API_Tests - - zsh - window_name: scripts -- layout: c102,181x64,0,0,5 - options: {} - panes: - - focus: 'true' - shell_command: zsh - start_directory: /Users/normrasmussen/.dotfiles/nvim/.config/nvim - window_name: dots