diff --git a/.vscode/launch.json b/.vscode/launch.json index 8374645..306f58e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,11 +5,12 @@ "version": "0.2.0", "configurations": [ { - "name": "Launch Chrome on 5501", + "name": "Python: Current File", + "type": "python", "request": "launch", - "type": "chrome", - "url": "http://localhost:5501/index.html", - "webRoot": "${workspaceFolder}" + "program": "${file}", + "console": "integratedTerminal", + "justMyCode": true } ] } \ No newline at end of file diff --git a/README.md b/README.md index 2fc67c7..269e139 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,10 @@ The static 'flock-of-postcards' website has been upgraded to be a webapp that us - Rotate 3D bizcard blocks during transitions - Toggle debug panel visiblilty with button or key +### version 0.8: January 1, 2024 + +#### Features added: + ### version 0.7: November 18, 2023 #### Features added: diff --git a/git-log-summarize.py b/git-log-summarize.py new file mode 100644 index 0000000..1611378 --- /dev/null +++ b/git-log-summarize.py @@ -0,0 +1,67 @@ +from datetime import datetime, timedelta +from collections import defaultdict + +log = """ +Mon Jan 1 13:52:15 2024 -0700 fixed monocolor issues, renamed ICON_TYPES and icon filenames +Tue Dec 26 15:24:40 2023 -0700 added month/years of experience for cardDivLineItem with target cardDiv +Sat Dec 23 23:52:16 2023 -0700 add back-icon, delete back-icon when cardDivLineItem references a bizcard +Fri Dec 22 13:45:04 2023 -0700 applyMonoColorToElement +Wed Dec 20 21:22:19 2023 -0700 added url and icons on newline when added to cardivs and in-line when added to cardDivLineItems with color of parent element +Wed Dec 20 17:42:37 2023 -0700 moved welcomeAlert to alerts.mjs, black and white icons added +Wed Dec 20 01:29:32 2023 -0700 diagnostics removed, styles changed, TagLinks now working correctly. +Tue Dec 19 00:50:06 2023 -0700 tagLink spans now visible in both cardDivs and cardDivLineItems +Mon Dec 18 17:10:38 2023 -0700 monoColor.mjs +Mon Dec 18 13:40:14 2023 -0700 added "Click here to get started" modal +Sun Dec 17 19:01:18 2023 -0700 can handle NUM_ANIMATION_FRAMES = 0 +Sun Dec 17 18:50:33 2023 -0700 fixed StyleArray vs StyleProps +Sat Dec 16 14:36:52 2023 -0700 validate utils functions added +Fri Dec 15 18:24:00 2023 -0700 colors and greys icons added +Fri Dec 15 03:22:53 2023 -0700 added world and image icons, revised scroll into view +Thu Dec 14 18:21:50 2023 -0700 text-img-url tagLinks getting better +Thu Dec 14 00:52:23 2023 -0700 select first and select next working +Mon Dec 11 18:42:31 2023 -0700 email changed +Mon Dec 11 00:46:29 2023 -0700 cardivLineItem.innerHTML = tagLink.text
tagLink.url +Sun Dec 10 17:06:16 2023 -0700 refreshed convert-jobs-xslx-to-mjs.sh +Sun Dec 3 19:42:32 2023 -0700 Removed Select Skills button +Sun Dec 3 19:34:57 2023 -0700 added Select First button, resetting divStyleArray[z] to originalZ when negative, added flag to selectTheX and deselectTheX to select or deselect derivative element (divCard<->divCardLineItem (saving lots of code), only apply animations on non-lineItem elements, implementing custom scrollElementIntoView, +Sat Dec 2 22:45:25 2023 -0700 entire project converted to Node ES6 format using a package.json file and all .js files renamed to .mjs +Sat Dec 2 22:06:18 2023 -0700 created tests/test_utils and static_content/media/scale-wordpress-images.zip +Sat Dec 2 20:55:59 2023 -0700 added event listener to block click events while animation is in progress to ensure animation is handled without interruption. And introduced targetParallaxedDivStyleArray so div is restored to original position with parallax applied. +Sat Nov 25 22:45:47 2023 -0700 Added planned features +Sat Nov 25 22:42:54 2023 -0700 made selected style !important, added arrayHasNaNs checks to all divStyleArrays, simplified scrollElementIntoView, trying unsuccessfully to easeFocalPointToBullsEye when any div is selected. +Sat Nov 25 00:43:13 2023 -0700 Reverted attempts to call "selectAllBizCards" on window load +Fri Nov 24 09:22:35 2023 -0700 border widths and scrollIntoView adjustments +Thu Nov 23 22:02:33 2023 -0700 version in title +Thu Nov 23 21:43:23 2023 -0700 version-0.8 new graphics added +Thu Nov 23 20:40:47 2023 -0700 merge version-0.7 with master +Thu Nov 23 20:22:55 2023 -0700 Create common ancestor commit +Thu Nov 23 20:16:52 2023 -0700 track *.zip files using Git LFS +Thu Nov 23 20:05:56 2023 -0700 Features planned +Thu Nov 23 19:47:51 2023 -0700 Auto-computing timeline min-max years from jobs jobs file, interpolating CURRENT_DATE in jobs file, default timeline year as avg of min-max years""" + + +# Split the log into lines +lines = log.strip().split("\n") + +# Group lines by week +weeks = defaultdict(str) +for line in lines: + + date_str = " ".join(line.split(" ", 6)[:6]) + message = line.split(" ", 6)[6] + date = datetime.strptime(date_str, "%a %b %d %H:%M:%S %Y %z") + formatted_date = date.strftime("%Y-%m-%d") + + # Subtract the day of the week from the date to get the previous Sunday + sunday_datetime = (date - timedelta(days=date.weekday() + 1)).replace(hour=0, minute=0, second=0, microsecond=0) + sunday = sunday_datetime.strftime("%Y-%m-%d") + if sunday not in weeks: + weeks[sunday] = "" + sep = " | " if weeks[sunday] else "" + weeks[sunday] += sep + message + +# Concatenate messages for each week + +# Print weekly messages +for week in sorted(weeks, reverse=True): + print(f"{week}:\n{weeks[week]}") \ No newline at end of file diff --git a/weekly-logs.txt b/weekly-logs.txt new file mode 100644 index 0000000..df6d2b9 --- /dev/null +++ b/weekly-logs.txt @@ -0,0 +1,23 @@ +version-0.8 -------------------- +2023-12-31: +fixed monocolor issues, renamed ICON_TYPES and icon filenames +2023-12-24: +added month/years of experience for cardDivLineItem with target cardDiv +2023-12-17: +add back-icon, delete back-icon when cardDivLineItem references a bizcard | applyMonoColorToElement | added url and icons on newline when added to cardivs and in-line when added to cardDivLineItems with color of parent element | moved welcomeAlert to alerts.mjs, black and white icons added | diagnostics removed, styles changed, TagLinks now working correctly. | tagLink spans now visible in both cardDivs and cardDivLineItems | monoColor.mjs | added "Click here to get started" modal +2023-12-10: +can handle NUM_ANIMATION_FRAMES = 0 | fixed StyleArray vs StyleProps | validate utils functions added | colors and greys icons added | added world and image icons, revised scroll into view | text-img-url tagLinks getting better | select first and select next working | email changed | cardivLineItem.innerHTML = tagLink.text
tagLink.url +2023-12-03: +refreshed convert-jobs-xslx-to-mjs.sh +2023-11-26: +Removed Select Skills button | added Select First button, resetting divStyleArray[z] to originalZ when negative, added flag to selectTheX and deselectTheX to select or deselect derivative element (divCard<->divCardLineItem (saving lots of code), only apply animations on non-lineItem elements, implementing custom scrollElementIntoView, | entire project converted to Node ES6 format using a package.json file and all .js files renamed to .mjs | created tests/test_utils and static_content/media/scale-wordpress-images.zip | added event listener to block click events while animation is in progress to ensure animation is handled without interruption. And introduced targetParallaxedDivStyleArray so div is restored to original position with parallax applied. +2023-11-19: +Added planned features | made selected style !important, added arrayHasNaNs checks to all divStyleArrays, simplified scrollElementIntoView, trying unsuccessfully to easeFocalPointToBullsEye when any div is selected. | Reverted attempts to call "selectAllBizCards" on window load | border widths and scrollIntoView adjustments | version in title | version-0.8 new graphics added | merge + +version-0.7 -------------------- +2023-11-19: +merge version-0.7 with master | Create common ancestor commit | track *.zip files using Git LFS | Features planned | Auto-computing timeline min-max years from jobs jobs file, interpolating CURRENT_DATE in jobs file, default timeline year as avg of min-max years + +version-0.6 -------------------- + +version-0.6 -------------------- \ No newline at end of file