diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 3197307c..0696ac95 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/G2/_head.html.liquid b/Custom_Templates/customer_templates/G2/_head.html.liquid index e912795a..7358377b 100644 --- a/Custom_Templates/customer_templates/G2/_head.html.liquid +++ b/Custom_Templates/customer_templates/G2/_head.html.liquid @@ -11,16 +11,16 @@ } -{% comment %} - +{% comment %} + {% endcomment %} \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/Glassdoor/.DS_Store b/Custom_Templates/customer_templates/Glassdoor/.DS_Store new file mode 100644 index 00000000..ed50e9fb Binary files /dev/null and b/Custom_Templates/customer_templates/Glassdoor/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Glassdoor/_catalog_category_carousels.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_catalog_category_carousels.html.liquid new file mode 100644 index 00000000..21a8e33e --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_catalog_category_carousels.html.liquid @@ -0,0 +1,116 @@ +
+ {% if categories.in_catalog.any? %} + {% assign categories_by_name = categories.in_catalog | sort: "name" %} + {% assign carousel_count = 1 %} + {% for category in categories_by_name %} + {% assign carousel_count = carousel_count | plus: 1 %} + {% assign courses_per_carousel = 0 %} + + {% assign category_name_split = category.name | split: " " %} + {% assign category_name_joined = category_name_split | join: "-" | downcase %} + + + {% endfor %} + {% endif %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Glassdoor/_courses_carousel.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_courses_carousel.html.liquid new file mode 100644 index 00000000..d3814db9 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_courses_carousel.html.liquid @@ -0,0 +1,15 @@ + +{% assign category_name_split = category | split: " " %} +{% assign category_name_joined = category_name_split | join: "-" | downcase %} + + + + diff --git a/Custom_Templates/customer_templates/Glassdoor/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_courses_catalog.html.liquid new file mode 100644 index 00000000..34a2b9fd --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_courses_catalog.html.liquid @@ -0,0 +1,21 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% assign course_category_ids = "" %} + {% for cat in course.categories %} + {% assign course_category_ids = course_category_ids | append: cat.id %} + {% endfor %} + +
+ {% 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 %} diff --git a/Custom_Templates/customer_templates/Glassdoor/_head.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_head.html.liquid new file mode 100644 index 00000000..779c26e2 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_head.html.liquid @@ -0,0 +1,12 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Glassdoor/_header.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_header.html.liquid new file mode 100644 index 00000000..90bd5a41 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_header.html.liquid @@ -0,0 +1,213 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
+ {% endif %} + +
+ +
+
+
+
+ +{% include "messages" %} + + diff --git a/Custom_Templates/customer_templates/Glassdoor/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_header_minimal.html.liquid new file mode 100644 index 00000000..021dcbeb --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_header_minimal.html.liquid @@ -0,0 +1,17 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ + diff --git a/Custom_Templates/customer_templates/Glassdoor/_page_header.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_page_header.html.liquid new file mode 100644 index 00000000..7338a42a --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_page_header.html.liquid @@ -0,0 +1,41 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Glassdoor/_popular_topics.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_popular_topics.html.liquid new file mode 100644 index 00000000..7dda45d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_popular_topics.html.liquid @@ -0,0 +1,59 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Glassdoor/_search_bar.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_search_bar.html.liquid new file mode 100644 index 00000000..2f2a2736 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_search_bar.html.liquid @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Glassdoor/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Glassdoor/_sub_navigation.html.liquid new file mode 100644 index 00000000..417465e2 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/_sub_navigation.html.liquid @@ -0,0 +1,13 @@ +{% comment %} {% endcomment %} diff --git a/Custom_Templates/customer_templates/Glassdoor/catalog.html.liquid b/Custom_Templates/customer_templates/Glassdoor/catalog.html.liquid new file mode 100644 index 00000000..9288f342 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/catalog.html.liquid @@ -0,0 +1,97 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% comment %} {% include "sub_navigation" %} {% endcomment %} +{% include + "page_header", + page_headline: catalog.headline, + page_subheadline: catalog.subheadline +%} +
+
+ {% comment %}
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
{% endcomment %} + {% comment %} {% capture label %}{% t shared.filters.by_category %}{% endcapture %} + + {% if courses.in_catalog.any? %} + {% + include "filter_dropdown", + filters: courses.filters, + key: "category_uuid", + label: label + %} + {% endif %} {% endcomment %} +
+ +
+ All + {% for category in categories.in_catalog %} + {{category.name}} + {% endfor %} +
+ + {% include "courses_catalog" %} +
+{% include "footer" %} + + + + diff --git a/Custom_Templates/customer_templates/Glassdoor/dashboard.html.liquid b/Custom_Templates/customer_templates/Glassdoor/dashboard.html.liquid new file mode 100644 index 00000000..b5d52603 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/dashboard.html.liquid @@ -0,0 +1,33 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +{% include + "page_header", + page_headline: "My Learning Dashboard", + page_subheadline: "" +%} +
+
+
+ {% if features.learning_paths? %} +
+ {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Glassdoor/homepage.html.liquid b/Custom_Templates/customer_templates/Glassdoor/homepage.html.liquid new file mode 100644 index 00000000..ebf403d2 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/homepage.html.liquid @@ -0,0 +1,187 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% include "search_bar" %} + + + {% include "popular_topics" %} + + {% include "catalog_category_carousels" %} + +
+{% include "footer" %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Glassdoor/learning_paths.html.liquid b/Custom_Templates/customer_templates/Glassdoor/learning_paths.html.liquid new file mode 100644 index 00000000..d8e5e941 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/learning_paths.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation" %} +{% include + "page_header", + page_headline: "Learning Paths", + page_subheadline: "Explore curated sets of courses for a tailored learning experience" +%} +
+
+ {% comment %}
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
{% endcomment %} + {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Glassdoor/styles.css.liquid b/Custom_Templates/customer_templates/Glassdoor/styles.css.liquid new file mode 100644 index 00000000..7d644991 --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/styles.css.liquid @@ -0,0 +1,96 @@ + /* + 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 }} +*/ + +body, html { + font-family: 'Lato', 'Roboto', sans-serif; + background: #fff; + color: #0d0d0d; +} + +.np-footer, +.np-footer+.np-powered-by, +.np-powered-by { + background-color:#dee0e3; +} + +.np-dashboard, +.np-learning-paths { + background: #fff; +} + +.np-card-container { + box-shadow: 0 0 4px 0 #b6bbc2; + border-radius:3px; +} + +.np-button { + font-size: 15px; + line-height: 24px; + border-radius:3px; + transition:all 0.2s; +} + +.np-button:hover { + background-color: rgba(12, 169, 65, 0.8); +} + +.np-card-ribbon { + background: #126666; + padding: 4px 8px; + border-radius: 3px; + font-size: 11px; + line-height: 16px; +} + +.slick-track { + margin-left:0!important; + display:flex!important; +} + +.slick-list { + margin: 0 -12px!important; +} + +.slick-slide { + height: inherit !important; + margin: 0 12px; +} + +.slick-arrow { + position: absolute; + top: 50%; + transform: translateY(-50%); + font-size: 32px; + cursor:pointer; +} + +.slick-arrow.slick-disabled { + opacity:0.3; + cursor:text; +} + +.slick-arrow.fa-chevron-left { + left:-24px; +} + +.slick-arrow.fa-chevron-right { + right:-24px; +} + +@media (min-width:768px) { + + .slick-slide, + .slick-list { + margin: 0!important; + } +} + diff --git a/Custom_Templates/customer_templates/Glassdoor/training_events.html.liquid b/Custom_Templates/customer_templates/Glassdoor/training_events.html.liquid new file mode 100644 index 00000000..b1c5820f --- /dev/null +++ b/Custom_Templates/customer_templates/Glassdoor/training_events.html.liquid @@ -0,0 +1,24 @@ +{% include "header" %} +{% include "sub_navigation" %} +{% include + "page_header", + page_headline: "Training Events", + page_subheadline: "Discover in-person and online events to maximize your learning" +%} +
+
+ {% comment %}
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
{% endcomment %} +
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/CustomerNotes/KeystoneRV.md b/CustomerNotes/KeystoneRV.md index 9601275e..2288f20d 100644 --- a/CustomerNotes/KeystoneRV.md +++ b/CustomerNotes/KeystoneRV.md @@ -28,3 +28,13 @@ * Something about multiple tokens. Has to do with UUID in their own system and APIs. She didn't explain more, just that it was an "issue". * What is the token? It follows the user. * Middleware - zaneray or mambo might create the token + +## 04/25/2023 + +### New Instance Discussion + +What is key for the additional registration page is: + +* What dealer they are part of - General RV of Okala, FL +* City & State +* diff --git a/CustomerNotes/Pipedrive.md b/CustomerNotes/Pipedrive.md index 03c886ce..0f199644 100644 --- a/CustomerNotes/Pipedrive.md +++ b/CustomerNotes/Pipedrive.md @@ -207,3 +207,17 @@ Reach out to Gennet regarding language preferences for accounts. If a user picks a language, update the property. They would want a page per language, so app/en or app/es etc. This is a requirement. + +### Sending details regarding Redirect problems + +Text from Engineers (synopsis): + +Let’s imagine we redirect the user from page A to B using 301. Later we decided to change the redirect from A to C using +301. The user will be redirected to B because it was cached in their browser. Experience: User visits A > User was +redirected to B > Browser sees it’s a 301 redirection so it adds this redirect to cache > We change in NP from +A->B to A->C > User visits A > User was redirected to B (because his browser has this redirect in cache). + +The only way to fix it it’s a requesting the user to clean cache in his browser. So if the user is unauthorized and goes +to app/courses, we will redirect him to sign_in page with 301. The browser will cache sign_in page, and the user will be automatically redirected to sign_in page when the user tries visit app/courses. This will cause a loop. + +301 makes sense if the website they are accessing was permanently moved to other location. In this case they are trying to access courses list but are redirected to sign in page because they have to be authenticated before they can access it. If we redirected them from courses to sign in page with 301 the user’s browser would save the redirect location (sign in page) and whenever the user tried to access courses web page their browser would move them automatically to sign in page making courses page inaccessible for the user. The only way out of it is cleaning browsers cache. However once they cleared the cache they would remove the cookies as well. The cookies keep the information about users identity. This is helpful because with that they don’t have to log in each time they visit our platform. But once the cookies are removed they would be again redirected to sign in page keeping them in this vicious circle. The reason to use 301 is to tell the browser “forget about this old location of the page you are accessing, this page is now here, also store this location and use it whenever you try to access this old location”. diff --git a/CustomerNotes/Skuid.md b/CustomerNotes/Skuid.md index 9947360d..3af720ff 100644 --- a/CustomerNotes/Skuid.md +++ b/CustomerNotes/Skuid.md @@ -202,6 +202,26 @@ Increasingly difficult to find what message is what. On the main comms page, the For incomplete groups, the ppl change each month. She needs to run a report of everyone it was sent to each month. TODO: Research what comms metrics are exposed in Looker. - TODO: Ask Marek why the duplicate message/email wasn't there. TODO: 2023 March HW Reminder is the template she is using. + +## 04/28/2023 + +### Friday Sync + +Certification software - now doing with QuestionMark. Alexa thinks YouTestMe is a good company, but their reputation was +tarnished. Skuid's text team won't let them use YTM at all anymore. + +Alexa's team currently using QuestionMark for demo and testing. + +YouTestMe is still recommended by Alexa. +No schedule, likely. Might be "click here to take your exam." +Still starting with one exam, and likely won't do another one for another year or two. +TODO: Casually talk with Nikki about Skuid's Cert Program. + +She wants to get notifications for when someone completes Level 1 or Level 2 LPs. +AppCues pop-up for ALL NINE learning paths. +Notification after x number of learning paths complete. + +Can we run a report that shows ALL course attempts? +TODO: Create Looker organized by attempts, show all attempts across all people & courses. diff --git a/CustomerNotes/Walmart.md b/CustomerNotes/Walmart.md index 527a7f7e..9e5ee4d9 100644 --- a/CustomerNotes/Walmart.md +++ b/CustomerNotes/Walmart.md @@ -459,3 +459,11 @@ Pull in Aditi after making a list for her. The items for Aditi are: * Update: Travis and MJ to meet with Aditi internally regarding this issues. + + +## 04/28/2023 + +### Metrics Requests + +* Help and Question clicks +* Number of times driver clicks into resource after entering Resrouce Center diff --git a/NP_Root_Startpage/app.js b/NP_Root_Startpage/app.js index 1e1daa16..875f1c00 100644 --- a/NP_Root_Startpage/app.js +++ b/NP_Root_Startpage/app.js @@ -28,9 +28,9 @@ const CARDS = [ link: "https://calendar.google.com", }, { - name: "Hubspot", + name: "Hubspot - Service Board", icon: "ri-space-ship-line", - link: "https://app.hubspot.com/reports-dashboard/392014/view/8969543", + link: "https://app.hubspot.com/contacts/392014/objects/0-5/views/all/board", }, { name: "Jira - SE Board", diff --git a/Scripts/GoogleScripts/Talkspace_BBHR/.clasp.json b/Scripts/GoogleScripts/Talkspace_BBHR/.clasp.json new file mode 100644 index 00000000..0f1cdbff --- /dev/null +++ b/Scripts/GoogleScripts/Talkspace_BBHR/.clasp.json @@ -0,0 +1 @@ +{"scriptId":"1fpmVgeHRDeloPnTHHnlFqsmAGERjxWB7qlyDx3rpeB8el3oHfOaRMcZl","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/Talkspace_BBHR"} diff --git a/Scripts/GoogleScripts/Talkspace_BBHR/TalkspaceBBHR.js b/Scripts/GoogleScripts/Talkspace_BBHR/TalkspaceBBHR.js new file mode 100644 index 00000000..ff226a6b --- /dev/null +++ b/Scripts/GoogleScripts/Talkspace_BBHR/TalkspaceBBHR.js @@ -0,0 +1,49 @@ +function checkBamboo() { + const apiKey = 'okhjnTXhK2L96z2TKswBXeHeK'; + var api_url = 'https://api.northpass.com/v2/apps/bamboo_hr'; + const settings = { + async: true, + crossDomain: true, + method: 'GET', + headers: { + accept: 'application/json', + 'X-Api-Key': apiKey + } + }; + const sendMsg = UrlFetchApp.fetch(api_url, settings); + var txtResponse = sendMsg.getContentText(); + var parseProps = JSON.parse(txtResponse); + var switched_on = parseProps["data"]["attributes"]["switched_on"]; + var configured = parseProps["data"]["attributes"]["configured"]; + console.log(switched_on) + console.log(configured) + + // var emailQuotaRemaining = MailApp.getRemainingDailyQuota(); + // console.log(emailQuotaRemaining) + + // This is just for testing purposes tp make sure the emails work. This setup did. + // MailApp.sendEmail("nrasmussen@northpass.com", + // "cbencivenga@northpass.com", + // "BambooHR Is Down", + // "Your Bamboo HR Integration is currently turned off." + // ); + + if (switched_on == "true" && configured == "true") { + MailApp.sendEmail("nrasmussen@northpass.com", + "BambooHR Is Down", + "Your Bamboo HR Integration is currently turned off." + ); + } + + // var sheet = SpreadsheetApp.openById('1dJJ4no9j4sJ8fKvhxh6mGiailv4YyI0EsqvjJPYVtIM'); + var ss = SpreadsheetApp.openByUrl('https://docs.google.com/spreadsheets/d/1dJJ4no9j4sJ8fKvhxh6mGiailv4YyI0EsqvjJPYVtIM/'); + var sheet = ss.getActiveSheet(); + var lastRow = sheet.getLastRow()+1; + console.log(lastRow) + //sheet.getRange(lastRow, 1).setValue(datetime); + sheet.getRange(lastRow, 2).setValue(switched_on); + sheet.getRange(lastRow, 3).setValue(configured); +} + + + diff --git a/Scripts/GoogleScripts/Talkspace_BBHR/appsscript.json b/Scripts/GoogleScripts/Talkspace_BBHR/appsscript.json new file mode 100644 index 00000000..3cf1d247 --- /dev/null +++ b/Scripts/GoogleScripts/Talkspace_BBHR/appsscript.json @@ -0,0 +1,7 @@ +{ + "timeZone": "America/New_York", + "dependencies": { + }, + "exceptionLogging": "STACKDRIVER", + "runtimeVersion": "V8" +} \ No newline at end of file