Open mcomella opened 7 years ago
Current state:
didUpdateLocation
multiple times on startup (giving finer locations each time, I believe), forcing the places list to be sorted.
displayedPlaces
but don't update placeKeyMap
, which is [place.id: displayedPlacesIndex]
. This means the current app could have unexpected behavior as the indices don't align.
I think there are three options:
I have the code written for 3, but I'm concerned about unexpected edge cases and it'll take some more time to test (which takes a while, given I have to walk around).
After speaking with Maria, she mentioned I should focus on #558, then focus on this bug. As such, I'll land the bug fix and then maybe get to testing this.
I landed the intermediate fix (untested IRL) and am working on the big fix in https://github.com/mcomella/prox/tree/i627-sort (note: I think it only needs to be tested IRL).
I'm not going to land this now – alternatively, we should consider deliberately designing this experience rather than landing hacky fixes.
I think this is a mistake from a UX perspective.
Maybe be hard b/c of async nature of travel times.