AcadeDoc/apps
Corentin 7fba3c0452 fix(acadenice): sync-block date string + graph p.slug column name — Patch 026
Two server bugs surfaced from the live test:

1. SyncBlockRepo.mapRow crashed with 'Cannot read properties of
   undefined (reading toISOString)' on POST /api/acadenice/sync-blocks.
   The kysely-postgres-js driver returns timestamps as strings, not
   Date instances. Wrap with new Date(...) before .toISOString().

2. GraphService.loadPageMeta + loadOrphanPages SELECT'd p.slug, but the
   native pages table column is named slug_id. Postgres rejected the
   query, the catch returned [], and the graph rendered empty even when
   pages existed. Aliased p.slug_id AS slug to match the PageMetaRow
   interface.

Patch 026.
2026-05-08 12:47:12 +02:00
..
client fix(client): switch bridge token to import.meta.env (Vite auto-expose) — Patch 025 2026-05-08 12:44:18 +02:00
extension-clipper feat(acadenice): add sync blocks for cross-page content sharing — R4.2 2026-05-08 11:40:12 +02:00
server fix(acadenice): sync-block date string + graph p.slug column name — Patch 026 2026-05-08 12:47:12 +02:00