Commit graph

286 commits

Author SHA1 Message Date
Julien Oculi a90b488dcf refactor!: switch to fresh@2 2024-12-09 14:28:33 +01:00
Julien Oculi c394c473c1 chore: switch to deno@2 2024-11-29 08:55:59 +01:00
Julien Oculi 470467d8a8 fix(island): 🐛 multiple intervals are started at same time checkin is-online 2024-07-19 15:24:14 +02:00
Julien Oculi 82906907e2 fix(pwa): 🐛 wait for sw registration to be active before subscribe to webpush 2024-07-19 15:15:31 +02:00
Julien Oculi 1f7825e22c fix(island): 🐛 render online message for IsOnline server-side rendering 2024-07-19 15:05:40 +02:00
Julien Oculi 79b91aad92 feat(pwa): handle new fetch strategies 2024-07-19 14:58:55 +02:00
Julien Oculi 574c60c130 refactor(pwa): ♻️ make generic getCache 2024-07-19 14:57:54 +02:00
Julien Oculi b6657b279d feat(pwa): update sw fetch handler controlled request 2024-07-19 14:57:01 +02:00
Julien Oculi 76c6b597a8 feat(pwa): add new "network first" fetch strategy 2024-07-19 14:46:27 +02:00
Julien Oculi 0b3c374c79 fix(pwa): 🐛 replace Promise.any by promise chain to avoid insufficient resources at sw runtime 2024-07-19 14:45:52 +02:00
Julien Oculi 3c35dcbf8e feat(island): add listener on navigator.connection is available for IsOnline 2024-07-19 14:35:28 +02:00
Julien Oculi 356014ec46 feat(island): set default online status to true in IsOnline 2024-07-19 14:34:23 +02:00
Julien Oculi 8f223d34da perf(island): switch to websocket to check connection status changes 2024-07-19 13:43:41 +02:00
Julien Oculi 01f5986e0b fix(island): prevent layout shift on connection change for is_online island 2024-07-19 13:42:48 +02:00
Julien Oculi f7a0e2c77f fix(pwa): 🐛 path precaching of pages (/routes/*/index.tsx) 2024-07-18 18:16:04 +02:00
Julien Oculi 32732be3b5 fix(pwa): 🐛 replace Promise.race by Promise.any 2024-07-18 16:30:02 +02:00
Julien Oculi 79c0d49cad feat(pwa): ♻️ use strategies from FetchStrategy instead of inline code 2024-07-18 16:15:04 +02:00
Julien Oculi e0cc73b6a7 refactor(pwa): ♻️ remove outdated fetch strategies 2024-07-18 16:06:56 +02:00
Julien Oculi 3d38315e1b refactor(pwa): ♻️ remove redundant types 2024-07-18 15:55:19 +02:00
Julien Oculi 5a5dd81822 refactor(pwa): ♻️ rename Strategy to FetchStrategy 2024-07-18 15:51:38 +02:00
Julien Oculi 96a4199fa2 refactor(pwa): ♻️ transform fetch Strategy into static only class 2024-07-18 15:49:33 +02:00
Julien Oculi 67e3330587 refactor(pwa): ♻️ update fetch strategy types 2024-07-18 15:43:46 +02:00
Julien Oculi 77f9ae3518 feat(pwa): add new sw "fastest and cache refresh" fetch strategy 2024-07-18 15:42:03 +02:00
Julien Oculi 9bf6d9596c feat(pwa): add new network only strategy 2024-07-18 15:39:54 +02:00
Julien Oculi 838bdec6ea feat(pwa): clear old cache on sw activate 2024-07-18 14:22:26 +02:00
Julien Oculi 6d29321e88 perf(pwa): add in memory storage to reduce fs and network access 2024-07-18 14:21:50 +02:00
Julien Oculi d7716a88a8 perf(pwa): change cache strategy for non-pre-cached resources 2024-07-18 14:19:41 +02:00
Julien Oculi 4a917971d0 feat(pwa): split pre-cache and dynamic cache in service worker 2024-07-18 14:18:26 +02:00
Julien Oculi 18f911b79b feat(pwa): 🚸 assume connection is ok by default to prevent connection loss banner to pop 2024-07-17 14:29:43 +02:00
Julien Oculi a666f22e3f refactor(island): 🚨 remove unused undefined union 2024-07-17 13:55:32 +02:00
Julien Oculi c21d21015f feat(pwa): 2024-07-17 13:51:06 +02:00
Julien Oculi 00c40f2569 feat(pwa): add network status banner 2024-07-17 13:50:37 +02:00
Julien Oculi 5716284c73 fix(pwa): 🐛 remove randomness from cache version getter 2024-07-17 13:21:58 +02:00
Julien Oculi ae1b87c253 feat(pwa): update sw cache if version change between any request 2024-07-17 13:18:19 +02:00
Julien Oculi 654bc40358 feat(pwa): update precache version with build_id 2024-07-17 13:08:36 +02:00
Julien Oculi 087843c800 fix(pwa): 🐛 don't serve errored resources in service worker proxy 2024-07-17 12:21:22 +02:00
Julien Oculi 5669489dc9 feat(pwa): basic offline mode and sw fetch strategies 2024-07-17 03:21:11 +02:00
Julien Oculi c780fcfab6 fix(pwa): 🧑‍💻 better error handling while getting push subscription 2024-07-17 02:34:22 +02:00
Julien Oculi 0ee41a9e5a fix(api): 🐛 update glob to list all and only routes declaring an index.tsx 2024-07-17 02:23:21 +02:00
Julien Oculi f2b39d0288 feat(pwa): add precached files 2024-07-16 23:52:06 +02:00
Julien Oculi 2ded36b38b ci(config): 👷 use custome hostname in dev mode to avoid polluting browser hsts, ... caches 2024-07-16 21:20:24 +02:00
Julien Oculi 72b0794c61 revert(island): c6eb4383 2024-07-16 17:00:40 +02:00
Julien Oculi c6eb438314 fix(island): 🐛 transpilation cause Suspense to broke promise as children 2024-07-16 16:34:43 +02:00
Julien Oculi f24143964f feat(route): display profile page instead of "carnet" in member page 2024-07-16 16:15:54 +02:00
Julien Oculi 6fb46b2411 refactor: ♻️ switch from deno workspace to jsr for @cohabit/resources-manager 2024-07-16 15:29:30 +02:00
Julien Oculi c65f8e4538 refactor: ⬆️ switch from deno workspace to jsr for @cohabit/mailer 2024-07-15 22:41:18 +02:00
Julien Oculi 3028e3bd28 fix(config): ⬆️ update deno.json to deno 1.45+ 2024-07-12 16:50:04 +02:00
Julien Oculi 57e09f8b31 feat(ui): 💄 improve membercard size and background 2024-07-11 17:06:31 +02:00
Julien Oculi 99f100540e feat(css): improve contrast with new translucent color 2024-07-11 14:07:44 +02:00
Julien Oculi 8c5e03f885 docs: 📝 update readme instructions 2024-07-11 12:27:58 +02:00