Commit Graph

13 Commits

Author SHA1 Message Date
Julien Calixte
b003a3e008 perf: move PouchDB/IndexedDB operations to a Web Worker
All database reads and writes now run off the main thread via a
dedicated worker, eliminating IndexedDB overhead from the frame budget.

- Create data.worker.ts exposing the Data class via Comlink
- Refactor data.ts to export a Comlink-wrapped proxy and a standalone
  generateId() pure function (workers can't expose sync methods cleanly)
- Update all 10 call sites to import generateId directly instead of
  calling data.generateId()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 11:27:45 +02:00
Julien Calixte
5f48aa5690 chore: lint and fmt 2026-03-28 09:38:55 +01:00
Julien Calixte
dfdd646eb1 deps: migrate to api.remanso.space for everything now 2026-03-21 10:49:39 +01:00
Julien Calixte
bd9d97b0af trying to be as little blocking as possible 2023-08-17 20:06:32 +02:00
Julien Calixte
2cab8c8e3f autoimport with eslint now 2023-08-14 18:04:27 +02:00
84ba5fcd46 🐛 (login) refresh token 15 minutes before expiration 2021-05-13 16:34:30 +02:00
fce3fd49cf Merge branch 'main' of github.com:lite-note/lite-note into main 2021-05-13 16:27:06 +02:00
9dfac11a14 --wip-- [skip ci] 2021-05-13 16:26:03 +02:00
Julien Calixte
a98f30cfcd 🔇 (token) 2021-05-09 01:07:05 +02:00
Julien Calixte
d33fa18b9c 🐛 (refresh) refresh correct token 2021-05-02 18:33:46 +02:00
Julien Calixte
56432d81c8 🐛 (sign ing) update expiration date 2021-05-02 18:01:11 +02:00
Julien Calixte
7a5275dd2e (refresh) refresh when requesti… 2021-05-02 17:21:24 +02:00
Julien Calixte
e88584e24d ♻️ (sign in) 2021-05-02 16:47:48 +02:00