Abdullah Atta
c23f31f284
web: use service worker for cross-tab communication only as a fallback
...
This commit basically reverts 1b63b2dccf .
Using service worker for this by default is a bad idea because:
1. It takes some time for the service worker to be installed and ready
which slows down first launch significantly
2. Service worker is not as reliable when updating from version to
version
We can, however, use it as a fallback i.e for devices that don't yet
support shared worker.
2025-04-10 10:29:26 +05:00
Abdullah Atta
117fc44f00
web: replace shared worker with service worker for sqlite
2025-04-10 10:28:58 +05:00
Abdullah Atta
0a362e9ce7
web: fix all tests
2025-04-10 10:28:57 +05:00
Abdullah Atta
9b6f7ff225
web: fix release track switching
2025-03-01 13:13:25 +05:00
Abdullah Atta
15f4f2accb
desktop: add support for switching release tracks
...
this also includes relevant tests for the auto updater
2025-02-28 18:03:05 +05:00
Abdullah Atta
725f3c3522
web: add support for switching release tracks
...
we make use of Cloudflare Pages Functions to redirect to the beta site
if a certain cookie is present. This ensures seamless switching between
release tracks.
2025-02-28 18:03:05 +05:00
Abdullah Atta
9d12ef82c0
web: do not prefetch wa-sqlite wasm module on desktop
2024-11-13 17:52:40 +05:00
Abdullah Atta
1f3e7574f5
web: improve app startup
2024-11-13 15:48:33 +05:00
Abdullah Atta
3e55492318
web: use strings from @notesnook/intl in more places
2024-10-10 12:35:58 +05:00
Ammar Ahmed
3e5b740ef0
mobile: migrate app to intl
2024-10-10 12:35:58 +05:00
Abdullah Atta
382b5b0240
web: improve web app loading performance by 10x ( #5845 )
...
* web: improve web app loading performance by 10x
* web: update test snapshots
2024-06-03 11:07:44 +05:00
Abdullah Atta
543c6f17ed
web: enable sourcemaps for web app
2024-05-11 13:09:59 +05:00
Abdullah Atta
f4b14e37ae
desktop: use better-sqlite3 on desktop for SQLite
2024-03-21 11:17:31 +05:00
Abdullah Atta
8f379d253e
desktop: ready beta for deployment
2024-03-21 10:55:14 +05:00
Abdullah Atta
1289a025a5
web: skip initiation for theme builder
2023-08-10 07:18:49 +05:00
Abdullah Atta
a5d39a18a7
web: allow custom app title
2023-08-08 13:19:29 +05:00
Abdullah Atta
445ea660c3
web: make web app embeddable
2023-08-08 13:19:29 +05:00
Abdullah Atta
e52bdd7ca5
web: disable sourcemaps even in testing
2023-08-07 09:18:13 +05:00
Abdullah Atta
26e50848da
web: set root to src in vitejs for more focused builds
2023-08-07 09:17:04 +05:00
Abdullah Atta
22bf738d21
web: make sure all tests are passing
2023-08-03 18:48:51 +05:00
Abdullah Atta
4f3f19a785
web: extract editor styles into a fixed css file during build
2023-08-01 20:39:16 +05:00
Abdullah Atta
a54c18e89b
web: remove require transform plugin
2023-08-01 20:39:16 +05:00
Abdullah Atta
4bab279345
global: fix conflicting package versions across subprojects
2023-08-01 20:39:16 +05:00
Abdullah Atta
2b74e2afb2
web: fix Dynamic module import is disabled error
2023-08-01 20:33:37 +05:00
Abdullah Atta
cae3f7354e
web: convert require to await import
2023-07-25 08:09:27 +05:00
Abdullah Atta
5854a3eef5
web: fix service worker to allow Notesnook to behave as a PWA again ( #2905 )
...
* web: make service worker work again
* web: only enable sourcemap during dev
2023-07-12 06:51:14 +05:00
Abdullah Atta
adabf488ee
web: change output hash size to 12 chars
2023-07-08 11:13:48 +05:00
Abdullah Atta
e872487724
desktop: use vitejs for loading the correct bridge
2023-07-04 09:43:17 +05:00
Abdullah Atta
9096e7711d
web: do not bundle pwa assets for desktop build
2023-06-23 11:40:03 +05:00
Abdullah Atta
c91bc819be
web: enable CSS autoprefixing on build
2023-06-23 11:39:27 +05:00
Abdullah Atta
d14c712b79
web: only run top-level-await transform in prod builds
2023-06-20 17:50:23 +05:00
Abdullah Atta
fb90ef3137
web: support top-level-await transform in desktop builds
2023-06-20 17:49:23 +05:00
Abdullah Atta
5d1ba7fa0a
web: new dialog based settings ( #2745 )
2023-06-16 19:10:02 +05:00
Abdullah Atta
5374f2b56c
web: migrate to vitejs from webpack ( #2715 )
2023-06-12 11:49:37 +05:00