inaturalist / iNaturalistReactNative

Cross-platform version of the iNat mobile app
MIT License
65 stars 22 forks source link

Taxon suggested that is not expected nearby #2150

Open albullington opened 2 weeks ago

albullington commented 2 weeks ago

Describe the bug Per this forum post, we're showing different suggestion results than in the legacy iNaturalist app. This happens when a user has given location permissions and has taken a photo with location metadata.

To Reproduce Steps to reproduce the behavior:

  1. Follow the repro steps in the forum.

Expected behavior A user should only see nearby taxon in Suggestions when they give location permissions and are using their location for the Suggestions online API request. For this particular photograph, they should see the same results as in the legacy iOS app:

Screenshots Screenshot 2024-09-23 at 1 48 26 PM

bug-screenshot

Context (please complete the following information):

abhasinat commented 1 week ago

Adding on to this issue:

When there is a scenario that the API returns only one taxon, and in the legacy app, it would populate both the common ancestor and top id suggestion sections, then in iNat next, we should show that taxon result only under "top id suggestion" and hide the "other suggestions" section altogether.

Here's the design for what that would look like : image