From 003b0b58f206e60a141baff04d20eec567c20b88 Mon Sep 17 00:00:00 2001 From: Nathaniel <73431750+nyakotey@users.noreply.github.com> Date: Tue, 24 May 2022 15:36:22 +0000 Subject: [PATCH 1/5] update readme with v2.4 changes --- docs/dev-process.md | 9 +++++++++ readme.md | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/docs/dev-process.md b/docs/dev-process.md index 1e1cb5ae..1343ef95 100644 --- a/docs/dev-process.md +++ b/docs/dev-process.md @@ -144,6 +144,15 @@ Not all elements made it into the final product, some others also got modified, ![v2 3](https://user-images.githubusercontent.com/73431750/169272292-e83d9285-05bf-4264-9f45-3d8880505d7b.png) +## Countdown v2.4.0 +* Animated deadline on homepage +* Added option to set repeatable countdowns +* Added ui cues for countdown status +* fixed rogue italics, browser auto text selection and more + + + + ### Potential and/or current developments * listpage as the homepage with onboarding diff --git a/readme.md b/readme.md index 76852afb..57b1763b 100644 --- a/readme.md +++ b/readme.md @@ -94,6 +94,13 @@ Added contributor [Nathaniel Nyakotey](https://github.com/nyakotey) ![v2 3](https://user-images.githubusercontent.com/73431750/169272292-e83d9285-05bf-4264-9f45-3d8880505d7b.png) +## Countdown v2.4.0 +* Animated deadline on homepage +* Added option to set repeatable countdowns +* Added ui cues for countdown status +* fixed rogue italics, browser auto text selection and more + + --- #### Many more to come, stay tuned! For more details, and live updates, checkout the [dev process](/docs/dev-process.md) readme From e4f520bdd7e5a0970b5651bc47da9e12a345d265 Mon Sep 17 00:00:00 2001 From: Nathaniel <73431750+nyakotey@users.noreply.github.com> Date: Tue, 24 May 2022 15:42:01 +0000 Subject: [PATCH 2/5] update --- app.js | 18 +++++++++--------- docs/dev-process.md | 1 + readme.md | 1 + 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app.js b/app.js index 87da26e8..420c1163 100644 --- a/app.js +++ b/app.js @@ -298,14 +298,14 @@ addWhatappEventHandler(); // service worker -if('serviceWorker' in navigator){ - window.addEventListener('load', () => { - navigator.serviceWorker.register('/sw.js') - .then( (reg)=>{ - console.log('service worker registered', reg) - }) - .catch((err)=> console.log('Service worker not registered', err)); - }); +// if('serviceWorker' in navigator){ +// window.addEventListener('load', () => { +// navigator.serviceWorker.register('/sw.js') +// .then( (reg)=>{ +// console.log('service worker registered', reg) +// }) +// .catch((err)=> console.log('Service worker not registered', err)); +// }); -} +// } diff --git a/docs/dev-process.md b/docs/dev-process.md index 1343ef95..b48d9e2f 100644 --- a/docs/dev-process.md +++ b/docs/dev-process.md @@ -148,6 +148,7 @@ Not all elements made it into the final product, some others also got modified, * Animated deadline on homepage * Added option to set repeatable countdowns * Added ui cues for countdown status +* Display due date when countdown is elapsed * fixed rogue italics, browser auto text selection and more diff --git a/readme.md b/readme.md index 57b1763b..d15cc259 100644 --- a/readme.md +++ b/readme.md @@ -98,6 +98,7 @@ Added contributor [Nathaniel Nyakotey](https://github.com/nyakotey) * Animated deadline on homepage * Added option to set repeatable countdowns * Added ui cues for countdown status +* Display due date when countdown is elapsed * fixed rogue italics, browser auto text selection and more From aa774fa3e7085c22e9011f56ba97ff8d973f32bd Mon Sep 17 00:00:00 2001 From: Nathaniel <73431750+nyakotey@users.noreply.github.com> Date: Wed, 25 May 2022 10:32:34 +0000 Subject: [PATCH 3/5] add v2.4 shots --- docs/dev-process.md | 3 +-- readme.md | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/dev-process.md b/docs/dev-process.md index b48d9e2f..2e2a8f3d 100644 --- a/docs/dev-process.md +++ b/docs/dev-process.md @@ -151,8 +151,7 @@ Not all elements made it into the final product, some others also got modified, * Display due date when countdown is elapsed * fixed rogue italics, browser auto text selection and more - - +![v2 4@0,5x](https://user-images.githubusercontent.com/73431750/170242064-43aa6765-229c-43e8-a6e7-ed39e7de3ee0.png) ### Potential and/or current developments diff --git a/readme.md b/readme.md index d15cc259..1384056c 100644 --- a/readme.md +++ b/readme.md @@ -101,6 +101,8 @@ Added contributor [Nathaniel Nyakotey](https://github.com/nyakotey) * Display due date when countdown is elapsed * fixed rogue italics, browser auto text selection and more +![v2 4@0,5x](https://user-images.githubusercontent.com/73431750/170242064-43aa6765-229c-43e8-a6e7-ed39e7de3ee0.png) + --- #### Many more to come, stay tuned! From ebbe654147d9740e671b0c387f7f07a6446653b3 Mon Sep 17 00:00:00 2001 From: Nathaniel <73431750+nyakotey@users.noreply.github.com> Date: Wed, 25 May 2022 10:37:32 +0000 Subject: [PATCH 4/5] update version in about page --- html/about.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/about.html b/html/about.html index c7d550e8..61b92c31 100644 --- a/html/about.html +++ b/html/about.html @@ -64,7 +64,6 @@    About -
@@ -90,7 +89,7 @@
Version
-
2.2.0
+
2.4.0
Credits
From 833a0a276ac348c86c4fe1b55f83c054f24347a4 Mon Sep 17 00:00:00 2001 From: Nathaniel <73431750+nyakotey@users.noreply.github.com> Date: Wed, 25 May 2022 14:44:08 +0000 Subject: [PATCH 5/5] activate sw --- app.js | 18 +++++++++--------- sw.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app.js b/app.js index 420c1163..87da26e8 100644 --- a/app.js +++ b/app.js @@ -298,14 +298,14 @@ addWhatappEventHandler(); // service worker -// if('serviceWorker' in navigator){ -// window.addEventListener('load', () => { -// navigator.serviceWorker.register('/sw.js') -// .then( (reg)=>{ -// console.log('service worker registered', reg) -// }) -// .catch((err)=> console.log('Service worker not registered', err)); -// }); +if('serviceWorker' in navigator){ + window.addEventListener('load', () => { + navigator.serviceWorker.register('/sw.js') + .then( (reg)=>{ + console.log('service worker registered', reg) + }) + .catch((err)=> console.log('Service worker not registered', err)); + }); -// } +} diff --git a/sw.js b/sw.js index e1140aae..a08910de 100644 --- a/sw.js +++ b/sw.js @@ -1,7 +1,7 @@ // #5 -const staticCacheName = 'site-static-v53'; -const dynamicCache = 'site-dynamic-v53'; +const staticCacheName = 'site-static-v54'; +const dynamicCache = 'site-dynamic-v54'; const dynamicCacheSize = 30;