Commit Graph

4199 Commits

Author SHA1 Message Date
Amanda Bullington
2d6a6376ec Generate strings for match header based on rank and confidence (#2608) 2025-01-09 20:03:34 -08:00
Amanda Bullington
40a375dd9f Create text style Subheading2 and apply in Match screen (#2605)
* Add Subheading2 component and apply to Match screen

* Add snapshot test for Subheading2

* Add snapshot
2025-01-09 17:10:26 -08:00
Ken-ichi
486f1f6dff fix: change No Location to Add Location on match screen (#2606)
Closes MOB-365
2025-01-09 15:58:37 -08:00
Amanda Bullington
5496cdf732 Add location picker / gate to Match screen (#2604)
* Show location permissions gate / location picker in Match screen

* Show correct place_guess on Match screen
2025-01-09 12:22:49 -08:00
Johannes Klein
f84d09648d chore: rename look up location (#2603)
Renames a function call and fixes a NullPointerException on Android
2025-01-09 16:43:54 +01:00
Amanda Bullington
94002f0f59 Update button text based on ranking (#2602) 2025-01-08 18:12:10 -08:00
Amanda Bullington
d209b5838d Memoize trigger for logging user location fetch started to avoid infinite renders / location fetching issues (#2601) 2025-01-08 15:38:14 -08:00
Amanda Bullington
4652929056 UI for Match Screen after AICamera (#2598)
* Save TaxonPhoto to realm; display taxon on match screen

* Code tweaks

* Add match screen to navigation after AI camera in debug/default mode

* Fix test and refactor

* Fix issue with infinite renders in useLayoutPrefs
2025-01-08 14:28:16 -08:00
Ken-ichi Ueda
0e8732f329 fix: describe how sentinal files work in the README; use correct list intendation 2025-01-08 14:21:45 -08:00
Amanda Bullington
dadc73aa8d Add sentinel file definition to README 2025-01-08 13:52:15 -08:00
Amanda Bullington
5f4404c48a Add description of sentinel files in README (#2600) 2025-01-08 13:37:54 -08:00
Ken-ichi
7ec14e9e78 fix: fill ObsEdit BottomBar with Save button when logged out (#2597)
* chore: TypeScript and style fixes
* fix: fill ObsEdit BottomBar with Save button when logged out
2025-01-08 11:00:07 -08:00
Johannes Klein
feec5567a3 feat: update vision-camera-plugin-inatvision to a version that fully supports the geomodel (#2584)
* Update vision-plugin

* useOfflineSuggestion TS

* Use location for prediction from file

* Remove log

* Use plugin function to lookup location and elevation based on h3 cells

* taxonomyRollupCutoff is now done in the plugin on basis of the tops score for a frame

* Fix wrong commit reference. Now references main branch

* Fix has location check to account for 0.0 locations

* Only prop in lat and long

* Add explanation

* Fix: Import vision-plugin function from wrapper file

* Add jest mock for new plugin function
2025-01-08 16:15:36 +01:00
joergmlpts
f68d3cc252 fix: stop resetting map zoom level on every pinch in Android and more (#2594)
* stop resetting map zoom level on every pinch in Android;  state for the region needed to be introduced and updated after each gesture (closes #2529)
* zoom to current location when current location button and current location is not currently in the viewable map area; a callback needed to be called explicitly after animateToRegion() (closes #2555)
* zoom and pan the map when a place search result is chosen in Android; a state for the region needed to be introduced and a callback needed to be called explicitly after animateToRegion() (closes #2593)
2025-01-07 12:04:17 -08:00
Johannes Klein
b8464d0a9b Remove log statement (#2588) 2025-01-07 10:36:30 -08:00
Ken-ichi Ueda
f1d9607bf2 fix: make context label more descriptive 2025-01-03 15:47:59 -05:00
Ken-ichi Ueda
454e361b48 test: find elements with localized text in LanguageSetting test
Hard-coding text values is especially brittle when testing localized
interfaces, where text values might change with every new set of
translations.
2025-01-03 13:41:50 -05:00
Ken-ichi
c12270739b New Crowdin translations by GitHub Action (#2550)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-01-01 21:47:29 -05:00
Ken-ichi Ueda
a73f54bb38 test: fix test that won't pass for the first 40 days of the year 2025-01-01 17:50:51 -05:00
Amanda Bullington
1c59f89a14 Add functionality for advanced iNaturalist mode (#2591)
* Add functionality for advanced iNaturalist mode

* Fix language settings test by toggling advanced mode on

* Fix e2e tests by adding advanced user toggle

* Fix more tests in Settings with advanced toggle
2024-12-26 21:35:27 -08:00
Ken-ichi
31ce8994d9 feat: add interface mode preference to Settings (#2583)
* feat: add interface mode preference to Settings

* Refactor existing layout preferences so they are all persisted
* Made a new namespace within the layout slice so that all values there will
  get persisted without having to add stuff to the persistence code AND we
  avoid namespace collisions
* Wrapped layout slice getters and setters in a hook to provide descriptive
  names without modifying the underlying values

* Remove duplicate testID that was causing e2e to fail

---------

Co-authored-by: Amanda Bullington <albullington@gmail.com>
2024-12-26 15:11:09 -08:00
Ken-ichi
768bea744c refactor: mark Github releases as pre-releases w/ Fastlane (#2574) 2024-12-19 12:41:40 -05:00
Ken-ichi
ebba764906 feat: sign in with Google (#2579)
Closes #2515
2024-12-19 12:24:16 -05:00
Amanda Bullington
1d340eb558 Feat: redesigned ObsDetails screen in debug mode (#2580)
* Create ObsDetailsDefaultMode and rearrange items on top of screen

* Move activity, details, and more into three different sections instead of tabs

* Styling cleanup; change Activity name to Community

* Fix scroll to activity item from Notifications

* Add ObsDetailsDefaultMode unit tests

* Show kebab menu on other users' observations
2024-12-18 19:24:24 -08:00
Angie
ce7e91e209 fix side by side button text is cut off in different languages and large font sizes (#2571)
* fixes issues where side by side button text is cut off in different languages and large font sizes.
Refactor to use ButtonBar in all places with side by side buttons. Truncates header in ObsEdit when language text exeeds space to not push kebab menu off screen. Closes #2500.

* update snapshots

* clean up BottomButtons.tsx
2024-12-18 10:56:00 -08:00
Amanda Bullington
5a2de653c8 Add logging for unsuccessful AICamera flows (#2537)
* Add sentinel file creation, logging, and deletion logic to AICamera

* Log to server and delete sentinel files after logged; fix location fetch logging

* Use logger.error, not logger.debug, to log to grafana
2024-12-18 07:03:35 -08:00
budowski
f89736188c feat: use physical volume buttons to capture photo (#2495)
* Fix #2212 - use physical volume buttons to capture photo

* Fixed tests (mocking VolumeManager)

* Fixed tests (mocking VolumeManager)

* #2212 - physical volume buttons for camera capture - also in AI camera

* #2212 - additional fixes for AI camera

* Update pods

* Update pods

---------

Co-authored-by: Amanda Bullington <albullington@gmail.com>
2024-12-17 16:40:26 -08:00
budowski
2162f55ac3 Fix #2323 - view taxon observations from explore screen by tapping on taxon (#2554)
* Fix #2323 - view taxon observations from explore screen by tapping on taxon

* Updated test snapshots
2024-12-17 16:30:11 -08:00
budowski
741ee90735 Fix #2498 - black space appearing while loading taxon details (#2553) 2024-12-17 16:24:27 -08:00
israr002
185e2a234c fix: focus on last photo in MediaViewer after removing others (#2433)
Closes #1078
2024-12-17 17:12:59 -05:00
Yaron Budowski
b8ca839080 Revert "Fix #2323 - view taxon observations from explore screen by tapping on taxon"
This reverts commit 03feee9bf3.
2024-12-15 03:01:17 +09:00
Yaron Budowski
c235b6b39d Revert "Revert "fix: don't show error when user cancels Sign in with Apple""
This reverts commit 3eb0f54f7d.
2024-12-15 03:00:10 +09:00
Yaron Budowski
3eb0f54f7d Revert "fix: don't show error when user cancels Sign in with Apple"
This reverts commit 7dd5693c17.
2024-12-15 02:59:27 +09:00
Yaron Budowski
03feee9bf3 Fix #2323 - view taxon observations from explore screen by tapping on taxon 2024-12-15 02:45:19 +09:00
Ken-ichi Ueda
7dd5693c17 fix: don't show error when user cancels Sign in with Apple 2024-12-13 09:12:52 -08:00
Ken-ichi Ueda
537a19aea3 chore: update fastlane to 2.226.0 2024-12-12 16:32:54 -08:00
Angie
58e892f445 show wild status by default when wildcaptive bottom sheet is open and no value is assigned (#2547) 2024-12-12 16:20:25 -08:00
Ken-ichi Ueda
ad6909c95c v0.57.0+132 v0.57.0+132 2024-12-12 12:41:50 -08:00
Ken-ichi Ueda
04e7ca6f05 v0.57.0 2024-12-12 12:39:08 -08:00
Ken-ichi
fe800aba8e New Crowdin translations by GitHub Action (#2526)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-12-12 11:27:36 -08:00
Ken-ichi Ueda
2dc578650c fix: edit typo in 3rd party sign in error message 2024-12-12 10:39:07 -08:00
Amanda Bullington
d9e735bf05 Remove refetching loading wheel on ObsDetails (#2546) 2024-12-11 18:09:21 -08:00
dependabot[bot]
eb20e4726e chore(deps): bump nanoid from 3.3.7 to 3.3.8 (#2538)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-11 17:25:53 -08:00
Ken-ichi
15f36386fd feat: sign in with Apple (#2543)
* Support Sign in with Apple on iOS, w/o design
* Typescript conversions
* Add authenticateUserByAssertion that should be usable w/ Google OAuth-based auth

Closes #583
2024-12-11 17:25:23 -08:00
Ken-ichi
e3bf7969ed feat: remove interaction from AI camera suggestion (#2524)
Closes #2456
2024-12-11 16:12:10 -08:00
Amanda Bullington
1f486beef1 Fix margins for project list item with default briefcase icon (#2545) 2024-12-11 13:52:44 -08:00
Amanda Bullington
05fccea045 Reset state correctly in reset and cancel functions (#2544) 2024-12-11 13:19:36 -08:00
Amanda Bullington
9c1345abd7 Reset MyObs scroll position when creating new observation in ObsEdit (#2542) 2024-12-10 17:38:00 -08:00
Amanda Bullington
2c65d2fa3f Fix styling for OfflineNotice in ObsDetails photos (#2541) 2024-12-10 13:01:53 -08:00
Amanda Bullington
03884dc3c0 Use standard back button on Suggestions/TaxonSearch (#2540) 2024-12-10 12:32:37 -08:00