Closed kueda closed 5 months ago
Need to confirm but this might have been fixed in 4ccf9e750b886b1d97a296925fef51b41e6285a8
Still happens in 0.26.0
Closing because this seems to be fixed via the navigation changes to Explore in https://github.com/inaturalist/iNaturalistReactNative/commit/b284bb2b9ed3199aa7e1be69b3653b8b52568ff2.
Describe the bug New observations load when you return to Explore from ObsDetails, making you lose your place in the list of observations you were reviewing.
To Reproduce Steps to reproduce the behavior:
Expected behavior When you tap an observation on Explore to get to ObsDetails and then tap back to get back to Explore, Explore should be in exactly the state you left it in and the observation you tapped should be in the same position on screen.
Screenshots Tony recorded this: https://photos.app.goo.gl/zuAh1vSDXc38ELqdA
Context (please complete the following information):
Additional context From a user perspective, this is a pretty annoying bug that makes actually using Explore to identify observations very annoying, particularly if the set of observations you're reviewing is changing a lot, e.g. global unknowns.
Technically, this probably has to do with loading new observations every time Explore has focus, which pushes the results around and causes the screen to change, so some thoughts on how I think this should work
page
param to achieve pagination when sorting by faves; when sorting by date added or date observed, each page is can always have different results at different times, so for consistent results we should instead usecreated_d1
andcreated_d2
when sorting by date added, andd1
/d2
when sorting by date observed, e.g. when you want the next page of results, you would look at the created_at value of the last observation and the next "page" of results would use created_d2=that-date.