Add “My Notes” ("Mitt klotter)" screen, enable distant note clicks, and add draggable map/list splitter to Nearby & My Notes

This commit is contained in:
2025-10-06 05:58:58 +02:00
parent f49fc61492
commit e9f7509b63
5 changed files with 533 additions and 88 deletions

View File

@@ -302,3 +302,21 @@ suspend fun fetchUserStats(): UserStats? {
return sh
}
/** user_notes.php → shared. */
suspend fun fetchUserNotes(
userId: Long,
sinceMs: Long = 0,
lastEtag: String? = null,
limit: Int = 500
): NearbyResult {
return KlottrApiShared.userNotes(
baseUrl = ApiConfig.SERVER_API_BASE_URL,
apiKey = ApiConfig.SERVER_API_KEY,
bearerToken = AuthShared.idToken,
userId = userId,
sinceMs = sinceMs,
lastEtag = lastEtag,
limit = limit
)
}