todo script finalized

This commit is contained in:
Norm Rasmussen
2022-10-26 16:09:10 -04:00
parent 36ab0e9086
commit 1535e7a3f1
9 changed files with 56 additions and 24 deletions

View File

@ -45,3 +45,15 @@ Hubspot is just for marketing
- [ ] Pull single course analysis with all versions lumped into one
- [ ] Can we pull all versions with date range?
## 10/26/2022
### Contract Convo with Conor
*Two major things they need from our end*:
* December 5 (Monday), new course release
* Tentatively, EOD on the 2nd (Friday), flip the switch to allow people to start the course. If people enter the course over the weekend, that's okay.
* When a new learner accesses the home page, there is the "waiting list" for accelerator course. The waiting list button needs to change to access the course overview page.
* Crayon.co/course pages which all have their own landing/enrollment form.
* Austin set it up so that that page brings them straight to the course overview page.
* The same flow needs to be done for the accelerator course.
* They are currently filming for the accelerator course
* Conor just needs to know right now what me or Austin or I will need to create that special link.
* Do we have Accelerator badges? Norm to look in S3 and confirm with Conor.

View File

@ -45,3 +45,13 @@ Enterprise Workflow, where do they want to connect it to externally?
* Last week when Kayla pulled the SCA, it said 509 enrollments. Today, it says 51.
* ISSUES: David Morrical shows 3 attempts but in MCA does not show anything
* SCA shows two Groups, MCA shows one - Lippert Components Inc and Lipper Components, Inc.
## 10/26/2022
### Analytics Meeting with Kathleen Olson + Matt + Kayla
* Kathleen has been focusing on engagement
* Completion is not super important
* Struggling with wiping of metrics after updating a course
* Some confusing with attempts? If they update the course what happens to metrics of previous users.
* Kayla pointed out that for free-form courses, if people are just clicking around via table of contents, then they could be engaged, but its not being logged.
* Matt: he has told NP many times that the dependance on the continue button is too high.
* Matt would be more interested in an "activity view" type analytic.

View File

@ -199,10 +199,10 @@ These are new notes to test an update function
- [X] Move Contact to the bottom: Contact, Profile Settings, Sign out
- [X] Rider App
- [X] Add Language Buttons such as in Canva (top right)
* [ ] This is a task
* [ ] This is another task
* [ ] This is a sub task!
* [ ] Here is another task.
* [ ] This is a task #1
* [ ] This is another task #2
* [ ] This is a sub task! #3
* [ ] Here is another task. #4
### Notes

View File

@ -77,6 +77,7 @@ How do we differentiate from "all"?
For Americas, LatAm, Canada, and USA might have different courses
This is ONLY for the US
## 10/03/2022
* [-] CREATE a storyboard PPT of the UX of the academy
* [ ] Remove all links along the top of the footer

View File

@ -1,4 +0,0 @@
* [ ] (Flink) [10/25/2022]This is a task
* [ ] (Flink) [10/25/2022]This is another task
* [ ] (Flink) [10/25/2022][ ] This is a sub task!
* [ ] (Flink) [10/25/2022]Here is another task.

0
Scripts/TodoMD/Todos.md Normal file
View File

View File

@ -1,14 +1,24 @@
import io
import markdown
import sys
from re import search
import re
import os
import fileinput
from datetime import date
#rootdir = "/Users/normrasmussen/Documents/Northpass/CustomerNotes/"
# This is for testing
rootdir = "/Users/normrasmussen/Documents/Northpass/Scripts/Confluence_Notes/SampleNotes/"
rootdir = "/Users/normrasmussen/Documents/Northpass/CustomerNotes/"
input = sys.argv[1]
company = input.split("/")[6]
print(company)
def findCompany(rootdir):
#def parsefromVim(rootdir, input):
# path = input.split("/")
# company = path[7]
# findcompany(rootdir, company)
def findCompany(rootdir, company):
files = os.listdir(rootdir)
for fileName in files:
if fileName.startswith(".") or fileName.startswith("Todos"):
@ -19,29 +29,32 @@ def findCompany(rootdir):
def findTodos(rootdir, company):
todos = []
with open(rootdir + company + ".md", "r") as currentfile:
with open(rootdir + company, "r") as currentfile:
file = currentfile.readlines()
for fullTasks in file:
if "* [ ] " in fullTasks:
tasks = fullTasks[6:]
tasks = fullTasks
deleteTasks(rootdir, company, tasks)
todos.append(tasks)
writeTasks(rootdir, company, todos)
writeTasks(rootdir, company, todos)
def writeTasks(rootdir, company, todos):
today = date.today()
currentDate = today.strftime("%m/%d/%Y")
with open(rootdir + "Todos.md", "w") as taskFile:
company = company[:-3]
todoDir = "/Users/normrasmussen/Documents/Northpass/"
with open(todoDir + "Todos.md", "a") as taskFile:
for singleTask in todos:
taskFile.write("* [ ] (" + company + ") " + "[" + currentDate + "]" + singleTask)
# deleteTasks(rootdir, company)
task = singleTask.rsplit("* [ ] ")[1]
taskFile.write("* [ ] (" + company + ") " + "[" + currentDate + "] " + task)
def deleteTasks(rootdir, company, todos):
with open(rootdir + company, "r") as input:
with open(rootdir + company, "w") as currentfile:
for task in input:
if task.strip("\n") != todos:
currentfile.write(task)
def deleteTasks(rootdir, company, tasks):
file = rootdir + company
for line in fileinput.input(file, inplace=1):
if tasks in line:
line = line.replace(tasks, '')
sys.stdout.write(line)
if __name__ == "__main__":
findCompany(rootdir)
findTodos(rootdir, company)

0
Todos.md Normal file
View File