Commit Graph

10 Commits

Author SHA1 Message Date
Ken-ichi
ae2f9eeddc Fix missing map tiles when taxon chosen on Explore (#1722)
* IconicTaxonChooser no longer takes a taxon or manages its own state
* Setting iconic taxon filter to Unknown is now its own action
* Unsetting a taxon can be done with the CHOOSE_TAXON action by setting taxon
  to null or undefined
* Omitted some extraneous params from tile requests
2024-06-28 10:13:51 -07:00
Amanda Bullington
7e6323831d Separate store for RootExplore (#1710)
* Create root explore slice; preserves root explore state when user backs out of nav

* Fix tests
2024-06-25 13:22:18 -07:00
Angie
048dea9377 1431 cant filter explore for observations w no taxon (#1701)
* Filter by no taxon explore filters

* remove comment

* remove console logs
2024-06-21 00:59:09 -07:00
Ken-ichi
4f46cf5dfd Explore nearby and map area (#1655)
* Bugfix: map area search was broken after Nearby filter set
* Made EXPLORE_ACTION.SET_MAP_BOUNDARIES remove lat, lng, and radius
  attributes so we don't end up applying both kinds of geographic filters at
  the same time
* Renamed setExploreLocation to defaultExploreLocation because it doesn't set
  anything
* Added a unit test fot the Explore reducer
* Bugfix: zoom Explore to nearby after granting permission
2024-06-05 17:10:49 -07:00
Amanda Bullington
829fa70f34 Make explore view sticky; default to species view (#1647)
* Remove tab bar when sharing photos into app; closes #1645

* Make explore view sticky with species as default view; closes #1614

* Fix Explore integration test; use default species view
2024-06-04 15:07:15 -07:00
Angie
8c40d23570 1065 explore filters full screen experience should be a modal (#1562)
* Make Modal for ExploreFilters

* Show bottomsheets in modal

* TaxonSearch now a modal in explore fliters

* taxon search modal now clickable from explore page header

* more explore search modals. WIP nearby and worldwide buttons

* Adding explore user, location and project search modal files

* Nearby and worldwide buttons explore location modal

* Fix undefined place in useMapLocation

* Fix undefined place
2024-05-20 10:24:43 -07:00
Amanda Bullington
146e00bb5f Keep previous explore view when changing filters (#1469)
* Keep previous explore view when changing filters; closes #1454

* Fix test; navigating back to Explore will navigate to previous explore view
2024-04-25 15:45:29 -07:00
Amanda Bullington
0af617cdd1 Reset taxon/place when resetting explore filters (#1400)
* Allow reset button in Explore filters to reset taxon/place

* Update map when resetting place; closes #1236
2024-04-15 20:32:11 -07:00
Amanda Bullington
065ca6cd71 Store Explore query state (#1322)
* Use stored state in zustand; update navigation packages

* Split up slices; fix back button label in iOS

* Create hook for navigation params'

* Add param to ignore stored state in Explore

* Use saved state params in Explore when navigating from Explore search screens

* Downgrade datetimepicker

* Fix maximum update exceeded error

* Save test fix for later
2024-03-28 15:57:28 -07:00
Amanda Bullington
b284bb2b9e Explore filters and navigation entry points (#1306)
* Add test for UserProfile species button from MyObs screen

* Finish initial tests for navigating to Explore from MyObs

* Check API calls are made with correct params

* Use RootExplore screen in CustomTabBar and write test for navigating cyclical Explore -> TaxonDetails

* Add navigation check for UserProfile from root explore screen

* Simplify RootExplore screen; show nearby data for species view

* Mock location permissions for Explore navigation tests

* Update snapshot

* Merge from main

* Fix tests for Explore navigation
2024-03-26 16:59:59 -07:00