Commit Graph

19 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
683187b4d1 feat: render some real content 2026-02-11 03:12:52 +01:00
Julien Calixte
971df9c45b can edit raw content 2023-08-20 14:24:38 +02:00
Julien Calixte
2cab8c8e3f autoimport with eslint now 2023-08-14 18:04:27 +02:00
Julien Calixte
32a76ca3b7 integrate need review cards 2023-08-06 21:27:01 +02:00
Julien Calixte
fe2ba2d82d 🐛 (card) fix flex and reload at every failed flashcard 2023-07-08 18:22:34 +02:00
Julien Calixte
d49b32a552 (card) limit to max level and sort by level max to min 2023-07-08 00:41:32 +02:00
Julien Calixte
c334598736 (card) add failed repetition to reset to level 1 2023-07-08 00:24:54 +02:00
Julien Calixte
3ab1d0eab3 (card) add animation and true level adding 2023-07-08 00:22:44 +02:00
Julien Calixte
fb29b97400 🔇 (card) 2023-07-03 23:22:22 +02:00
Julien Calixte
ff87c7ef79 (card) limit to 10 days 2023-07-02 23:38:39 +02:00
Julien Calixte
6c251f797d (card) make the buttons work 2023-07-02 23:25:14 +02:00
Julien Calixte
d2bae97a5b 🎨 (app) sort imports 2023-07-02 22:25:59 +02:00
Julien Calixte
492eb5ed3b refacto and never use escape method 2023-07-02 12:29:54 +02:00
Julien Calixte
a3082f25bd ♻️ (folder notes) 2021-08-08 00:19:25 +02:00
17178bbe63 (card) add repetition card in database 2021-06-27 20:11:57 +02:00
5e6efd1ba3 🐛 (backlinks) no reset for backlinks 2021-06-20 22:17:23 +02:00
257dc0794b (cards) implements spaced repetition cards 2021-06-12 16:11:47 +02:00