Commit Graph

199 Commits

Author SHA1 Message Date
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
Olof Hedman
811dc3f10d Move ImageReader to the right folder 2025-09-29 13:45:51 +02:00
Olof Hedman
1e45cf07ff Implement databasefactory for iOS 2025-09-29 13:45:26 +02:00
Olof Hedman
eb7a42015b Fix iOS compile errors in ImageRead, VisualMediaPicker and AppNavigator 2025-09-29 13:37:18 +02:00
Olof Hedman
a1d7f83997 Move KlottrAppShell to :shared 2025-09-29 12:00:04 +02:00
Olof Hedman
8b699056d2 Move silent signin to MainActivity
KlottrAppShell now fully platform independent
2025-09-29 11:58:52 +02:00
Olof Hedman
9a1a2b6e14 Use AndroidAppContext.get() in android implementation to make DB fully platform independent 2025-09-29 11:58:18 +02:00
Olof Hedman
db00c93771 Platform independent UUID generator 2025-09-29 11:36:27 +02:00
Olof Hedman
22df5b26c5 Add ImageWrite to write images, move to images namespace 2025-09-29 11:36:07 +02:00
cc7226ad63 Migrate local persistence from Room to SQLDelight with multiplatform support (Android+iOS); replace NoteEntity/DAO/Repository with generated SQLDelight schema, add DatabaseFactory for drivers, integrate Flow support for Compose UI updates 2025-09-26 23:10:51 +02:00
52ffb2c958 Migrate local persistence from Room to SQLDelight with multiplatform support (Android+iOS); replace NoteEntity/DAO/Repository with generated SQLDelight schema, add DatabaseFactory for drivers, integrate Flow support for Compose UI updates 2025-09-26 20:57:05 +02:00
Olof Hedman
a42070e36b Fixed a few easy-to-fix issues in KlottrAppShell 2025-09-24 18:47:57 +02:00
Olof Hedman
59bbba8f6b Final dependencies on android removed from WriteDocDialog
Moved to :shared
2025-09-24 18:42:28 +02:00
Olof Hedman
0acc81c9e2 Platform independent image picking 2025-09-24 18:40:17 +02:00
Olof Hedman
e66c1861c2 KlottrDialog moved to :shared 2025-09-24 18:07:33 +02:00
Olof Hedman
298b73a387 Remove dependencies on android bitmaps from KlottrDialog and WriteDocDialog 2025-09-24 18:06:51 +02:00
Olof Hedman
4af7d8c7fd Add integration note to App Database 2025-09-24 17:41:58 +02:00
Olof Hedman
a36baea243 Settings dialog moved to shared 2025-09-24 17:41:43 +02:00
Olof Hedman
0298224a2d Extract all Compose UI from MainActivity.kt
Split dialogs into their own files
Introduced Permission integration api
MapDialog moved to shared
2025-09-24 17:35:42 +02:00
Olof Hedman
4daa245aec Merge branch 'location-service-refactor' 2025-09-24 16:48:30 +02:00
Olof Hedman
34a2854d69 Delete some files that are no longer used 2025-09-24 16:47:55 +02:00
Olof Hedman
b98a12abe0 DetailDialogsShell (finally!) platform independent and moved to shared 2025-09-24 16:45:12 +02:00
Olof Hedman
ed3cf0e56a Move last usages of Toast to use new UiFeedback.showMessage 2025-09-24 16:32:16 +02:00
Olof Hedman
642e546a09 Location refactor compiles and seemingly works
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)
2025-09-24 16:23:38 +02:00
Olof Hedman
0d1e54fcd8 WIP: Add new location service, disable old.
Note: this commit does not compile
2025-09-24 10:02:50 +02:00
Olof Hedman
7e9973c773 Migrating to using wrapper MapContainer instead of Google Maps directly 2025-09-23 16:48:40 +02:00
Olof Hedman
3bac1638ad Refactored and cleaned up Auth integration 2025-09-23 14:50:47 +02:00
Olof Hedman
4e9b5b34c7 Fix crash in GoogleMaps component due to new maps library version 2025-09-23 14:50:06 +02:00
Olof Hedman
5d8d620811 Fix crash in NearbyDialog due to missing screen height 2025-09-23 14:49:01 +02:00
Olof Hedman
d9eef1338a Fix a crash in old MapDialog introduced due to updated google maps sdk 2025-09-23 12:35:27 +02:00
Olof Hedman
05bab442bf Add a platform independent MapContainer that can be called from shared ui
Wraps Google Maps on both Android and iOS
Also bumps targetSDK to 36 because it was required by the library.
2025-09-23 12:34:49 +02:00
Olof Hedman
b25050dab7 Move CommonDialogsShell.kt to :shared 2025-09-22 19:39:29 +02:00
Olof Hedman
e5e6413699 Move Api.kt to :shared, all net now in :shared
Also introduce platform independent ImageRead in :shared
2025-09-22 19:29:52 +02:00
Olof Hedman
ac1f57a46d Move NoteCache and Geocache to :shared 2025-09-22 18:44:29 +02:00
Olof Hedman
16bc6e61c5 Use AuthShared in Api.kt for future compatibility with commonMain 2025-09-22 18:43:22 +02:00