ux(map): tablet split layout — photos beside the map, stable MapView across mode switches #1189
Loading…
Reference in a new issue
No description provided.
Delete branch "ux/map-tablet-split-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n- Root cause of the tablet 'map jumps/covers things when showing photos': the Fotos toggle moved MapPane between different composition slots, disposing and recreating the osmdroid MapView (gray flash, world zoom, camera refit) on every switch.\n- New single MapSplitBody layout: MapPane always composed in one stable slot; mode switch is pure relayout. >= 600dp windows show photos side-by-side (map ~61.8% width, sidebar ~38.2% — same golden ratio as the web map); < 600dp keeps the stacked split. Chip row is a fixed-height Column sibling and can never be covered.\n- SidebarGrid now sizes its thumbnail cells by actual pane width instead of screen width (memory + sharpness on side-by-side tablets).\n- No ViewModel changes, no string changes; phone behavior unchanged.\n\n## Testing\n-
rtk ./gradlew :app:compileDebugKotlingreen\n-rtk ./gradlew :app:testDebugUnitTestgreen (MapViewModelTest 31/31, MapCameraFitTest 10/10, MarkerThumbnailsTest 21/21)