Commit Graph

2521 Commits

Author SHA1 Message Date
Amanda Bullington
f799a2d1c6 Add tracking for Pressable and INatIconButton taps (#2855)
* Add tracking for Button taps

* Use PressableWithTracking and handlePress in INatIconButton to track all pressables with a testID

* Import as UnstyledPressableWithTracking for consistency
2025-04-16 10:48:56 -07:00
Angie
aed352fcc7 multicapture camera photos UI is not accounting for iphone (#2827) (#2851)
* Increase space above in multicapture camera to account for notch and dynamic island

* Adjust heights for dynamic island

* Change to using safeareaview
2025-04-15 14:51:37 -07:00
Kirk van Gorkom
f71340a4c5 v1.0.0+159 v1.0.0+159 2025-04-10 16:34:17 -07:00
Kirk van Gorkom
a096b8def2 v1.0.0+158 2025-04-10 16:32:43 -07:00
Amanda Bullington
8ef51ca0b7 Release version 1.0.0 (#2853)
* Accept versioning merge conflict

* Resolve merge conflict with package-lock version number
2025-04-10 16:29:45 -07:00
Kirk van Gorkom
9d38fa3307 Cherry pick final launch translations into release branch (#2842) (#2852)
Closes MOB-620
2025-04-10 16:14:54 -07:00
Amanda Bullington
823aece9ce Add error context to crash reporting (#2843)
* Pass errorContext to INatApiTooManyRequestsError

* Fixes for errorContext reporting with test cases

* Use JSON stringify

* Stop showing [object Object] in Grafana
2025-04-10 12:03:08 -07:00
Kirk van Gorkom
7bc3c51de9 Merge pull request #2849 from inaturalist/mob-622-rename-inat-next-to-inaturalist (#2850)
Rename iNat Next to iNaturalist

Closes MOB-622
Fixes MOB-672
2025-04-10 09:44:17 -07:00
Amanda Bullington
c15f8dcad0 Fix: onboarding carousel without screen jumpiness (#2825) (#2845)
* Don't check for prev crashes or sentinel files on a fresh install

* Make sure we're not accidentally creating a new legacy store on every install

* Revert

* Add splash screen, preload images, show onboarding as react nav modal

* Fix e2e tests
2025-04-09 17:31:41 -07:00
Amanda Bullington
6fbafb44d0 Populate taxon in AICamera -> ObsEdit with AICamera suggestion (#2832) (#2839)
* Populate taxon in AICamera -> ObsEdit with AICamera suggestion

* Make sure we're only displaying predictions we already showed on AICamera

* Make suggested changes from PR review

* Add more types
2025-04-09 17:30:55 -07:00
Johannes Klein
4b27dc1ec3 call iNat /signout endpoint when signing out (or before signing in) (#2809) (#2847)
* MOB-589 - call iNat /signout endpoint when signing out (or before signing in)

* Fixes related to the tests

Co-authored-by: budowski <budowski@gmail.com>
2025-04-09 14:43:24 -07:00
Johannes Klein
acb1a72f4a MOB-665 - group photos - add white background to import observations button (#2834) (#2846)
Co-authored-by: budowski <budowski@gmail.com>
2025-04-09 23:38:33 +02:00
Amanda Bullington
5b89404038 Change copy for Match header & omit check for already seen species (#2837) (#2840) 2025-04-09 09:56:56 -07:00
Amanda Bullington
4de9af878c Change text on Match loading screen (#2838) (#2841) 2025-04-09 09:56:41 -07:00
Kirk van Gorkom
7f885179e5 v0.59.14+157 v0.59.14+157 2025-04-04 18:08:49 -07:00
Kirk van Gorkom
a6ecf91e07 Bump version to 0.59.14 2025-04-04 18:07:48 -07:00
Kirk van Gorkom
7d125044a2 Merge pull request #2806 from inaturalist/mob-568-camera-location-fetching-should-happen-when-photo-taken-not-1
Fetch accurate camera location when shutter button / checkmark pressed
2025-04-04 18:06:27 -07:00
Amanda Bullington
b7bc075f22 Fix: Add a step to rebuild *native* modules after restoring node cache (#2831)
* Add a step to rebuild *native* modules after restoring node cache

* Fix comment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix comment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix comment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-04 12:20:29 -07:00
Amanda Bullington
641e58cd3c Fix: revert upload code (#2829)
* Split up attach and upload functions & only mark one recorded

* Revert uploadObservation code to early March
2025-04-04 10:30:37 -07:00
Kirk van Gorkom
0c43e10a73 v0.59.13+156 v0.59.13+156 2025-04-03 15:43:25 -07:00
Kirk van Gorkom
4580b35eb2 Bump version to 0.59.13 2025-04-03 15:39:11 -07:00
Kirk van Gorkom
2b87d67bb3 Merge pull request #2828 from inaturalist/mob-671-change-advanced-toggle-label-to-say-advanced-mode
Change label next to the toggle for advanced mode
2025-04-03 15:36:49 -07:00
Amanda Bullington
cfb365a02f Use existing MMKV instance to check for fresh install (#2824)
* Don't check for prev crashes or sentinel files on a fresh install

* Make sure we're not accidentally creating a new legacy store on every install

* Revert
2025-04-03 15:34:10 -07:00
Kirk van Gorkom
79be7c2c7d Change label next to the toggle for advanced mode
Closes MOB-671

Temporary. Context notes in the tracking issue.
2025-04-03 14:00:23 -07:00
Amanda Bullington
ee5498e75a Code cleanup 2025-04-03 13:28:17 -07:00
Amanda Bullington
48fda88c0a Fix e2e tests 2025-04-03 13:24:09 -07:00
Amanda Bullington
9a0c9aa005 Restore location permissions code for geomodel; use fetchAccurate instead of watchPosition 2025-04-03 13:04:21 -07:00
Amanda Bullington
9fdb3d662b Changes requested; add location permission prompt back into AICamera for geomodel 2025-04-03 11:09:47 -07:00
Ken-ichi
603d137588 New Crowdin translations by GitHub Action (#2826)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-03 08:07:42 -07:00
Amanda Bullington
84cb088949 Fix: limit API calls in AICamera to avoid delay in advancing navigation (#2820)
* Limit iconic taxa and fetchTaxa API calls

* Add timeout to geocoder

* Revert useTaxonSearch
2025-04-03 08:07:07 -07:00
Ken-ichi
82e776f7d3 New Crowdin translations by GitHub Action (#2823)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-02 06:41:28 -07:00
Amanda Bullington
e22ab43196 Fix: Prevent photos with no photo_id from attempting upload (#2822)
* Prevent photos with no photo id from attempting upload

* Add same case to sounds
2025-04-02 06:41:04 -07:00
Ken-ichi
f8d86eea1c New Crowdin Translations (#2819)
* New Crowdin translations by GitHub Action

* test: handle multiple matches for localized text in Settings test

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-01 13:00:34 -07:00
Kirk van Gorkom
8e3e7878d9 Update default language app store metadata (#2821) 2025-04-01 10:13:57 -07:00
Ken-ichi
8e2a81d562 fix: improve accessibility labels & hints (#2818) 2025-04-01 08:39:42 -07:00
Amanda Bullington
ef36c49778 Limit 1 library photo from AICamera only (#2816) 2025-04-01 08:34:43 -07:00
Amanda Bullington
cead506766 Always show TaxonResult checkmark in Suggestions (#2817)
* Never hide Suggestions checkmarks

* Remove unused hideCheckmark boolean
2025-04-01 08:34:30 -07:00
Johannes Klein
e5a14ad887 Fix: id text on every item (#2799)
* Add context comment

* Fix when own ID text is shown

Only show explainer text if we are on the user's obs, if it is an ID of this user and the user has in total less than 10 obs (handled in HOC)
2025-03-31 19:04:14 -07:00
Amanda Bullington
5e1d7bb62f Update fetchCoarseUserLocation to also use e2e-friendly wrapper 2025-03-31 14:18:58 -07:00
Amanda Bullington
24bcc301a7 Fix e2e tests with getCurrentPosition wrapper 2025-03-31 14:03:54 -07:00
Amanda Bullington
787410876f Update AICamera icon (#2815) 2025-03-31 13:55:04 -07:00
Amanda Bullington
e5aa89815a Merge branch 'main' into mob-568-camera-location-fetching-should-happen-when-photo-taken-not-1 2025-03-31 13:14:01 -07:00
Johannes Klein
2d5fa62494 Update settings text (#2813) 2025-03-31 21:07:34 +02:00
Johannes Klein
73b7c3282b Navigate based on setting in both cameras (#2814)
* Navigate based on setting in both cameras

* Update SuggestionsWithUnsyncedObs.test.js

* Update Suggestions.test.js

* Update AICamera.test.js
2025-03-31 11:59:55 -07:00
Ken-ichi
21f3abd89b New Crowdin translations by GitHub Action (#2789)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-03-31 11:45:16 -07:00
Angie
d633799ffe Mob 596 sharing one image at a time in default mode shows outdated (#2804)
* Update query key in Match and Suggestions for sharing into app

* Remove  console logs
2025-03-31 11:44:05 -07:00
Johannes Klein
6cf0919a25 Disable fetching offline suggestions for successful but empty online results (#2810)
As discussed on the linked linear issue, we want to trust online results more than offline results. So, if the online API call was successful but resulted in zero suggestions (currently, this can happen for example if human is part of the low-confidence suggestions that are filtered out before returning).
2025-03-31 11:33:21 -07:00
Johannes Klein
dfcef0b6a8 Spread suggestion's taxon into new function return (#2808)
This is necessary because the representative_photo returned by the image similarity search from API is fleeting only (e.g. from useOnlineSuggestions -> useSuggestions -> suggestions.topSuggestion).
The key is not saved to realm with the taxon because it only is relevant to the current photo scored on the API.
Therefore when overriding the taxon info with offline data we need to keep it.
2025-03-31 11:02:23 -07:00
Amanda Bullington
915a2dd40f Fixes for e2e tests? 2025-03-31 10:48:21 -07:00
Angie
548288c283 Change explore icon to magnifying glass (#2807)
* Replace change explore icon to magnifying glass

* Update snapshot
2025-03-27 18:15:34 -07:00