diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index da97aa06..6c10a529 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/Norm_sandbox_2/_head.html.liquid b/Custom_Templates/customer_templates/Norm_sandbox_2/_head.html.liquid index bde9ff3c..8af5d656 100644 --- a/Custom_Templates/customer_templates/Norm_sandbox_2/_head.html.liquid +++ b/Custom_Templates/customer_templates/Norm_sandbox_2/_head.html.liquid @@ -9,3 +9,10 @@ + diff --git a/Custom_Templates/customer_templates/Norm_sandbox_2/training_events.html.liquid b/Custom_Templates/customer_templates/Norm_sandbox_2/training_events.html.liquid index 08b79045..26d2859c 100644 --- a/Custom_Templates/customer_templates/Norm_sandbox_2/training_events.html.liquid +++ b/Custom_Templates/customer_templates/Norm_sandbox_2/training_events.html.liquid @@ -18,8 +18,8 @@ diff --git a/Custom_Templates/customer_templates/SPS_Commerce/_course_events.html.liquid b/Custom_Templates/customer_templates/SPS_Commerce/_course_events.html.liquid new file mode 100644 index 00000000..1f2f7158 --- /dev/null +++ b/Custom_Templates/customer_templates/SPS_Commerce/_course_events.html.liquid @@ -0,0 +1,29 @@ +
-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. @@ -410,11 +407,41 @@ 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. +Idea: bar at the bottom. Grey scale 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. +DONE: 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. -FEAT: Cassie out 22nd - 28th +INFO: Cassie out 22nd - 28th +INFO: MJ out 18th - 21st. + +## 04/19/2023 + +### Tech Meeting + +Lauren is leaving the Spark Team and joining supplier/supply chain comms and PR. +Rob: as we add items to that endpoint, it can impact performance. A more complex setup will need to be addressed. +We need to reduce the amount of calls that endpoint is going. +In the past, Walmart reluctant to make modifications on their end. Jagannatha committed to making changes and +improvement. +Rob asked what is needed to align NP & Walmart. Jagannatha: make a plan and list of needs. +Jagannatha wants suggestions from Rob and then J will work internally with his team. +J asked if we need any assistance from the Spark App team. Rob unsure - we will check. +If we do, how does that change things? We would need to add these items to their roadmap & sprint. + +Q for Travis: Is there a specific time frame for getting this up and running? Probably later in Q2, second half. This is +for the help items. + +Back button questions - where does it go? It currently goes back to it's referring URL until it reaches the main menu. +Then it goes back to the app. + +What do they want the back button to do? + +### Content Meeting + +Dave taking over for Nichole. Dave's role is Lead Technical Writer, Senior Designer (US), for the Spark Driver +Knowledge Base. + +DONE: Reach out to J about deep linking between resources. diff --git a/Scripts/API_Tests/Apikeys.py b/Scripts/API_Tests/Apikeys.py index 4abea816..c4001780 100644 --- a/Scripts/API_Tests/Apikeys.py +++ b/Scripts/API_Tests/Apikeys.py @@ -7,4 +7,4 @@ normsandbox = "SlpQlju219WnWogn94dQUT6Yt" walmartprod = "6hUfJdAartHTHhHc0WIRZYPWe" recast = "9LISLpq7Ebqot3Xrggn5twKWZ" mizuno = "stXNF84HWL8aCGeRjHEo2rJ1U" - +sps = "VNDXh8K4tLYJ-Nvp78bo6w" diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc index c5ff478c..756ba208 100644 Binary files a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc and b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc differ diff --git a/Scripts/API_Tests/api_test.py b/Scripts/API_Tests/api_test.py index 9eee5aff..5bf26a97 100644 --- a/Scripts/API_Tests/api_test.py +++ b/Scripts/API_Tests/api_test.py @@ -1,16 +1,17 @@ -import requests import json +import requests import Apikeys # url ="https://api.northpass.com/v2/groups/e6ef3e5f-b5a2-4b10-868b-8c165d76d263/learning_paths" # url = "https://api.northpass.com/v1/media?limit=1" # url = "https://api.northpass.com/v1/learning_paths" -url = "https://api2.northpass.com/v2/courses" +# url = "https://api2.northpass.com/v2/courses" # function = sys.argv[1] -apiKey = Apikeys.walmartprod -# normuuid = "0b31c435-c18b-4573-984e-32cda57045b4" +apiKey = Apikeys.normsandbox +# normuuid = "3b2ac85d-2bdb-4183-a1c7-e0f49c58c4eb" +group_uuid = "8be78542-ec43-4b5e-a662-77b403b4f049" # Get Group Memberships: # url = "https://api.northpass.com/v2/groups/504c4771-223a-447f-9ec6-08e51bc9ca23/memberships" @@ -21,6 +22,9 @@ apiKey = Apikeys.walmartprod # Associate a person with a Learning Path (Test): # url = f"https://api.northpass.com/v1/people/{normuuid}/relationships/learning_paths" +# Add Learning Paths to a Group (Test): +url = f"https://api.northpass.com/v1/groups/{group_uuid}/relationships/learning_paths" + def putTest(apiKey, url): payload = { @@ -54,12 +58,16 @@ def getTest(apiKey, url): def postTest(apiKey, url): print(url) # Learning Path ID is for ID and change type to "enrolled-learning-paths" - payload = {"data": [ - { - "type": "enrolled-learning-paths", - "id": "6ef5c9db-81d7-427c-846b-babb9a9a2ad1" - } - ]} + # payload = {"data": [ + # { + # "type": "enrolled-learning-paths", + # "id": "6ef5c9db-81d7-427c-846b-babb9a9a2ad1" + # } + # ]} + # Add Learning Path to a Group Test + payload = {"data": [{"type": "learning-paths", "id": "6ef5c9db-81d7-427c-846b-babb9a9a2ad1"}]} + + headers = { "accept": "application/json", "content-type": "application/json", @@ -71,6 +79,6 @@ def postTest(apiKey, url): if __name__ == "__main__": - getTest(apiKey, url) + # getTest(apiKey, url) # putTest(apiKey, url) - # postTest(apiKey, url) + postTest(apiKey, url) diff --git a/Scripts/API_Tests/training_events.py b/Scripts/API_Tests/training_events.py new file mode 100644 index 00000000..00003e70 --- /dev/null +++ b/Scripts/API_Tests/training_events.py @@ -0,0 +1,13 @@ +import requests +import Apikeys + + +apikey = Apikeys.sps +url = "https://api.northpass.com/v2/events" +headers = { + "accept": "application/json", + "X-Api-Key": apikey + } +response = requests.get(url, headers=headers) +resp = response.json() +print(resp) diff --git a/Scripts/Jupyter/page_views_cats.ipynb b/Scripts/Jupyter/page_views_cats.ipynb index b53c8ba2..4cb4c3ba 100644 --- a/Scripts/Jupyter/page_views_cats.ipynb +++ b/Scripts/Jupyter/page_views_cats.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 24, "metadata": {}, "outputs": [], "source": [ @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 25, "metadata": {}, "outputs": [ { @@ -30,19 +30,20 @@ "dtype: object" ] }, - "execution_count": 35, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "pageviews = pd.read_csv(\"/Users/normrasmussen/Documents/Work/Data/GraphQuery (4).csv\")\n", + "pd.set_option('display.max_rows', 100)\n", + "pageviews = pd.read_csv(\"/Users/normrasmussen/Documents/Work/Data/GraphQuery (4).csv\", index_col=None)\n", "pageviews.dtypes" ] }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 26, "metadata": {}, "outputs": [ { @@ -210,7 +211,7 @@ "[123 rows x 5 columns]" ] }, - "execution_count": 36, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -228,7 +229,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 14, "metadata": {}, "outputs": [], "source": [ @@ -242,7 +243,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 23, "metadata": {}, "outputs": [ { @@ -286,7 +287,7 @@ "100 rows × 1 columns
\n", "| \n", + " | \n", + " | apr_week | \n", + "
|---|---|---|
| academy | \n", + "path | \n", + "\n", + " |
| Vivvix University for Ad Intel | \n", + "/account_links | \n", + "1 | \n", + "
| /courses | \n", + "1 | \n", + "|
| '@properties Academy | \n", + "/account_links | \n", + "8 | \n", + "
| /courses | \n", + "11 | \n", + "|
| /groups | \n", + "4 | \n", + "|
| /groups/2a09819b-a19a-4e87-91c6-8b50ee3c46f8/courses | \n", + "1 | \n", + "|
| /groups/2a09819b-a19a-4e87-91c6-8b50ee3c46f8/edit | \n", + "1 | \n", + "|
| /groups/2a09819b-a19a-4e87-91c6-8b50ee3c46f8/memberships | \n", + "8 | \n", + "|
| /groups/2a09819b-a19a-4e87-91c6-8b50ee3c46f8/memberships/new | \n", + "3 | \n", + "|
| /instructor_led_trainings | \n", + "11 | \n", + "