mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
31061751b0
Sorting inside searchPhotos and loadAlbumPhotos looks equivalent and is not. contextLocation is live editor state. The place search and "use my location" write it while the picker stays mounted, and the picker key is only provider plus date, so nothing remounts it. Open an entry with no location, let the photos load, then search for Rome: the caption flips to nearest-first and the grid does not move. The appending search made it worse than that. It sorted only the page it had just fetched before appending, so from page two on the grid was a sequence of sorted blocks rather than a sorted list, and a photo from page two landed under a day heading page one had already closed. FE-JRN-PICKER-021 pins it and is red without the memo. The video badge also gets z-10 and pointer-events-none. It shares a stacking context with the city gradient that follows it, so the later sibling was winning on the geotagged tiles; pointer-events-none is what the eight existing video overlays in the journey code all set.