a8e13c9556
shared(ui): FoundList fills space and adds a lightweight, material-free scrollbar thumb; exposes optional LazyListState
...
shared(ui): use Color.takeOrElse for scrollbar color fallback; remove dependency on isSpecified
shared(ui): harden FoundList scrollbar math (non-negative weights, safe totals); prevent startup crash on edge cases
2025-09-14 00:03:48 +02:00
c98d2c77a8
KMP/UI: snabbare ”Närliggande” + fullhöjd ”Hittat”
...
shared(nearby): parallellisera fetchNearbyData med coroutineScope/async; bibehåll DI och fail-safe runCatching per källa.
shared(ui): FoundContent fyller tilldelad yta — ta bort height cap 420dp och använd fillMaxSize.
app(ui): gör Hittat-sektionen fullhöjd via omslutande Box(fillMaxSize) och lägg subtila scroll-hints (fade top/bottom) för tydlig skrollbarhet.
2025-09-13 23:20:39 +02:00
18b1978c61
shared(ui): FoundContent – add isBold param and forward to FoundList
...
app(found): pass isBold using !FoundStore.isAway(...) in FoundContent call
2025-09-13 16:59:12 +02:00
6834efabd8
shared(ui): add NearbyContent (material-free) and subtitle/list wiring
...
app(ui): use NearbyContent in NearbyDialog and mark finds before render
2025-09-13 16:16:39 +02:00
757a910adb
shared(nearby): add enrichKlotterLabels for Found list (DI-based);
...
app(found): use shared enrichment instead of per-row fetch
2025-09-13 15:53:54 +02:00
3e5e687642
app(nearby): use shared fetchNearbyData with injected fetchers; replace per-layer calls; keep toggles + logs
2025-09-13 15:36:12 +02:00
0ed70edb9e
shared(nearby): add layerDisplayName and wire into subtitleFor;
...
app(found): use shared layerDisplayName for Hittat subtitle (no UI change)
2025-09-13 14:36:54 +02:00
23e237c457
shared(ui): add material-free FoundList;
...
app(found): render Hittat via shared FoundList; keep dark-mode text and click behavior
2025-09-12 21:04:04 +02:00
88c041ef2b
app(found): centralize klotter label enrichment in LaunchedEffect; remove per-row effect; use labelOverrides map
...
(And some space removed in comments).
2025-09-12 20:51:33 +02:00
9909b937b5
app(nearby): cache known klotter labels per open; avoid repeated FoundStore scans
2025-09-12 20:07:15 +02:00
85828bd755
shared(nearby): add markNewFinds helper;
...
app(ui): use shared markNewFinds in NearbyDialog (cleaner render path)
2025-09-12 19:55:07 +02:00
2145b8ad89
app(ui): use shared nearby isClickable rule via FQN; no behavior change
2025-09-12 19:45:23 +02:00
179360852b
shared(nearby): add isClickable rule for Nearby; centralize per-layer clickability
2025-09-12 19:45:07 +02:00
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
5e5aa2def3
shared(ui): add material-free NearbyList composable; reuse NearbyEntryRow + subtitleFor; no material deps
2025-09-12 19:36:08 +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
bd5a6956db
shared(util): add LAYER_FORNSOK to FoundStore (KMP); use it in nearby builder
2025-09-12 17:51:37 +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
584510c894
shared(ui,nearby): add buildNearbyEntries + NearbyEntryShared; make SharedInfoCard & NearbyEntryRow accept TextStyle (dark-mode safe)
2025-09-12 17:19:16 +02:00
a315eb6f07
shared(ui): make SharedInfoCard accept TextStyle for dark mode; keep foundation-only (no material deps)
2025-09-12 15:35:05 +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
629d7b656d
Initial commit.
2025-09-11 22:09:17 +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
Olof Hedman
03a547f896
ios(sign-in): add Google SignIn for ios app
...
Add KMP bridges to synch login state
Use keychain for storing login state on ios
Setup interop beween KMP and ios for sign in
2025-09-10 16:55:41 +02:00
Olof Hedman
e76c9129a7
shared(build): Rename XCFramework name to match module name
...
Silence warning "Framework renaming is not supported yet"
2025-09-10 13:45:23 +02:00
Olof Hedman
1dd860ab20
ios: add gitignore for xcode project
2025-09-10 13:42:08 +02:00
Olof Hedman
e5d224e0c9
Merge remote-tracking branch 'origin/ios-support'
2025-09-09 19:17:09 +02:00
Olof Hedman
fa1f3ec143
config: update kotlin to 2.2.10 for proper compose support on ios
2025-09-09 15:42:15 +02:00
Olof Hedman
19bf1258c0
refactor(shared): Move FoundStore to commonMain in shared library
...
FoundStore no longer ensure migration (which is unecessary since KvPrefs use SharedPreferences anyhow)
Had to rename Geo.kt in shared to SharedGeo.kt because it collided with Geo.kt in app for some reason
2025-09-09 15:10:41 +02:00
Olof Hedman
143a4666b4
ios: Implement KvPrefs using NSUserDefaults
2025-09-09 15:10:41 +02:00
Olof Hedman
e2900b63b5
ios: Add empty ios swift project
2025-09-09 15:10:41 +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
9c3ab55456
chore(git): ignore KMP build outputs and Kotlin caches
2025-09-08 19:47:30 +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
0c469b3572
feat(shared): add KvPrefs expect/actual with change listeners (Android SharedPreferences)
2025-09-08 18:51:31 +02:00
8bcce89a08
Updated instructions
2025-09-07 23:57:47 +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