* Add 0 check to infinite explore query
Otherwise, it never stops showing loading state because 0 is falsey.
* More precise null check for loading indicator
* Added font files for Book and Semibold, Added MediumText component.
* Update snaopshots for font changes
* Body1 and Body3 changed to Whitney Medium, changes to italic fonts weights on ObsListItem, seperate component for ScientificName
* Only emit progress on finished upload
* Set one initial progress increment on upload start
* Comments
* Send only half step increment on evidence upload
Because this function gets called twice per evidence.
* Update comment
* Also calculate sounds as increments towards progress bar
* Wrong order
* Only emit progress on finished upload
* Set one initial progress increment on upload start
* Comments
* Send only half step increment on evidence upload
Because this function gets called twice per evidence.
* Update comment
* Also calculate sounds as increments towards progress bar
* Wrong order
* Remove the initial progress being set as totalProgressIncrement
* Show an initial toolbar progress even if no progress made yet
* Fix for completion of no media obs upload
* Add comment
* ObsImage should not show an iconic taxon icon behind a translucent photo
* ObsImage w/o a photo should fade out the iconic taxon for an obs that needs
upload
* Fixed type-related crash in useTaxon
* Fixed overflowing taxon name in obs list and obs detail
* Made react-native-logs post to API log endpoint
* Try to build a slightly more informative user agent
* Made react-native-logs post to API log endpoint
* Try to build a slightly more informative user agent
* Remove unused const
* Replace other usages of exported user agent
* Revert "Remove unused const"
This reverts commit 02389c8390.
* Revert removal of axios instance
* Strange order
* Remove device name from user agent
* Copy logstash transporter to new file and change to post
* Update import
* Remove comma
* Get the user jwt token as authorization for the log request
* Use anonymous token as app token
* Mock away logs config file because it now has a dependency on authentication
* Code style
* Typo
* Add timestamp field to form data, to show client_timestamp on the logs
* Add TODO
* Add a developer button to force a js-side error
* Add comments
---------
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
* Only requests remote taxon if local is missing or hasn't been synced in a
week
* Returns a localized version of the remote taxon immediately without waiting
to get a newly-created record from realm
* Expands tests to use a unique realm, integrate more of our code, and check
to ensure the API gets called
* Show indicator while loading taxon on ARCamera
* Show iconic taxon found in model results if we can't load a remote taxon
* Show iconic taxon as backdrop for ObsImage whenever possible
* Create useInfiniteExploreScroll and use this to fetch count
* Fetch less data from fields in Explore observations
* Show header count when count is loaded
* Added loading wheel for slow fetching of header counts in Explore
* Wait to fetch until at least 10s after deletion finished
* Bottom sheet warning and immediate departure when landing on ObsDetails for
an obs that was deleted
* Use latest vision-plugin from feature branch
* Change model helper to TS
* Update prediction from image to the new return structure
* Rename variable
* Change ARCamera to new return structure
* Update all test that make use of predictions
* Update to use plugins main branch
Replaces account settings with a small set of settings and a web view to show settings on the website.
Also
* Minor taxon detail fixes
* Display taxon name on observations according to the current user's
preferences, not the observers
Closes#927
---------
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
* Small rename
* Add strings for modal
* Restyle explore view modal
* Add possibility to override button text
* Fix wrong structure
* Sort strings
* Only use button text prop if given
* Remove translated string