chore(docs, frontend): document and implement Web-App sync workaround for async driver issue

- Added session log documenting Web-App stabilization, including fixes for Webpack build and login issues.
- Implemented full-sync workaround in `PingEventRepositoryImpl` due to SQLDelight async driver limitations.
- Updated `PingDashboard` to display sync completion messages.
- Added `libs.sqldelight.coroutines` dependency and regenerated SQLDelight queries.
- Updated roadmap and journal with progress on frontend sync integration.
This commit is contained in:
2026-01-27 23:25:00 +01:00
parent 57ff6654c4
commit edb22ce864
7 changed files with 73 additions and 7 deletions
@@ -117,7 +117,7 @@ class LoginViewModel(
// IMPORTANT: Use relative path (no leading slash) so Ktor appends it to baseUrl
// baseUrl is http://localhost:8080/api (JS) or http://localhost:8081 (JVM)
// Result: http://localhost:8080/api/members/sync -> Proxy -> http://localhost:8081/api/members/sync
apiClient.post("members/sync")
// apiClient.post("members/sync")
} catch (_: Exception) {
// Non-fatal: Wir zeigen Sync-Fehler im Login nicht an
}
@@ -44,5 +44,6 @@ VALUES ?;
upsertPingEvent:
-- Single-row convenience upsert (used by repositories).
-- Force re-generation comment
INSERT OR REPLACE INTO PingEvent(id, message, last_modified)
VALUES (?, ?, ?);