Commit Graph

2514 Commits

Author SHA1 Message Date
Kirk van Gorkom
2a929e0c54 v0.59.15+158 v0.59.15+158 2025-04-07 22:44:40 -07:00
Kirk van Gorkom
e470d9f389 Bump version to 0.59.15 2025-04-07 22:42:50 -07:00
Angie
92b4b4ce81 multicapture camera photos UI is not accounting for iphone (#2827)
* Increase space above in multicapture camera to account for notch and dynamic island

* Adjust heights for dynamic island

* Change to using safeareaview
2025-04-07 14:20:34 -07:00
Ken-ichi
8928b4f592 New Crowdin translations by GitHub Action (#2830)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-07 13:59:00 -07:00
budowski
3688fda97a call iNat /signout endpoint when signing out (or before signing in) (#2809)
* MOB-589 - call iNat /signout endpoint when signing out (or before signing in)

* Fixes related to the tests
2025-04-07 13:44:42 -07:00
Amanda Bullington
45cb760ae0 Populate taxon in AICamera -> ObsEdit with AICamera suggestion (#2832)
* 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-07 20:34:54 +02:00
budowski
b1719261c2 MOB-665 - group photos - add white background to import observations button (#2834) 2025-04-07 11:59:22 +02: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
Amanda Bullington
0c033a6f6b Change mocks from useWatchPosition to fetchAccurateUserLocation 2025-03-27 14:32:29 -07:00
Amanda Bullington
213dc19dd0 Fetch location when observation processed; fetch separate location for geomodel without watch 2025-03-27 13:25:09 -07:00
Johannes Klein
2437b02966 v0.59.12+155 v0.59.12+155 2025-03-27 17:55:42 +01:00
Johannes Klein
ce7d398d10 v0.59.12 2025-03-27 17:54:53 +01:00
Amanda Bullington
d782538109 Advanced settings UI updates (#2797)
* Open more options on long press

* Add tests for long press

* Rearranging Settings screen with new layout

* Add toggle for advanced settings in layout slice; fix default mode toggle

* Update settings with navigation flows

* Fix tests

* Change power mode switch for e2e test

* Fix settings test for green button toggle

* Fix advanced user toggle in e2e test (which hides pivot cards)

* Changes based on design convo; test fixes

* Fix e2e tests

* Follow user flow chart and update nav accordingly

* Rename function

* Fix test

* Can be null so check for false only

* Little less spacing between radio button rows

* Minor UI updates

* Remove check for previous setting in UI

* This is no longer used anywhere

* Update AICamera.test.js

* Update AICamera.test.js

* Update AICamera.test.js

* Update Suggestions.test.js

* Update Settings.test.js

* Update LanguageSettings.test.js

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-03-27 17:36:36 +01:00
Amanda Bullington
b957416abe Update text and UI of all pivot cards (#2803)
* Update first observation pivot card

* Update second pivot card

* Change TenObservationCard description

* Update account creation pivot card

* More updates

* Fix tests
2025-03-26 11:42:14 -07:00
Johannes Klein
a6b8a50425 Show a simple unviewed-activity-indicator for default obs list (#2801) 2025-03-26 09:05:02 +01:00