161887ee1d
app(ui): use shared NearbyList in NearbyDialog; move markFound outside list render; keep dark-mode text via themed TextStyle
2025-09-12 19:36:23 +02:00
fab3c2c506
shared(nearby); app(ui): add shared subtitleFor() and use it in NearbyDialog (dark-mode safe)
2025-09-12 19:00:35 +02:00
5830c42114
app(ui): remove CMP pilot card (SharedInfoCard) from main content; drop unused import
2025-09-12 18:12:12 +02:00
f41605cd74
app(ui): replace local LAYER_FORNSOK with FoundStore.LAYER_FORNSOK in MainActivity; tidy related code
2025-09-12 17:51:52 +02:00
ecd5e3c091
app(ui): use shared nearby builder/model; fix dark-mode text in NearbyDialog; move “Senaste” to content; speed up theme toggle (LaunchedEffect key); clean debug imports
2025-09-12 17:19:38 +02:00
a006b9ccb0
app(ui): place “Senaste” as content heading; render SharedInfoCard with themed TextStyle; remove debug UI; restore top app bar; speed up theme switch (LaunchedEffect key); use shared NearbyEntryRow in NearbyDialog; tidy imports
2025-09-12 15:34:52 +02:00
589b3b8dbd
app(ui): render shared CMP pilot (SharedInfoCard) from :shared/commonMain
2025-09-12 00:41:21 +02:00
27983bf68f
app(ui): fix delete visibility & refresh Found list after delete
...
- Derive `currentUserId` from `me` (derivedStateOf) and pass into KlotterDialog
- Use `currentUserId` param in canDelete check
- Remove remember() around FoundStore.getAll() so Hittat updates immediately
2025-09-11 21:56:32 +02:00
11d9831225
Merge remote-tracking branch 'origin/main'
2025-09-09 14:18:58 +02:00
1132ce1af9
shared(build): enable Kotlin Compose compiler plugin for CMP (Kotlin 2.x)
2025-09-09 14:14:52 +02:00
Olof Hedman
bfcdb636dc
buildfix(shared): fix ksp version mismatch, add xcframework gradle task
2025-09-09 13:17:25 +02:00
1cf2857094
app: switch MainActivity to no-arg SettingsStore setters (remove Context at call sites)
2025-09-09 01:05:49 +02:00
0003e74011
app(service): use shared util via FQN — replace import of distanceMeters in LocationService
2025-09-08 23:41:38 +02:00
36c38bfd5f
app: switch MainActivity to SettingsStore no-arg getters (remove Context at call sites)
2025-09-08 23:19:20 +02:00
eb9c8beb4a
app: switch MapDialog to KMP SettingsStore no-arg API (remove Context at call sites)
2025-09-08 22:42:37 +02:00
871a10c557
refactor(app): switch to shared FoundStore and import constants
2025-09-08 21:03:00 +02:00
500d57dbd5
refactor(shared): add FoundStore expect/actual via KvPrefs and migrate legacy prefs
2025-09-08 21:02:20 +02:00
c08e4f030c
refactor(app): init KvPrefs in MainActivity and switch to shared SettingsStore
2025-09-08 18:55:17 +02:00
3079153400
refactor(shared): move SettingsStore to KMP using KvPrefs and remove Android impl
2025-09-08 18:53:05 +02:00
5d348ac7cc
refactor(shared): centralize distanceMeters util and remove local copies
2025-09-07 23:27:19 +02:00
f7c79ed420
docs(app): document DigitaltMuseum Android adapter (delegates to shared)
2025-09-07 20:39:16 +02:00
b3f22aab73
refactor(app): use shared Me model and remove local MeResp
...
docs(shared,app): document me.php path and app adapter (no logic changes)
2025-09-07 17:57:53 +02:00
61e06ce14d
refactor(app): return NoteDetailShared from fetchNoteDetail and remove local NoteDetailDTO
2025-09-07 12:02:27 +02:00
48bd7d0754
refactor(app): use shared NoteDetail model and remove local NoteDetailDTO; update cache and fetchNoteDetail
2025-09-07 11:50:16 +02:00
56752ab1f4
feat(shared): add DM lookupByIdentifier/getDetailText and delegate Android DigitaltMuseum to shared Ktor client
...
refactor(app): switch image stream to ByteArray and delegate get_image.php to shared client
chore(app): remove OkHttp dependency after DM migration to shared
docs(shared): add thorough comments to DigitaltMuseumShared (no logic changes)
2025-09-07 10:43:41 +02:00
327ee6594b
chore(app): remove Retrofit/Moshi and logging-interceptor; keep OkHttp core for ResponseBody
2025-09-06 20:12:14 +02:00
cdae7dff2b
fix(app): remove Moshi @Json annotations from MeResp after Retrofit cleanup
2025-09-06 20:05:56 +02:00
f794f7dc54
fix(app): replace leftover Retrofit createNote with KMP delegate
2025-09-06 19:58:09 +02:00
ec4d3d2746
feat(shared): add KMP get_image.php (form stream) and delegate Android fetchImageStreamPost
2025-09-06 19:48:36 +02:00
1bfdc3f037
feat(shared): add KMP upload_image.php (multipart) and delegate Android uploads
2025-09-06 19:40:49 +02:00
3c432cde2f
feat(shared): add KMP delete_note.php and delegate Android deleteNote
2025-09-06 19:29:46 +02:00
d30b3a84c2
feat(shared): add KMP username_check/set and delegate Android username APIs
2025-09-06 19:25:06 +02:00
799e562f31
feat(shared): add KMP me.php client and delegate Android fetchMe
2025-09-06 19:16:20 +02:00
477b1cb022
feat(shared): add KMP create.php (text & doc) and delegate Android createNote*
2025-09-06 16:48:30 +02:00
b3dcb91922
feat(shared): add KMP get_note.php client and delegate Android fetchNoteDetail
2025-09-06 16:32:17 +02:00
54b3c88af3
feat(shared): add KMP nearby.php client and delegate Android fetchNearby
2025-09-06 16:19:13 +02:00
f2f60d7f16
refactor(app): delegate Fornsok.getNearby to shared KMP client
2025-09-06 15:07:20 +02:00
6222aa136e
feat(shared): add KMP DigitaltMuseum client and delegate Android getNearby
2025-09-06 14:31:06 +02:00
9e769ae4a5
refactor(app): delegate Wikipedia API calls to shared KMP client
2025-09-06 14:15:20 +02:00
cc0060d044
feat(shared): add expect/actual Ktor engine and Wikipedia client; fix Ktor import
2025-09-06 14:07:36 +02:00
6363cbbc3c
refactor(shared): move common API models & username helpers to commonMain and restore comments; fix type inference in MainActivity
2025-09-05 20:47:57 +02:00
43daadc3d4
refactor(shared): move WikipediaPage/Detail, DigitaltMuseumItem, FornsokItem to commonMain; remove duplicates in :app
2025-09-04 23:32:37 +02:00
dffa3f805c
refactor(shared): move FoundEntry to commonMain and remove duplicate in :app
2025-09-04 17:56:45 +02:00
0aa0bdcec3
Första stegen mot multiplattform gjorda. Skapat shared.
2025-09-03 19:30:48 +02:00
666d6a05f1
Klottr v0.2.6, missade uppdatera versionCode.
2025-08-31 14:34:19 +02:00
96ec386b59
Klottr v0.2.6. Nu kan man radera klotter. Buggfix vid inloggning på bugg som gjorde att man tvingades skapa användarnamn igen.
2025-08-31 14:25:11 +02:00
d070790c69
Klottr v0.2.5. Added layer DigitaltMuseum, with temporary API key.
2025-08-30 16:22:04 +02:00
f3a10435f7
Klottr v0.2.4.1, lite bättre hantering av okänt klotter.
2025-08-30 00:32:17 +02:00
077f022eaf
Klottr 0.2.4. Nu med användarnamn, och mer info om klottren man tittar på.
2025-08-30 00:11:30 +02:00
e42ebef5ed
Klottr v2.2.0. Flyttat info i Hittat till klottrets sida. Infosida. Två debugloggnivåer istället för 0. Använder POST istället för GET av integritetsskäl. Första versionen på Google Play, där den publicerades igår.
2025-08-27 16:49:33 +02:00