Closed kueda closed 2 months ago
The problem is that ExploreTaxonSearch is in a modal, and thus does not allow navigation. We can close the modal and then push TaxonDetails onto the stack, but then you can't go back to your search results.
I don't really think ExploreTaxonSearch should be a modal, especially if it needs to support navigation away from it. I think the real desire here is for ExploreTaxonSearch to exist as normal screen in the stack navigator, just without the bottom tabs. We don't have a good way of doing that, just a few bad ways, like the contortions we do to support the add obs flow, which leaves the current stack entirely. I spent most of today trying a new bad way to hide the bottom tabs that seems slightly less-bad than leaving the stack, but it unravels a lot of the ways Explore is designed to work at present.
So IMO, options here are
I need @abhasinat to make a call here.
Ok, after discussing this w/ Abhas we're going with this:
When the user taps the info button, close the modal, and navigate to TaxonDetails. Avoids modal on modal limitations, punts on the harder work of making this screen not a modal at all.
Describe the bug When you search for a taxon on Explore and tap the info button next to a result, nothing happens other than the status bar disappears. You should go to TaxonDetails
To Reproduce Steps to reproduce the behavior:
Expected behavior When you tap the "i" button, TaxonDetails should appear showing the taxon you wanted info about.
Context (please complete the following information):
Additional context Probably has something to do with the modal.