Mizuno monthly script. Some cin7 and datasnipper templates and todo list items.

This commit is contained in:
Norm Rasmussen
2024-03-04 17:08:39 -05:00
parent d5926729ad
commit 34032ab681
10 changed files with 1211 additions and 122 deletions

View File

@ -1,5 +1,5 @@
<div class="lp-header-container"> <div class="lp-header-container">
<div class="lp-heading lora"> <div class="lp-heading lora">
Learning Path: {{ learning_path.name }} {{ learning_path.name }}
</div> </div>
</div> </div>

View File

@ -11,14 +11,28 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js" type="text/javascript"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js" type="text/javascript"></script>
{% comment %}
<script type="text/javascript" src="https://cdn.weglot.com/weglot.min.js"></script> <script type="text/javascript" src="https://cdn.weglot.com/weglot.min.js"></script>
<script> <script>
Weglot.initialize({ Weglot.initialize({
api_key: 'wg_65c22885fee5b146978034548c4f888a6' api_key: 'wg_65c22885fee5b146978034548c4f888a6',
switchers: [
{
style: {
full_name: true,
with_name: true,
is_dropdown: false,
with_flags: true,
flag_type: "circle",
invert_flags: false
},
location: {
target: ".np-header",
sibling: null
}
}
],
}); });
</script> </script>
{% endcomment %}
{% include 'generic_tns_carousel' %} {% include 'generic_tns_carousel' %}
{% include 'function_update_event_timezone' %} {% include 'function_update_event_timezone' %}

View File

@ -0,0 +1,14 @@
import mappingsdict
import pandas as pd
FULLDICT = mappingsdict.anthomappings
NEWDICT = {}
DF = pd.DataFrame()
for items in FULLDICT:
uuid = items['uuid']
props = items['props']
NEWDICT[uuid] = props
df = pd.DataFrame([(k, v) for k, v in NEWDICT.items()], columns=['UUID', 'Props'])
df.to_csv("~/Downloads/Anthomaps.csv", sep=',')

View File

@ -1,4 +1,4 @@
mappings = [ anthomappings = [
# Academic Economics - (T1) # Academic Economics - (T1)
{ {
"uuid": "289f8d54-e487-48a0-ac43-5c51c1d0b151", "uuid": "289f8d54-e487-48a0-ac43-5c51c1d0b151",
@ -400,13 +400,25 @@ mappings = [
# Accreditation - (T2) # Accreditation - (T2)
{ {
"uuid": "8585fe89-a050-4dbb-beb8-6ebd7358a970", "uuid": "8585fe89-a050-4dbb-beb8-6ebd7358a970",
"domains": [ "@tldemo.edu", "@newanthology.com", "@knowledgestate.edu", "@gvltec.edu", "@kysu.edu", "@buffalo.edu" ], "domains": [
"@tldemo.edu",
"@newanthology.com",
"@knowledgestate.edu",
"@gvltec.edu",
"@kysu.edu",
"@buffalo.edu",
],
"props": "Anthology Accreditation: Enhanced", "props": "Anthology Accreditation: Enhanced",
}, },
# Accreditation - (T3) # Accreditation - (T3)
{ {
"uuid": "d2542667-0dbf-4680-a5af-042d70f24a55", "uuid": "d2542667-0dbf-4680-a5af-042d70f24a55",
"domains": ["@tldemo.edu", "@newanthology.com", "@knowledgestate.edu", "@kysu.edu"], "domains": [
"@tldemo.edu",
"@newanthology.com",
"@knowledgestate.edu",
"@kysu.edu",
],
"props": "Anthology Accreditation: Enhanced+", "props": "Anthology Accreditation: Enhanced+",
}, },
# Anthology 101 - (T1) # Anthology 101 - (T1)
@ -2495,21 +2507,21 @@ mappings = [
}, },
# Ally - (T1) # Ally - (T1)
{ {
"uuid":"7395831e-4325-4b16-85bb-36c94f68aec0", "uuid": "7395831e-4325-4b16-85bb-36c94f68aec0",
"domains":["@tldemo.edu"], "domains": ["@tldemo.edu"],
"props":"Anthology Ally: Essential" "props": "Anthology Ally: Essential",
}, },
# Ally - (T2) # Ally - (T2)
{ {
"uuid":"2b69f2f8-d567-48c3-8bb3-22e0dc8819bd", "uuid": "2b69f2f8-d567-48c3-8bb3-22e0dc8819bd",
"domains":["@tldemo.edu"], "domains": ["@tldemo.edu"],
"props":"Anthology Ally: Enhanced" "props": "Anthology Ally: Enhanced",
}, },
# Ally - (T3) # Ally - (T3)
{ {
"uuid":"2b69f2f8-d567-48c3-8bb3-22e0dc8819bd", "uuid": "2b69f2f8-d567-48c3-8bb3-22e0dc8819bd",
"domains":["@tldemo.edu"], "domains": ["@tldemo.edu"],
"props":"Anthology Ally Enhanced+", "props": "Anthology Ally Enhanced+",
}, },
# Baseline - (T1) # Baseline - (T1)
{ {
@ -2829,8 +2841,17 @@ mappings = [
# Claremont Colleges - (T3) # Claremont Colleges - (T3)
{ {
"uuid": "44ac8020-933e-4a23-b009-63d9d39e0641", "uuid": "44ac8020-933e-4a23-b009-63d9d39e0641",
"domains": ["@cmc.edu", "@cgu.edu","@g.hmc.edu", "@hmc.edu", "@kgi.edu", "@pomona.edu", "@pitzer.edu","@scripps.edu"], "domains": [
"props": "Anthology Claremont Colleges: Enhanced+" "@cmc.edu",
"@cgu.edu",
"@g.hmc.edu",
"@hmc.edu",
"@kgi.edu",
"@pomona.edu",
"@pitzer.edu",
"@scripps.edu",
],
"props": "Anthology Claremont Colleges: Enhanced+",
}, },
# Central Maine Community College - (T3) # Central Maine Community College - (T3)
{ {
@ -5078,7 +5099,7 @@ mappings = [
{ {
"uuid": "661df0df-d5db-4664-87d5-625310758e02", "uuid": "661df0df-d5db-4664-87d5-625310758e02",
"domains": [""], "domains": [""],
"props": "Anthology Kentucky State University: Enhanced+" "props": "Anthology Kentucky State University: Enhanced+",
}, },
# Insight - (T1) # Insight - (T1)
{ {
@ -6134,17 +6155,16 @@ mappings = [
"props": "Blackboard Learn: Essential", "props": "Blackboard Learn: Essential",
}, },
# Learn - (T2) # Learn - (T2)
{ {
"uuid": "ab461de6-1137-4548-87bf-f9dd78905417", "uuid": "ab461de6-1137-4548-87bf-f9dd78905417",
"domains": ["@tldemo.edu"], "domains": ["@tldemo.edu"],
"props": "Anthology Learn: Enhanced", "props": "Anthology Learn: Enhanced",
}, },
# Learn - (T3) # Learn - (T3)
{ {
"uuid": "0b26d479-d9a7-4e07-aa2f-4893467f41c2", "uuid": "0b26d479-d9a7-4e07-aa2f-4893467f41c2",
"domains": ["@tldemo.edu"], "domains": ["@tldemo.edu"],
"props": "Anthology Learn: Enhanced+", "props": "Anthology Learn: Enhanced+",
}, },
# Lancaster Bible College - (T3) # Lancaster Bible College - (T3)
{ {
@ -6167,7 +6187,7 @@ mappings = [
"props": "Anthology Mid-State Technical College: Enhanced+", "props": "Anthology Mid-State Technical College: Enhanced+",
}, },
# Nightingale College, LLC - (T3) # Nightingale College, LLC - (T3)
{ {
"uuid": "859160ff-906e-4617-940f-9a220508ece8", "uuid": "859160ff-906e-4617-940f-9a220508ece8",
"domains": [], "domains": [],
"props": "Anthology Nightingale College: Enhanced+", "props": "Anthology Nightingale College: Enhanced+",
@ -6182,7 +6202,7 @@ mappings = [
{ {
"uuid": "65cff7cb-0a29-4c0c-9280-76af55d1432d", "uuid": "65cff7cb-0a29-4c0c-9280-76af55d1432d",
"domains": [], "domains": [],
"props": "Anthology Payroll: Enhanced+" "props": "Anthology Payroll: Enhanced+",
}, },
# Lubbock Christian University - (T3) # Lubbock Christian University - (T3)
{ {
@ -8680,7 +8700,6 @@ mappings = [
"uuid": "d694804c-ae1a-4db0-b5fc-2497e43abb6f", "uuid": "d694804c-ae1a-4db0-b5fc-2497e43abb6f",
"domains": [], "domains": [],
"props": "Anthology Professional Learning: Essential", "props": "Anthology Professional Learning: Essential",
}, },
# Professional Learning - (T2) # Professional Learning - (T2)
{ {
@ -8701,4 +8720,3 @@ mappings = [
"props": "Anthology National University: Enhanced+", "props": "Anthology National University: Enhanced+",
}, },
] ]

View File

@ -487,3 +487,27 @@ let eoqMutationObserver = () => {
eoqMutationObserver(); eoqMutationObserver();
``` ```
## 03/04/2024
### Scoping for Quiz Screens with Courtney
Original request was "100 courses over the next couple years". Is there a way to break it down into quarters or smaller time frames?
Roll out hope: 32 courses across 5 Learning Paths over a period of early 2026.
More immediate: 7 courses within 1 year.
Hard deadline for these first 7 courses: Q3 of 2025 people are using it. Ready to go and released by end of Q2 2025.
Quizzes may be done first - all the content within NP and then videos will be added in later.
The seven courses will be released at one time, but they will be authored on a rolling basis.
Ideally the updates will be done on that same rolling basis.
Other design changes? Ideal state?
* Addressing wrong answers - can we do this for them?
* Currently they are just including another activity after the quiz
* End of quiz is still okay - they just want to hide the correctly responded quiz answers.
* Short answer: any hope of having the users responses displayed somewhere.
* Where should this show - LX or custom page?
* Both? The activities are involved. If they were in person, they would be discussion based. They want the users to review and reflect on what they just responded on.
* Journal-type page. How can the user look through their previous answers.

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,8 @@ from pathlib import Path
import Apikeys import Apikeys
import os import os
basefile = "/Users/normrasmussen/Downloads/ts-mca.csv" basefile = "/Users/normrasmussen/Downloads/MizunoCompletionsFeb2024.csv"
api_key = Apikeys.TALKSPACE_1099 api_key = Apikeys.MIZUNO
uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]=" uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]="
prop_url = "https://api.northpass.com/v2/properties/people/" prop_url = "https://api.northpass.com/v2/properties/people/"
headers = { headers = {
@ -29,17 +29,15 @@ def load_file(basefile):
email = email[3] email = email[3]
url = uuid_url + f"{email}" url = uuid_url + f"{email}"
response = requests.get(url, headers=headers) response = requests.get(url, headers=headers)
print(response)
if response.status_code == 200: if response.status_code == 200:
response = response.json() response = response.json()
uuid = response["data"][0]["id"] uuid = response["data"][0]["id"]
url2 = prop_url + f"{uuid}" url2 = prop_url + f"{uuid}"
response = requests.get(url2, headers=headers) response = requests.get(url2, headers=headers)
data = response.json() data = response.json()
userid = data["data"]["attributes"]["properties"]["user_id"] userid = data["data"]["attributes"]["properties"]["account_number"]
row_dict["userid"] = userid row_dict["userid"] = userid
dict_list.append(row_dict) dict_list.append(row_dict)
print(dict_list)
print("No errors! Passing along the dictionary!") print("No errors! Passing along the dictionary!")
except KeyError as e: except KeyError as e:
print(f"{e} and the rest") print(f"{e} and the rest")
@ -51,9 +49,8 @@ def load_file(basefile):
completions.loc[completions.index[row], "userid"] = pid completions.loc[completions.index[row], "userid"] = pid
completions = completions[completions["userid"] != "0"] completions = completions[completions["userid"] != "0"]
# completions = completions.iloc[:, 0:] # completions = completions.iloc[:, 0:]
print(completions)
completions.to_csv( completions.to_csv(
"/Users/normrasmussen/Downloads/Talkspace1099-Completions-All-IDS.csv", "/Users/normrasmussen/Downloads/Mizuno-Feb2024-with-PGAID.csv",
index=False, index=False,
) )

View File

@ -1,10 +1,12 @@
import requests import requests
import pandas as pd import pandas as pd
from pathlib import Path from pathlib import Path
import Apikeys
import os import os
basefile = "/Users/normrasmussen/Downloads/MizunoCompletions_with_PGAIDs.csv" basefile = "/Users/normrasmussen/Downloads/MizunoCompletionsFeb2024.csv"
api_key = "stXNF84HWL8aCGeRjHEo2rJ1U" api_key = Apikeys.MIZUNO
# "stXNF84HWL8aCGeRjHEo2rJ1U"
uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]=" uuid_url = "https://api.northpass.com/v2/people?filter[email][eq]="
group_url = "https://api.northpass.com/v2/groups/" group_url = "https://api.northpass.com/v2/groups/"
headers = { headers = {
@ -45,7 +47,7 @@ def load_file(basefile):
completions.loc[completions.index[row], "Group Name"] = group completions.loc[completions.index[row], "Group Name"] = group
print(completions) print(completions)
completions.to_csv( completions.to_csv(
"/Users/normrasmussen/Downloads/MizunoCompletions_with_PGAIDs.csv", "/Users/normrasmussen/Downloads/MizunoCompletionsFeb2024_with_PGAIDs.csv",
index=False index=False
) )

View File

@ -56,7 +56,7 @@ FEAT: Transcripts page - Clickable courses, Export of table "proof for learner",
## 02-28-2024 ## 02-28-2024
- [X] Submit 2 CSQLs for Zenjob - one for PX and one for additional instance of CE - [X] Submit 2 CSQLs for Zenjob - one for PX and one for additional instance of CE
- [ ] Zenjob - Clean "Internal Zenjob Testing" - remove everyone without a Zenjob email address. One domain - zenjob.com. - [X] Zenjob - Clean "Internal Zenjob Testing" - remove everyone without a Zenjob email address. One domain - zenjob.com.
- [ ] Part 2 - Add people to academy and add them to Internal Zenjob Testing group. - [ ] Part 2 - Add people to academy and add them to Internal Zenjob Testing group.
- [ ] Ask about the following: - [ ] Ask about the following:
- [ ] Can a person "speak" to a KC bot? - [ ] Can a person "speak" to a KC bot?
@ -76,6 +76,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
- [ ] Q2 finished by second week of March to give us enough time to plan/react --> Q3 - let's focus on getting these out by end of March --> Q4 - End of April - [ ] Q2 finished by second week of March to give us enough time to plan/react --> Q3 - let's focus on getting these out by end of March --> Q4 - End of April
- [ ] Standard ghost follow up every 2 weeks. - [ ] Standard ghost follow up every 2 weeks.
- [ ] StopItSolutions, change button destination depending on property. Code block below is how you'd run it after page load and where the custom property lives. - [ ] StopItSolutions, change button destination depending on property. Code block below is how you'd run it after page load and where the custom property lives.
```html ```html
<script> <script>
window.addEventListener("DOMContentLoaded", function() { window.addEventListener("DOMContentLoaded", function() {
@ -90,3 +91,8 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
- [ ] Look into Looker Reporting for Group Count, at least 1% in progress, etc - [ ] Look into Looker Reporting for Group Count, at least 1% in progress, etc
- [ ] Report with Groups and Group Members Count - [ ] Report with Groups and Group Members Count
- [X] Test ILTs without dates for more than 1 session. - [X] Test ILTs without dates for more than 1 session.
## 03-04-2024
- [X] Intro Dirk (DataSnipper) to Allyson
- [ ] Cin7 - End of Quiz Screen for Surveys - Activity: "Feature Course Survey", Message: "Thank you for your feedback."