Commit Graph

4199 Commits

Author SHA1 Message Date
Johannes Klein
9d92eac03f Adapt Match screen layout depending on number of taxon photos to display (#2675) 2025-02-19 18:39:14 +01:00
Johannes Klein
f396e887cc Change taxon details header to be Heading3 (#2674) 2025-02-19 16:24:05 +01:00
Johannes Klein
08910a13bf Include taxon photo similarity parameter when making online vision api requests for the match screen (#2673)
* Include search for representative photos

* Request representative photo as a taxon field

* Show representative photo if given for alternative suggestions

* Add comment

* Use representative photo of top suggestion in photos section
2025-02-19 15:28:02 +01:00
Johannes Klein
24e5c9c3ee Add margin for "Add location" button on bottom of match screen 2025-02-19 15:14:14 +01:00
Johannes Klein
ff6a5d690a Add pivot cards and onboarding cards (#2667)
This adds pivot cards to the app.
The cards are shown only once per app install lifetime, as their state being shown is persisted in the zustand store.
The basic idea is, if the triggerCondition of the modal turns true it is shown, if dismissed it is never shown again.
2025-02-19 14:51:37 +01:00
Johannes Klein
0c38a89682 Add id cache to e2e iOS node modules cache action (#2668)
* Add id cache to node modules cache action

* Revert recent changes in e2e node modules caching
2025-02-19 09:40:02 +01:00
Amanda Bullington
0b6acec913 Feat: track default vs. advanced mode in grafana (#2670)
* Add default/advanced mode to feedback text field, since /log endpoint doesn't support what we would need for additional grafana columns
2025-02-18 17:10:50 -08:00
Amanda Bullington
7064d0651f Feat: sync button rotates in default mode (#2669)
* Port over code to rotate the sync button when uploads are happening or sync is tapped
2025-02-18 16:25:07 -08:00
Ken-ichi Ueda
7910fd05bc fix: restore Crowdin sync for InfoPlist.xcstrings
Solution was disabling en as a target language for this file on Crowdin...
even though this file specifies that en is the source locale.
2025-02-18 10:52:17 -08:00
Johannes Klein
6e00774357 Change initial app state to advanced mode (for now) (#2666) 2025-02-15 10:52:18 +01:00
Johannes Klein
574627fb6d During signup check first if an email is taken or not (#2665) 2025-02-14 11:49:37 +01:00
Amanda Bullington
5cf1d16999 Remove DefaultMode from debug mode (#2662)
* Remove default mode from debug mode

* Make sure tests with advanced options are fully out of default mode

* Add two simple tests to make sure correct screens show in default mode

* Show logged out empty observation screen before loading either MyObs screen

* Fix tests

* Fix tests

* Update e2e ios node module caching

* Update caching for node modules

* Modify cache node modules setup for CI

* Revert e2e signIn code
2025-02-13 20:30:50 -08: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
budowski
285612ed31 MOB-399 - make default mode opt-in for users (#2652) 2025-02-13 11:39:12 -08:00
Johannes Klein
85d13da374 Skip ObsDetails screen when saving or discarding from taxon details in match flow 2025-02-13 15:25:36 +01:00
Johannes Klein
d8c956ba7f v0.58.2+141 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
f704aa00eb Few minor match screen UI updates (#2661)
* On top suggestion change scroll top top

* Change top Divider to use a card look instead

* Show photo count in case of multiple photos
2025-02-12 16:54:43 +01:00
Johannes Klein
63eb78cafc User icon navigates to user profile 2025-02-11 23:40:22 +01:00
Johannes Klein
0c5255ba95 Do not show sync button for logged out user 2025-02-11 23:39:15 +01:00
Johannes Klein
551ca97d28 Fix crash with timezone; show alternative text (#2660) 2025-02-11 13:24:59 +01:00
Johannes Klein
259277c63f Also switch back advanced mode to default (#2659) 2025-02-11 11:07:57 +01:00
Johannes Klein
c612759cbe Remove text for non-new species (#2658)
* Do not show labels for non-new species or organisms

* Show activity indicator while top suggestion loading
2025-02-11 09:36:29 +01:00
Johannes Klein
72f9c095de Match observation has no taxon field, use topSuggestion taxon directly for map tiles (#2657) 2025-02-11 09:36:11 +01:00
dependabot[bot]
57b46ad467 chore(deps): bump rexml from 3.2.5 to 3.3.9 (#2656)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.5 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.5...v3.3.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 14:59:12 +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 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
budowski
6cbfcc5be7 Fix #2572 - New design for MyObservations - default mode, logged out,… (#2650)
* Fix #2572 - New design for MyObservations - default mode, logged out, no observations

* Fixed tests

* Update close onboarding part of e2e tests

* Update sign-in for e2e

* Update loadTranslations.js

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-02-07 10:09:54 +01:00
Angie
1b49df2822 Adds mediaviewer when obs photo tapped on match screen (#2654)
Closes MOB-406
2025-02-07 10:01:57 +01:00
Angie
7272d8b666 fix obsdetails calling viewed_updates api when signed out (#2648) 2025-02-07 08:34:17 +01:00
Johannes Klein
bf1eeaca03 Show text for no top suggestion 2025-02-07 08:18:15 +01:00
Johannes Klein
4a5aa7d3ae Few match screen updates (#2653)
Sets camera values to defaults, exactly like Seek works.
Loading indicator while other suggestions are being fetched.
Fix a bug with lingering state of previous score_image request.
Refactor top suggestion to a state.
2025-02-07 07:58:15 +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
Johannes Klein
768001a9c3 fix: common ancestor suggestions do have a score field and show wrong confidence 2025-02-06 23:26:10 +01:00
Johannes Klein
ef53290eb6 fix: wrong spacing of other suggestions left side 2025-02-06 15:14:13 +01:00
Johannes Klein
63bb66c8ce fix: confidence off by factor 100 for offline results (#2651)
Offline meaning results coming from the vision-plugin, i.e. prediction from file and frame processor.
2025-02-06 14:03:55 +01:00
Johannes Klein
5b8fbf048b Show Learn more button only when online and suggestions scroll all width (#2649)
* Show Learn more button only when online

* Additional suggestions should scroll all screen width
2025-02-06 12:27:59 +01:00
Johannes Klein
aaf4336a9a Few minor UI changes on default mode's ObsDetail screen (#2647)
* Remove FaveButton

* Remove ObsStatus

* Change community string

* Remove status text

* Add text to activity item

* Boolean prop to show this text

* Completely unrelated crash fix for suggestions on obs without photot

* Remove UUID

* Status section

* Update strings

* Move ID to Details

* Show ID explainer only conditionally

* Status section spacing

* Update ActivityItem.test.js
2025-02-06 10:08:19 +01:00
Ken-ichi Ueda
a4a2f3d16c fix: stop syncing translations for InfoPlist.xcstrings
There's a problem with Crowdin CLI or our config that results in the source
text getting removed from this file after sync, so we're just omitting it for
now.
2025-02-05 13:56:47 -08: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 v0.58.0+139 2025-02-05 16:39:03 +01:00
Johannes Klein
740e05320f Bump version 2025-02-05 16:37:19 +01:00
Johannes Klein
7fdb8509b9 Update clean-start script 2025-02-05 16:36:26 +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
Johannes Klein
e821f7794f Remove console.logs 2025-02-05 11:04:53 +01:00
budowski
13c53d3bfe Fix #2573 - don't show location indicator if observation has no coordinates (#2627) 2025-02-04 15:27:55 -08: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