Files
iNaturalistReactNative/.pre-commit-config.yaml
Amanda Bullington 846b73a861 Search screen + test coverage (#26)
* Create Explore screen

* Add input field component

* Add input fields

* UI for list view in Explore; dropdown taxa picker

* UI for list view in Explore; dropdown taxa picker

* ObservationViews component is shared between Explore and My Observations

* Get tests passing with Explore + ObservationViews

* Add map view, iOS location permission whenInUse, and geolocation fetch

* Add RN permissions and geolocation to jest mocks

* Explore filters, testing, explore provider/navigation stack

* Crash fix for grid items with no observation photos

* Code cleanup; move fetch search results to shared folder

* Code cleanup; remove duplicate files

* Use shared hooks for search

* Remove more duplication

* Display search results, similar to on web

* Show a list of search results for users/taxa and allow toggling

* Consolidate pickers into a single component

* Move copyRealmSchema into Observation model

* Move copyRealmSchema into Observation model

* Move observation photo logic to Obs model

* Obs details fetches an observation from API instead of from realm/exploreList

* Rename hooks files with 'use' instead of 'fetch'

* Add user to observation schema

* Change realm keys from camelcase to snakecase with mapping

* Simplify model code

* Fix tests for ObsDetails

* Attempt to clean up ObsList code; move useObservations hook into provider

* Simplify copyRealmSchema code

* Code cleanup

* Add test coverage for Search

* Add testing for users search

* Add gitguardian pre-commit hook

* Update ggshield

* Testing ggshield

* Add .env back to gitignore
2022-01-07 12:25:27 -08:00

7 lines
164 B
YAML

repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.10.7
hooks:
- id: ggshield
language_version: python3
stages: [commit]