Commit 7487425
fix(v0.3.20): corregir 4 bugs críticos introducidos en v0.3.17
Bugs corregidos (todos introducidos entre v0.3.16 → v0.3.17):
1. SQLite schema: CREATE TABLE de links no incluía is_read/notes/reminder_at
aunque schema.sqlite.ts sí los tenía → TODOS los endpoints que tocaban
la tabla links devolvían 500 "no such column" en modo desktop.
Fix: sqlite-driver.ts actualizado + runSQLiteMigrations() con los 3 campos.
2. ThemeProvider: los 11 temas nuevos no estaban en el prop themes=[] de
Providers.tsx → next-themes no los gestionaba → seleccionar nordic,
catppuccin, tokyo, etc. no aplicaba ningún estilo.
Fix: Providers.tsx actualizado con los 24 temas.
3. SSR crash: useElectron.ts accedía a window.isElectron sin guard en
el initializer de useState → "window is not defined" durante SSR.
Fix: typeof window !== "undefined" añadido.
4. Pantalla negra en tauri:dev: lib.rs en modo #[cfg(dev)] no navegaba
al devUrl antes de show() → ventana quedaba en about:blank.
Fix: hilo separado navega a http://localhost:7878 con 600ms de retardo.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 16f9ebd commit 7487425
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments