Commit Graph

500 Commits

Author SHA1 Message Date
Johannes Klein
58bd263c23 Update vision-plugin to prepare for cv model v2.20 (#2732)
* Update vision-camera-plugin-inatvision

* Update Podfile.lock
2025-03-09 17:59:02 +01:00
Amanda Bullington
d764e37f5c Reset zoom when tapping a different photo in media viewer (#2729) 2025-03-07 13:12:35 -08:00
Johannes Klein
626fbfd94f Full screen loading state on match screen (#2717)
* Build UI for loading state between AI->Match

* Make designs for AI loading screen match Figma

* Selective changes from bf872e2d4f

* Selective changes from 9ed81f99c7

* Selective changes from 4bc7c3474f

* Selective changes from 4916cf70fb

* Replace loading state from store with props

* Add some types

* Make component agnostic of what skipping does

* Remove debug info

* Add more debug data

* Elongate loading state if online errors out and offline is still loading in sequence

* Remove underline

This classname had no effect as far as I can tell.

* Hide skip button when it has no function

* Remove a comment that slipped through partial cherry-picking

* Split apart online and offline fetch status

Weird but even though they start in sequence it happened to me that online error was received after offline was fetched successfully. So, Let's split apart online and offline loading state.

---------

Co-authored-by: Amanda Bullington <albullington@gmail.com>
2025-03-07 11:50:49 +01:00
Kirk van Gorkom
2ac737e9ad v0.59.4+146 2025-03-06 22:27:23 -08:00
Amanda Bullington
fd6cd0148d Filter out hidden content from ObsDetails advanced/default activity feeds (#2721)
* Hide comments and ids that are supposed to be hidden on remote/local observations

* Add and fix tests related to hiding content
2025-03-06 15:33:02 -08:00
Kirk van Gorkom
c203b6c8d9 v0.59.3+145 2025-03-06 10:52:37 -08:00
Johannes Klein
6b269192ff v0.59.2+144 2025-03-04 18:08:58 +01:00
Johannes Klein
c1257d610b Update Podfile.lock 2025-03-04 17:58:44 +01:00
Johannes Klein
bd4723c2d2 Bump version 2025-03-04 17:57:45 +01:00
Angie
25d0ac7e22 Removes location picker from match screen, fetches user location and reload suggestions (#2703)
* Removes location picker from match screen, fetches user location and reloads suggestions instead

* fix variable name

* Remove unused prop

* changes requested, changes to fetching place guess, changes to refetch offline

* Close permission gate when permissions denied initially

* change toggle to set in reducer

* add optional chaining to location values

* Add optional chaining for place name

* Closing on initial block optional

The function of closing the permission gate on pressing the initial block button was as far as I can see only scoped to the Match container.

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-03-04 12:22:10 +01:00
Ken-ichi Ueda
21e3287c0e fix: assume all InfoList.xcstrings strings are translated; disable skip_untranslated_strings 2025-03-03 18:33:31 -08:00
Ken-ichi Ueda
10be0c0a38 fix: restore some missing iOS source strings 2025-03-03 17:57:44 -08:00
Kirk van Gorkom
f0e0f7ca3d Revert "Patch confidence calculation crash by handling both score and combined_score"
This reverts commit 4bab4b222d.

Didn't catch an error when trying to change to a new branch, accidentally committed and pushed to main.
2025-02-28 22:16:44 -08:00
Kirk van Gorkom
4bab4b222d Patch confidence calculation crash by handling both score and combined_score 2025-02-28 22:13:58 -08:00
Johannes Klein
12c2e0e8ea Update vision-camera-plugin; breaking changes (#2701)
* Update vc plugin

* Update tests with breaking change: combined_score now 0-100

* Frame processor predictions are in range of 0-100 with new key

* Remove offline convert score to confidence

* Update calculateConfidence.js

* Common ancestor should use combine_score

* Offline suggestions have combined_scores now instead of scores

* Change filtering to range 0-100

* Only use combined_score for Match screen

* Update debug data

* Fic typo in tests

* Remove key from type
2025-02-28 14:21:01 +01:00
Amanda Bullington
a25386169b Fix: scroll to activity item in default mode (#2698)
* Minimize the number of rerenders by splitting sheet logic into separate component

* Fix agree sheet

* Fix y offset for scrolling from notifications to activity item
2025-02-25 19:00:23 -08:00
Johannes Klein
6b50f2db45 v0.59.1+143 2025-02-22 10:55:24 +01:00
Johannes Klein
990eaeff39 v0.59.1 2025-02-22 10:52:15 +01:00
Ken-ichi
b52541fa74 New Crowdin translations by GitHub Action (#2646)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-02-21 21:03:55 +01:00
Johannes Klein
6484fd0c7f v0.59.0+142 2025-02-20 16:19:59 +01:00
Johannes Klein
f90ff4f968 v0.59.0 2025-02-20 16:17:56 +01:00
Johannes Klein
e2ee6170ea Some camera design changes with using geomodel (#2677)
* Do not show double gap for when no zoom button to show

* Add location-off icon

* Basic location button for camera

* Do not show new button in default mode

* In advanced mode using geomodel is opt-in with the button state

* Basic info box layout

* Add opacity

* Update strings.ftl

* Use location if present

* If no location permission given, show permission gate on pressing use location

* Minor restyle for offline text

* Refactor LocationStatus and add animation

* Update snapshot tests
2025-02-20 11:32:47 +01:00
Amanda Bullington
400f118ad9 Change terminology from gallery to photo library (#2663)
* Update user-facing terminology from gallery to photo library

* Update terminology for devs to make the user-facing change easier to remember

* Update snapshots
2025-02-13 17:11:28 -08:00
Johannes Klein
d8c956ba7f v0.58.2+141 2025-02-12 17:45:26 +01:00
Johannes Klein
ce36e75176 v0.58.2 2025-02-12 17:44:14 +01:00
Johannes Klein
9166f26e3a Update to React Native 0.73.11 (#2655)
* Update to RN 0.73.11

* Gemfile changes
2025-02-10 12:38:16 +01:00
Johannes Klein
61c0e95505 v0.58.1+140 2025-02-07 11:39:33 +01:00
Johannes Klein
db21cbd766 v0.58.1 2025-02-07 11:19:00 +01:00
Johannes Klein
837ce6ccb1 Update Podfile.lock 2025-02-06 23:29:41 +01:00
Johannes Klein
f277090d24 Icon font project place reorder 2025-02-06 23:27:49 +01:00
Ken-ichi Ueda
2288830cf5 fix: restore English values to InfoPlist.xcstrings 2025-02-05 13:42:27 -08:00
Johannes Klein
1d599458f0 v0.58.0+139 2025-02-05 16:39:03 +01:00
Johannes Klein
11d262e10e Some signup login flow UI changes (#2645)
* Add title string

* Label for icon button

* Restyle 3rd party sign in section

* Add apple svg icon

* Use apple svg

* Add google icon

* Update strings.ftl

* Partially bold string

* SignUpForm TS

* SignUpConfirmation TS

* Rename signup screens

* SignUpConfirmation TS

* Remove string

* TS fixes

* Button text change

* Remove superfluous margin

* Move two text fields to sign up confirmation

* Revert "Remove superfluous margin"

This reverts commit 6a8fe1e7cf.

* Add TODO

* Remove text under Continue button

* Reorder states

* Close button only on login

* LoginSignupWrapper TS

* SignUp TS

* Remove Learn More screen

* Update text input field label

* Remove email confirmation screen

* Disable button when inputs empty

* Navigate to main after register

* Only show one check box

* Add error component to first signup screen

* Partially italics string

* Remove previous text

* SignUpConfirmationForm TS

* Add a type

* Make exclamation mark appear white

* Example email validation

* Updated Learn More webview title

* Comment out some registration fields from previous checkboxes

* Add comment

* Update Error.tsx

* Set all previously separate checkbox consents to true if the one is checked

* Revert removal of LearnMore screen

* Navigate to Learn More screen

* Update LoginForm.tsx

* Revert "Remove email confirmation screen"

This reverts commit 52c396e411.

* Use pink_flower as background for Learn More screen

* Remove old confirmation screen

* Remove LearnMore demo

* Show translated error text for common errors

* Force dark buttons in signup/login flow screens

* Add text to forgot password page

* Change text input label
2025-02-05 11:36:57 +01:00
Ken-ichi
90bfcaa66b New Crowdin translations by GitHub Action (#2618)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-02-04 10:52:18 -08:00
Ken-ichi Ueda
9d88a6b98f chore: improve context comments for datetime translation strings & fix typo 2025-02-03 14:55:38 -08:00
Johannes Klein
c378c8894d Replace small example models, and add example geomodel (#2644)
* Update env.example

* Update model download script

* Delete geomodel.placeholder

* Update README.md

* Update e2e_ios.yml

* Update vision-plugin

* Accept android flavor for downloading models

* Change Android e2e env

* Replace Android e2e model download step

* Update comment

* Move Java setup step

* Revert "Move Java setup step"

This reverts commit d8ca01a176.
2025-02-03 12:16:22 +01:00
Amanda Bullington
1cabf488e3 Add spacing to observation and taxon photos in Match screen (#2637) 2025-01-27 17:30:27 -08:00
Kirk van Gorkom
9894e25700 v0.57.6+138 2025-01-27 16:38:45 -08:00
Kirk van Gorkom
6e2791f94f Fix dependencies from broken pod install in 7dc29a25c4 2025-01-27 16:30:05 -08:00
Kirk van Gorkom
00b7170338 v0.57.5+137 2025-01-27 16:20:52 -08:00
Kirk van Gorkom
65d391afbe v0.57.4+136 2025-01-24 20:23:35 -08:00
Kirk van Gorkom
7dc29a25c4 Increment minor version number. Update various cocoapods. 2025-01-24 20:14:42 -08:00
Ken-ichi
9429fd0996 fix: prevent iconic taxon common names from disappearing in the local db (#2631)
Ensure useAuthenticatedQuery only executes the query when it knows if the user
is signed in or not, and appends that state to the query key so signed in and
signed out results are distinct.

The problem here was that useIconicTaxa was mysteriously returning stale,
signed out results while offline.

Closes MOB-383
2025-01-22 17:17:26 -08:00
Amanda Bullington
20a4008c1c Crash/bug fixes for Match Screen (#2628)
* Only reset observation slice at the beginning of the flow, not the end of the flow, so screen doesn't rerender and crash

* Pass in an option to skip resetting slice before navigating

* Pass correct taxonId to TaxonDetails screen
2025-01-21 18:03:11 -08:00
Ken-ichi
21a66c8580 fix: make UUIDs more random (#2629)
Replaces react-native-uuid with uuid, which might do a better job making UUIDs random
2025-01-21 15:23:15 -08:00
Johannes Klein
47cf9f815a chore: few minor dev dependency updates (#2626)
* Few minor dependency updates

* Bump detox

* Bump nock

* Bump some eslint plugins

* Bump some types
2025-01-20 21:35:37 +01:00
Johannes Klein
c225ea54b6 chore: minor dependency updates (#2625)
* Minor dependency updates

* Update Podfile.lock

* Update @bam.tech/react-native-image-resizer
2025-01-20 14:23:39 +01:00
Ken-ichi
96c316a257 feat: show all results in Explore projects search (#2621)
* refactor: convert ExploreProjectSearch to TS and assoc'd TS changes
* feat: use infinite scroll in Explore Filters project search
* feat: show universal search results in Explore project search

This should show the same ranked search results a user would see at
https://www.inaturalist.org/search?source[]=projects

Closes MOB-313
2025-01-17 16:31:07 -08:00
Johannes Klein
eda2c6a7c7 v0.57.3+135 2025-01-17 12:07:55 +01:00
Johannes Klein
0d97f69974 Bump version 2025-01-17 12:06:45 +01:00