Location updates now handled in a more compose friendly way via StateFlow
Lots of small changed in MainActivity and DetailDialogShell to make them platform independent
Add new platform apis for openUrl, openMap (AppNavigator)
Add Platform independent OutboxScheduler
Try to clean up event handling of FoundEvents and location updates (need more cleanup)
New wrapper for handling App Context in shared (could be used to clean up integration further)
- Move Nearby/Username/About shells to app.klottr.ui.CommonDialogsShell
- Move Wiki/Fornsok/DM shells to app.klottr.ui.DetailDialogsShell
- Extract fetchWikiThumbBitmap to app.klottr.net.WikiThumb
- Add app.klottr.net.HttpImage (fetchBitmapFromUrl) and use it from DM dialog
- Switch detail dialogs to LastLocationStore.lastKnown (GeoPoint) from shared API
- Remove unused imports from MainActivity
- New: shared/ui/UsernameDialogContent.kt (material-free)
- Android: use UsernameDialogContent for title/message/input; keep platform buttons
- Fix: pass cursorColor (Material color) to shared content so caret is visible in dark theme
- New: shared/ui/NearbyDialogContent.kt (material-free container for dialog body)
- Android: use NearbyDialogContent in NearbyDialog; keep AlertDialog shell only
- Fix: pass MaterialTheme colors to Wiki/Fornsok/DM detail contents (title/body/caption) so text follows light/dark mode
- New: shared/ui/KlottrHomeContent.kt (material-free; header/footer slots)
- Android: replace Scaffold body Column with KlottrHomeContent(); keep AppBar and dialog shells
- Fix: add dp import in shared; use weight(1f) for center area so Login/Logout footer stays visible
- No behavior change; prepares moving root towards :shared
- shared: buildNearbyEntries(...) now accepts showKlotter/showWiki/showDm/showFornsok and
filters by per-layer radii (Wiki/DM/Fornsok) while keeping Klotter visible outside 20 m
(label falls back to “Okänt klotter”). Sorting by distance remains.
- app: NearbyDialog signature includes toggles and forwards them to the shared builder.
- app: call site updated to pass toggles; behavior unified across platforms.
- No Material dependencies added; Android build stays green.
Found list updates live (KvPrefs listener + broadcasts) — no rotation needed.
Auto-mark newly created notes as “found” and auto-scroll list to top.
Suppress notification for the just-created note (TTL), keep others unchanged.
Write dialog: BasicTextField plumbing with visible cursor (dark mode), full-area focus, proper placeholders.
Offline w/ image: persist file, queue OutboxWorker, idempotent retries.
app(main): replace three autoscan effects with one using shared AutoScan; refresh Found on new items
app(settings): after “Clear all finds”, run immediate local rescan via shared AutoScan and repopulate UI
shared(commonMain): add location/LocationProvider (GeoPoint + interface).
app(location): add AndroidLocationProvider using FusedLocationProviderClient.
app(MainActivity): replace ad-hoc location calls with provider in startup, auto-scans (Wiki/DM/Fornsok), and “Nearby” button; persist lastKnownLat/Lon.
app(ui): use MapPanelShell inside NearbyDialog and set sensible max height (~80% of screen).
app(found): fix fetchNearbyData call to use gp.lat/gp.lon.
shared(ui): FoundList fills its space and adds a lightweight, material-free scrollbar thumb; expose optional LazyListState.
shared(ui): Harden FoundList scrollbar math (non-negative weights, safe totals) and use Color.takeOrElse for color fallback to avoid startup crash.
shared(ui): NearbyList fills its space and adds the same lightweight scrollbar; optional LazyListState support.
shared(nearby): Add resolveNearbyOpenAction for Nearby entries; map to FoundOpenAction (Klotter/Wiki/Fornsok/DM); fix import placement and remove unused import.
shared(ui): NearbyContent now fills its space (remove 420dp height cap) and delegates onEntryClick to resolveNearbyOpenAction.
shared(ui): Add material-free MapPanelShell to host title/main/footers above map and reuse across platforms.
app(ui): Use MapPanelShell for the main “Senaste” panel in KlottrApp — move header, FoundContent area, and login/logout row into the shared shell; main area is full-height.
app(ui): Use MapPanelShell inside NearbyDialog and set a sensible max height (~80% of screen) so content is clearly scrollable; keep AlertDialog title/buttons.