From 3d9c9c5b6bdb0105028b59a5a4c0efa2a358d991 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Tue, 14 Nov 2023 18:12:34 -0500 Subject: [PATCH] G2 Templates updates, Ntoes for WilliamSonoma,Glassdoor, AchieveCE. Script updates. --- .../customer_templates/G2/_badges.html.liquid | 34 +++++---- CustomerNotes/AchieveCE/achievece.md | 67 +++++++++++------- CustomerNotes/Glassdoor/Glassdoor.md | 2 + CustomerNotes/WilliamSonoma/WilliamSonoma.md | 30 ++++++++ Scripts/API_Tests/Apikeys.py | 1 + .../__pycache__/Apikeys.cpython-311.pyc | Bin 962 -> 1054 bytes Scripts/API_Tests/medialib_csv.py | 39 ++++++---- Scripts/workato-antho-2.py | 4 +- 8 files changed, 118 insertions(+), 59 deletions(-) diff --git a/Custom_Templates/customer_templates/G2/_badges.html.liquid b/Custom_Templates/customer_templates/G2/_badges.html.liquid index dcb4c367..8ab830bc 100644 --- a/Custom_Templates/customer_templates/G2/_badges.html.liquid +++ b/Custom_Templates/customer_templates/G2/_badges.html.liquid @@ -1,35 +1,33 @@ -
+
{% assign number_of_badges = 0 %} {% assign max_number_of_badges = 5 %} {% for course in courses.enrolled %} {% if number_of_badges < max_number_of_badges %} {% if course.completed? %} - {% unless course.properties.points == "missing property: points" or course.properties.points == null %}
{% assign number_of_badges = number_of_badges | plus: 1 %} - {% endunless %} {% endif %} {% endif %} {% endfor %} -
- -
-
- -
-
- -
-
- -
-
- -
+ {% comment %}
{% endcomment %} + {% comment %} {% endcomment %} + {% comment %}
{% endcomment %} + {% comment %}
{% endcomment %} + {% comment %} {% endcomment %} + {% comment %}
{% endcomment %} + {% comment %}
{% endcomment %} + {% comment %} {% endcomment %} + {% comment %}
{% endcomment %} + {% comment %}
{% endcomment %} + {% comment %} {% endcomment %} + {% comment %}
{% endcomment %} + {% comment %}
{% endcomment %} + {% comment %} {% endcomment %} + {% comment %}
{% endcomment %}
diff --git a/CustomerNotes/AchieveCE/achievece.md b/CustomerNotes/AchieveCE/achievece.md index 4146ca63..99ed1c1b 100644 --- a/CustomerNotes/AchieveCE/achievece.md +++ b/CustomerNotes/AchieveCE/achievece.md @@ -49,8 +49,8 @@ Zoom URL: TODO: Ask SE if we can hide Additional Information in milestone _unless_ completed milestone is shown. Today webinar: - * https://achievece.zoom.us/j/85182404988 - * https://achievece.com/pharmacy-webinar/ +* +* Luke was expecting "the self-serve custom certificate portal to open up" and they built that into their game plan. They want more custom fields in a cert - license information, such as RN number. @@ -59,8 +59,8 @@ The per course uniqueness is the accreditation board. Each course is accredited Cert examples: - * `https://www.dropbox.com/scl/fi/w0zt8yygpvp4arb2p9r98/Certificate-completion-2023_General.jpg?rlkey=dgox9j94v22gw7yvctrravxj3&dl=1` - * `https://www.dropbox.com/scl/fi/g0ykns5dbql0aglw2pjek/Certificate-completion-2023_Medicine_CEC.jpg?rlkey=84lexxdzlkbj0w591hdx8yq78&dl=1` +* `https://www.dropbox.com/scl/fi/w0zt8yygpvp4arb2p9r98/Certificate-completion-2023_General.jpg?rlkey=dgox9j94v22gw7yvctrravxj3&dl=1` +* `https://www.dropbox.com/scl/fi/g0ykns5dbql0aglw2pjek/Certificate-completion-2023_Medicine_CEC.jpg?rlkey=84lexxdzlkbj0w591hdx8yq78&dl=1` WARN: They need custom certs PER course, which we don't do. I've involved Charles and Travis to solve for this. Charles will reach out to Luke if we can't figure this out. @@ -71,28 +71,47 @@ Charles will reach out to Luke if we can't figure this out. William Whatley - joined, product development? Worked with Luke in a business sense for over 6 years. -1. Certificates - - * Wished it was faster - * Ok - that it's on the next sprint. Not ideal, but they will take what they can get. - * Wants to have the ability to switch out the background based on a person/course? - * Ideal Scenario: Profess type and course for cert background. Person A/B complete a course. They have dif backgrounds. - * Bonus: NOT give certs (revoke?) based on profession type. They should be blocked from courses completely. -2. Rationale - - * We need to wait for Austin to finish the design work. - * Wants a timeline to plan for adding Rationale into the academy. -3. Closed Captioning - - * Turn off the CC button for all videos, no matter what. - * Not important for the MVP. -4. User Dashboard - - * Certificates course cards should go straight to the certificate. If course completed and showing in certs page, show - cert. - * Luke sent the hero image, still not uploaded - * Don't wrap categories -5. User Enrollments - - * Didn't know you could enroll via People tab. - * Wants to make sure things line up with their db. +-- Certificates - +* Wished it was faster +* Ok - that it's on the next sprint. Not ideal, but they will take what they can get. +* Wants to have the ability to switch out the background based on a person/course? +* Ideal Scenario: Profess type and course for cert background. Person A/B complete a course. They have dif backgrounds. + * Bonus: NOT give certs (revoke?) based on profession type. They should be blocked from courses completely. + +-- Rationale + +* We need to wait for Austin to finish the design work. +* Wants a timeline to plan for adding Rationale into the academy. + +-- Closed Captioning + +* Turn off the CC button for all videos, no matter what. +* Not important for the MVP. + +-- User Dashboard + +* Certificates course cards should go straight to the certificate. If course completed and showing in certs page, show + cert. +* Luke sent the hero image, still not uploaded +* Don't wrap categories + +-- User Enrollments + +* Didn't know you could enroll via People tab. +* Wants to make sure things line up with their db. Other: * Survey, on hold for now + +## 11/14/2023 + +### Luke and Patrycja + +Notes: + +TODO: Send to Will: + +* Test account +* logout url diff --git a/CustomerNotes/Glassdoor/Glassdoor.md b/CustomerNotes/Glassdoor/Glassdoor.md index 08577623..374acf6c 100644 --- a/CustomerNotes/Glassdoor/Glassdoor.md +++ b/CustomerNotes/Glassdoor/Glassdoor.md @@ -112,6 +112,8 @@ Austin reached out to Michael Stalenwart. Michael emailed Glassdoor on 7/5 and s ### Post-EBR sync with Austin and Mark +No new info. Val and Jon are difficult, in general. + ## 10/30/2023 ### Sync with Paul diff --git a/CustomerNotes/WilliamSonoma/WilliamSonoma.md b/CustomerNotes/WilliamSonoma/WilliamSonoma.md index 9c9df5f6..967df58b 100644 --- a/CustomerNotes/WilliamSonoma/WilliamSonoma.md +++ b/CustomerNotes/WilliamSonoma/WilliamSonoma.md @@ -52,3 +52,33 @@ - Patrycja has access to their old LMS. - Norm to schedule monthly sync with Aubrey. - Quantifiable testing, HR needs specific items, User touches, how long did they access something, etc + +## 11/14/2023 + +### Landing & Learning Path Pages + +Landing Page Buttons for New Hires after they complete steps 1 and 2: + +* Two Zoom Buttons - Trainers Classroom & Troubleshooting Room (Standard to everyone) +* Learning Plan - should be in order. + +Standard Associate Page: + +* My Courses/Dashboard page +* Resources recommended by Supervisor +* Contact button for Supervisor (Email) + +Featured Courses Page: + +* Teams updates +* Things for Download page - resources page +* Branded Channels + +Once we get past day 1 and the new hire training, most pages are "standard". Most of the time its just going to be: + +* Here are your courses, here are your LPs. +* Some special pages. + +TODO: Add buttons to learning path page that looks like Northpass Academy. +Retail has never had an LMS before. They will have a more basic type of experience. +This is unique because of New Hire stuff. diff --git a/Scripts/API_Tests/Apikeys.py b/Scripts/API_Tests/Apikeys.py index 94f31956..faec8c3f 100644 --- a/Scripts/API_Tests/Apikeys.py +++ b/Scripts/API_Tests/Apikeys.py @@ -16,3 +16,4 @@ TERMINUS_EMPLOYEE = "M2er8m0DMQyCyP7zOg3Gbae9k" BIGIDEAS = "mgGWRtmhebC9xulTXeSohVtop" ZENJOB = "LIXqtHXEqcXHyN0EtezngnpzA" DATASNIPPER = "098Odf9CIkk4aQA1lW7tsa9k8" +CHUBB = "m6ZEBesXzpWx2vmp11rEHxrMY" diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc index cbb3aafd273c034ff21616512e443341be85cc82..adb9aef8593311bcf3ec5ff88cffbca61e9fea58 100644 GIT binary patch delta 165 zcmX@aK97TMIWI340}xEA3{K@`p2#P`7&KAcn?B^K};2Ly`)!8G|Y4R_oP%cfN&5S@?oIN>`IYIaapJoI14G!f7 LRuC*w2g(2d6#g!g delta 73 zcmbQoafqF7IWI340}xDca82FMG?7n&(QBf*H%l;srr^f9wT#Sunu3#4n66ItWe(v| Y1*&5N;^M@~tC-+5i9m diff --git a/Scripts/API_Tests/medialib_csv.py b/Scripts/API_Tests/medialib_csv.py index a282ed46..3d100f68 100644 --- a/Scripts/API_Tests/medialib_csv.py +++ b/Scripts/API_Tests/medialib_csv.py @@ -1,23 +1,34 @@ +import pprint import requests -import pandas as pd +import Apikeys -apiKey = "VNDXh8K4tLYJ-Nvp78bo6w" -url = "https://api.northpass.com/v1/media" +APIKEY = Apikeys.CHUBB +URL = "https://api.northpass.com/v1/media" +pp = pprint.PrettyPrinter(indent=4) -def getMedia(apiKey, url): - headers = {"accept": "application/json", "X-Api-Key": apiKey} - response = requests.get(url, headers=headers) - json = response.json() - print(json) - toCsv(json) +def getMedia(APIKEY, URL): + list_data = [] + headers = {"accept": "application/json", "X-Api-Key": APIKEY} + URL = f"{URL}?limit=100" + response = requests.get(URL, headers=headers) + datas = response.json() + for data in datas["data"]: + file_type = data["attributes"]["file_type"] + id_val = data["id"] + create_link = data["links"]["create_course_from_file"] + if "scorm" in file_type: + data_tuple = (id_val, file_type, create_link) + list_data.append(data_tuple) + pp.pprint(list_data) + print(len(list_data)) -def toCsv(json): - js = pd.json_normalize(json, "data", ["data"]) - # csv = pd.Series(js) - js.to_csv("/Users/normrasmussen/Documents/Northpass/Scripts/API_Tests/spsmedia3.csv") +# def toCsv(json): +# js = pd.json_normalize(json, "data", ["data"]) +# # csv = pd.Series(js) +# js.to_csv("/Users/normrasmussen/Documents/Northpass/Scripts/API_Tests/spsmedia3.csv") if __name__ == "__main__": - getMedia(apiKey, url) + getMedia(APIKEY, URL) diff --git a/Scripts/workato-antho-2.py b/Scripts/workato-antho-2.py index 59dc665a..d40fe13f 100644 --- a/Scripts/workato-antho-2.py +++ b/Scripts/workato-antho-2.py @@ -6116,9 +6116,7 @@ MAPPINGS = [ { "uuid": "83f9698f-bcfd-471a-b310-a07f19c255d3", "domains": ["@lindenwood.edu"], - "props": [ - "Lindenwood University: Enhanced+", - ], + "props" : "Lindenwood University: Enhanced+", }, # Lubbock Christian University - (T3) {