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:
+1
-2
@@ -4,8 +4,7 @@ import androidx.lifecycle.ViewModel
|
|||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import at.mocode.frontend.core.auth.data.AuthApiClient
|
import at.mocode.frontend.core.auth.data.AuthApiClient
|
||||||
import at.mocode.frontend.core.auth.data.AuthTokenManager
|
import at.mocode.frontend.core.auth.data.AuthTokenManager
|
||||||
import io.ktor.client.request.post
|
import io.ktor.client.*
|
||||||
import io.ktor.client.HttpClient
|
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.StateFlow
|
import kotlinx.coroutines.flow.StateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
|
|||||||
-1
@@ -3,7 +3,6 @@ package at.mocode.ping.feature.data
|
|||||||
import at.mocode.frontend.core.localdb.AppDatabase
|
import at.mocode.frontend.core.localdb.AppDatabase
|
||||||
import at.mocode.frontend.core.sync.SyncableRepository
|
import at.mocode.frontend.core.sync.SyncableRepository
|
||||||
import at.mocode.ping.api.PingEvent
|
import at.mocode.ping.api.PingEvent
|
||||||
import app.cash.sqldelight.async.coroutines.await
|
|
||||||
|
|
||||||
// ARCH-BLUEPRINT: This repository implements the generic SyncableRepository
|
// ARCH-BLUEPRINT: This repository implements the generic SyncableRepository
|
||||||
// for a specific entity, bridging the gap between the sync core and the local database.
|
// for a specific entity, bridging the gap between the sync core and the local database.
|
||||||
|
|||||||
Reference in New Issue
Block a user