Commit Graph

162 Commits

Author SHA1 Message Date
Olof Hedman
224fb9edd4 Implement "toasts" for iOS for UiFeedback.showMessage() 2025-10-22 14:18:14 +02:00
Olof Hedman
4112204a5f AppNavigator.openMap() now works on iOS
Also implemented currently unused AppNavigator.openWalkingDirections()
2025-10-22 14:04:41 +02:00
Olof Hedman
c8a630e87f Fix compile error on iOS
Use kotlin native getOrPut instead of Java/Android specific putIfAbsent
2025-10-19 13:37:13 +02:00
0f6d50a187 feat(layers): show server-driven dynamic layers in Near & Home tabs (per-layer radii, cache keys, PHP bbox+Haversine, ETag restored) 2025-10-18 18:58:22 +02:00
0092632f93 After 1 000 mil, there is "Hela jorden". feat(ui): add space thousands grouping in radius labels 2025-10-16 12:32:47 +02:00
6fefd97750 s/Visas ej/Visa ej/ 2025-10-16 12:17:01 +02:00
30b33375fa feat(radius): snap arbitrary values to discrete steps; add unlimited threshold and robust step generation
fix(radius): treat 0 as unlimited; robust snapping & step generation so gr_max=0 from SQL doesn’t crash
feat(ui): show radius 0 as “Hela jorden” instead of “0 m”
2025-10-16 12:15:54 +02:00
95bae2c226 feat(layers): server-driven layer config (get_layers.php) + client integration; apply grMin/grMax and render new slugs dynamically 2025-10-16 11:44:13 +02:00
Olof Hedman
cef1f50c56 Isolating kotlin api called by swift to iosapi module to improve compile time
From 14 minutes to 15 seconds!
2025-10-15 19:32:23 +02:00
Olof Hedman
2c662dbb4c Disable unused iOS targets in build 2025-10-15 17:15:14 +02:00
Olof Hedman
13d58377cb Build fix for iOS 2025-10-15 17:14:51 +02:00
5b846b634f Fix: reinstate cross-platform hit notifications via KMP Notifier; trigger on first new item found 2025-10-15 14:07:12 +02:00
Olof Hedman
100a7f3f2d Fix camera size and resize behaviour 2025-10-14 20:07:18 +02:00
Olof Hedman
e0a6739623 Fix compilation error on iOS 2025-10-14 18:59:04 +02:00
e81abae275 Auth: load auth on app start and fix storage when token is null to prevent intermittent logged-out state 2025-10-08 23:11:08 +02:00
38301efccb Replace two-state slider with on/off switch for Klotter layer 2025-10-08 22:51:23 +02:00
4ecc9747f1 Bugfix for klotter update: Home: rescan and mark nearby Klotter so new finds appear on location/setting changes 2025-10-08 20:28:35 +02:00
f4f62e2d7f Preparing for dynamic layers: Refactor DiscreteSliderRow to use grMin/grMax and centralized discrete radius list 2025-10-07 22:20:39 +02:00
5002cbb3c9 Shorter klotter-layer slider. 2025-10-07 21:32:16 +02:00
fbae16f0f0 Changed position of "Läs mer" and "Maps" button of some layers. 2025-10-07 21:12:10 +02:00
e4029faf50 Fix satellite by removing shadowing flows and using parameter-based MapState 2025-10-07 20:55:33 +02:00
5e562b89e2 Fixed bug that did tabs "leak through" other tabs so you could click on them without seeing them. 2025-10-07 15:08:48 +02:00
58dce17df0 OOps, I forgot to add this then I was adding the format of listing klotter in near and home tab. 2025-10-07 14:54:24 +02:00
5c6623f640 Improved layer sliders with larger edge margins for better touch control. 2025-10-07 14:51:01 +02:00
2e91085301 Added dynamic top app bar titles and proper padding adjustments for all tabs 2025-10-06 22:09:00 +02:00
831a10dbdb Split layer settings into separate “Layers” tab and cleaned up Settings screen 2025-10-06 21:04:46 +02:00
e9f7509b63 Add “My Notes” ("Mitt klotter)" screen, enable distant note clicks, and add draggable map/list splitter to Nearby & My Notes 2025-10-06 05:58:58 +02:00
f49fc61492 lists: unify Klotter subtitle via shared formatter; short time; show name only when detail cached" ("Nära" och ("Hem"). 2025-10-05 14:36:02 +02:00
3ac58287e5 Removed old-UI and cleaned up. 2025-10-03 21:48:31 +02:00
56aab1911d New-UI: add AboutScreen and SettingsScreen as tabs with proper titles, clickable email link, fixed padding issues, and restrict FAB to Home/Nearby 2025-10-03 21:25:34 +02:00
07f8c666be New-UI: add AboutScreen tab and make contact email clickable with mailto link 2025-10-03 19:47:02 +02:00
864397d96e Add user statistics section in AccountScreen with centered header and dynamic deleted count text 2025-10-03 18:25:41 +02:00
adc00c672b Refresh account data on tab entry (fetchMe on selectedTab == "account") 2025-10-03 12:03:42 +02:00
a7bd733320 Add username change dialog with API integration, 3-month restriction info, and UI updates in AccountScreen 2025-10-03 00:40:16 +02:00
d73d9acc4a Add first login info and dynamic login/logout button to AccountScreen 2025-10-02 20:32:56 +02:00
732a85c0be Add AccountScreen ("Konto") with modern Material3 layout and styled action buttons. 2025-10-02 20:14:23 +02:00
674136ec50 When clicking on Fornsök, Wikipedia and DigitaltMuseum on the map, the info window now opens as before the migration. Also fixed so the map updates when layer changes or something is found. 2025-10-02 18:20:47 +02:00
Olof Hedman
72d9b879c4 iOS app running.
Map API key needs to be set in untracked file Config.local.xcconfig
Still issues with showing map
2025-10-02 18:07:29 +02:00
cc4a99effb Fix layout spacing and state handling in new UI: ensure bottom bar always visible via Scaffold, use rememberSaveable for selectedTab with fallback to 'home', remove duplicate innerPadding usage causing blank space under top bar, keep map and list cached between tab switches to avoid reloads, nearby list now shows cached results immediately and refreshes in background. 2025-10-02 12:37:47 +02:00
085e147862 Use cached nearby results in "Nära" tab to show list immediately and refresh seamlessly in background 2025-10-01 23:08:32 +02:00
704342b6e2 Improve "Meny" tab UI with Material3 card-based grid tiles for modern look and feel 2025-10-01 20:40:55 +02:00
b3c98570a7 Add new "Meny" tab with grid-style menu options and working navigation from bottom bar 2025-10-01 18:57:31 +02:00
c71e96e17f Add split-view for "Nära" tab with map on top and nearby list below, auto-scanning location on open 2025-10-01 18:39:25 +02:00
44fa5c1dbe Show recent finds under "Hem" tab in new UI using reused KlottrHomeContent logic 2025-10-01 17:57:25 +02:00
e39a23c53d Show recent finds under "Hem" tab in new UI using reused KlottrHomeContent logic 2025-10-01 17:42:56 +02:00
5c2b50bec6 Implement modern bottom navigation with icons and add Material3 FAB for "Klottra" in new UI 2025-10-01 14:38:46 +02:00
2e97fb6a82 Change sorting of recent finds: newest entries now appear at the bottom of the list 2025-10-01 14:00:58 +02:00
0f8ceeeb78 Add experimental "New UI" toggle in settings with SettingsStore flag and conditional layout rendering 2025-10-01 01:08:29 +02:00
Olof Hedman
167c69142b Fix an issue with mixed iOS and Kotlin supertypes in ios LocationServices 2025-09-29 14:09:50 +02:00
Olof Hedman
ccad0ec592 Fix aboutInfo for iOS and some fixes for android 2025-09-29 14:01:27 +02:00