Commit Graph

273 Commits

Author SHA1 Message Date
Amanda Bullington
bc4d0bc661 Package upgrades (#1361)
* Upgrade more packages and include new localize mock

* Update patch for vision camera
2024-04-05 15:59:35 -07:00
Amanda Bullington
408f746701 More package updates (#1360)
* Package updates, including migration to v5 for react-query

* Fix string

* Fix test: ensure markViewed only called once

* Comment out tests
2024-04-05 14:49:42 -07:00
Amanda Bullington
63484b1330 Package updates (#1357)
* Package updates

* Add mocks and update snapshot
2024-04-04 20:57:09 -07:00
Amanda Bullington
d51d13ed55 v0.29.1+82 2024-04-04 15:11:25 -07:00
Amanda Bullington
837e5fad8f Update jwt library (#1349)
* Run npm audit to fix vulnerabilities

* Fix jwt security vulnerability

* Remove jwt-io mock

* Mock jwt library

* Substring sanitization
2024-04-03 22:30:07 -07:00
Amanda Bullington
87d507c385 Upgrade Jest & other dev packages (#1348)
* Fix jest upgrade test failures

* Upgrade more dev packages

* Update engine in package.json
2024-04-02 20:25:51 -07:00
Angie
370e923fb8 1311 hide project requirements button in collection projects (#1341)
* Hide project requiremennt section in projects

* Hide project requirements section, styling
2024-04-02 18:21:20 -07:00
Amanda Bullington
0e71fb5062 Patch draggable-flatlist with fix for reanimated 3 (#1346)
* Temporarily comment out Android in Fastfile build lane

* Fix: make draggable flatlist work with reanimated 3

* Add lib and commonjs library patch
2024-04-02 15:54:16 -07:00
Amanda Bullington
bb21ce5662 v0.29.0+81 2024-03-29 11:39:22 -07:00
Johannes Klein
486ba4f30f Upgrade React Native to 0.72 (#1337) 2024-03-29 17:52:37 +01:00
Amanda Bullington
c21d28ac8e Package upgrades for minor version bumps (#1334)
* Upgrade packages and fix deprecation warning in bottom sheets

* Upgrade packages with minor version updates
2024-03-28 17:37:21 -07:00
Amanda Bullington
065ca6cd71 Store Explore query state (#1322)
* Use stored state in zustand; update navigation packages

* Split up slices; fix back button label in iOS

* Create hook for navigation params'

* Add param to ignore stored state in Explore

* Use saved state params in Explore when navigating from Explore search screens

* Downgrade datetimepicker

* Fix maximum update exceeded error

* Save test fix for later
2024-03-28 15:57:28 -07:00
Angie
48db4580d0 Fix notifications indicator not going away after viewed obs (#1333) 2024-03-28 15:06:53 -07:00
Amanda Bullington
4988f93ea7 Downgrade: new patch version causes build failure in Xcode 15 (#1332) 2024-03-28 14:19:36 -07:00
Amanda Bullington
55308a8be4 Upgrade packages with patch version bumps (#1331) 2024-03-28 13:17:19 -07:00
Amanda Bullington
39515c59a1 Update packages related to dependabot (#1329) 2024-03-28 12:52:00 -07:00
Angie
f37f92795b 1221 explore screen icons (#1308)
* Identifiers and Observers icons

* Add icons to explore bottomsheet
2024-03-27 16:21:56 -07:00
Johannes Klein
0e0a6560ac Vision camera v3 (#1121)
* Bump vision-camera

* Refactor patch

* Move patched orientation into patch functions file

* Update react-native-vision-camera+3.4.1.patch

* Switch to MacOS 13 runner

Vision camera requires XCode 15 to compile.

* Add step to specify XCode 15

* Higher level of logging

* Increase test timeout

* Add comment

* Remove navigation to obs without evidence for signed out user

* Patch for location permission not working on iOS

* Increase setup timeout

* Increase some more timeouts

* Revert back to less logging in CI

* Does it have to do with timeouts?

* Trace log level

* Update README.md

* Disable Homebrew’s auto update and install cleanup

* Setup ruby step

* Install pods only if not cached

* Revert "Install pods only if not cached"

This reverts commit 42a2ea02f9.

* Run simulator in headless mode, record all logs

* Increase timeouts again

* Revert "Remove navigation to obs without evidence for signed out user"

This reverts commit 2b4718f5ce.

* Add boolean to run use effect only once

* Did merge wrong code

* There is one more permission gate when entering obs edit now

* Add permission gate dismissal to signed out user test

* Add comment, rename state

* Lower action timeout

* Update react-native-vision-camera to 3.6, update Reanimated to v3 (#838)

* Bump camera and plugin

* Upgrade Reanimated and libs using it

* Update vision-camera mock

* Remove superfluous patch

* Fix type

* Add mocks for e2e tests because bottom sheet does not work on AOSP

* Update package-lock.json

* Update vision camera

* Bump vision camera

* Update vision camera patch version

* Remove superfluous patch

* Update vision camera

* Update vision-camera and plugin

* Use latest vision plugin = rebased v3

* Run npm clean-start

* No longer needed

* Duplicate prop

* Switch back to v3 code

* Upgrading Detox fixes issue with iOS tests failing

Because of previous lack of permissions.

* Update to latest detox version

* Npm i force

* Vision 3 e2e testing, (#1126)

* Remove jest detox config

* Revert e2e timeout increase

* Revert jest config timeout

* Use macos 14 runner which has XCode 15 per default

* Use latest bottom sheet

* Revert "Use latest bottom sheet"

This reverts commit c66cd09838.

* Adding comma back in

* Remove spaces

* Use latest vision-camera and plugin

* Use release version of vision-camera

* Remove force flag

* Update react-native-worklets-core

* Upgrade reanimated

* Update babel.config to allow nested worklets

* Run frame processor async

* Remove enableGpuBuffers flag

* Remove no longer needed comment

* Update comments about version

* Update vision-camera and plugin

* Code format

* Rename param

* Use latest-plugin

* Remove fps param from camera view

* Change confidenceThreshold to number

* API change for results structure

* Refactor fps to be checked inside hook

As of vision-camera 3.9.1 our camera feed is stuttering when calling the runAtTargetFps function inside the useFrameProcessor hook.
So, what I did here is to track the time and skip the frames that are received before the target fps is reached.

* Remove updates of non-camera related

* Update comment

* Code format

* Snapshot updates

* Revert changes to ios e2e

* Add a log for the average time it takes a frame to be processed

* Use release version of plugin

* Add a patch for runAsync to work in release builds

* Update react-native-worklets-core to 0.4.0

* Use latest plugin version

* Add a shift method to worklet arrays

* Use latest vision-plugin

This makes use of .shift() in worklet array and depends on the previous patch.

* Set result timestamp and show age of result in debug mode

* Fix an error with timestamp being undefined

* Remove log

* Use latest vision plugin

* Change result timestamp to pink

* Comment

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-03-27 00:47:43 +01:00
Ken-ichi Ueda
000e8662dd v0.28.0+80 2024-03-21 16:28:24 -07:00
Ken-ichi Ueda
e4b1e1bcf0 Fix size of NumberBadge 2024-03-21 14:43:44 -07:00
Angie
822909b002 1279 user profile UI changes for mvp (#1295)
* Follow Button changes

* Change non pressable count icons to gray, removed onPress, hide post mvp sections of userprofile

* createRelationships api call, follow/unfollow functionality

* Unfollow and follow button functionality, refactoring
2024-03-21 09:56:27 -07:00
Ken-ichi
f510a46011 iOS splash screen w/ image (#1292) 2024-03-20 17:16:59 -07:00
Ken-ichi Ueda
14a234788d v0.27.0+79 2024-03-18 14:09:40 -07:00
Ken-ichi Ueda
eabbbbddcc Remove alpha channel from all iOS app icon files, which apparently the App Store requires 2024-03-18 14:08:22 -07:00
Ken-ichi Ueda
2d51e6a2cf v0.27.0+78 2024-03-18 13:46:34 -07:00
Ken-ichi Ueda
ca2448ace9 v0.27.0+77 2024-03-18 13:46:13 -07:00
Ken-ichi
a9348f1ed1 New iOS icons (#1284) 2024-03-17 14:40:36 -07:00
Johannes Klein
4e9ee4c429 v0.27.0+76 2024-03-16 14:28:16 +01:00
Ken-ichi Ueda
33a5ab2f39 Trivial Wikipedia URL for all taxa 2024-03-14 17:13:47 -07:00
Amanda Bullington
d79306ffee Cache user icon to resolve flicker (#1255)
* Use FastImage to load & cache user icon
* Fetch user icon before leaving login screen
2024-03-14 15:49:41 -07:00
Angie Ta
9588c577aa Removed old font files and replaced with updated 2024-03-13 14:38:10 -07:00
Ken-ichi Ueda
1ec54994ae Extra logging and messaging when upload fails due to network problem 2024-03-11 14:53:25 -07:00
Angie
66cefdaf6b 1209 font styling fixes (#1269)
* Added font files for Book and Semibold, Added MediumText component.

* Update snaopshots for font changes

* Body1 and Body3 changed to Whitney Medium, changes to italic fonts weights on ObsListItem, seperate component for ScientificName
2024-03-10 19:50:09 -07:00
Angie
248e51e011 1209 font styling fixes (#1257)
* Added font files for Book and Semibold, Added MediumText component.

* Update snapshots for font changes
2024-03-08 10:31:26 -08:00
Ken-ichi Ueda
841233ef4c v0.26.0+75 2024-03-07 15:22:45 -08:00
Ken-ichi Ueda
7a924b8fdd v0.25.0+74 2024-03-01 18:03:03 -08:00
Ken-ichi
0bffcbdf24 Add ARDebugButton for controlling parts of the AR camera (#1243)
---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2024-03-01 15:21:27 -08:00
Johannes Klein
c5c03c33bc Update vision plugin (#1242) 2024-03-01 22:27:26 +01:00
Johannes Klein
e4d7e337e7 Consolidate vision returns (#1239)
* Use latest vision-plugin from feature branch

* Change model helper to TS

* Update prediction from image to the new return structure

* Rename variable

* Change ARCamera to new return structure

* Update all test that make use of predictions

* Update to use plugins main branch
2024-03-01 00:23:52 +01:00
budowski
02d8f16883 account settings webview
Replaces account settings with a small set of settings and a web view to show settings on the website.

Also

* Minor taxon detail fixes
* Display taxon name on observations according to the current user's
  preferences, not the observers

Closes #927

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-02-28 19:34:57 -08:00
Johannes Klein
eb853f2d7f Multi frame smoothing repair (#1235)
* Upgrade plugin

* Add frame processor fps target of 1

* Use the plugin's main branch
2024-02-28 16:36:20 +01:00
budowski
a338349dc5 Change app name to iNat Beta
Closes #1046

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-02-27 21:41:54 -08:00
Ken-ichi Ueda
f97d413930 v0.24.0+73 2024-02-26 13:02:25 -08:00
Johannes Klein
4877c1a369 Add Support screen (#1171)
* Update strings.ftl

* Add drawer item for Support

* Update strings.ftl

* Change key

* UI for Support screen

* Link out to websites on button presses

* Restyle screen header

* Eslint settings to get rid of an error

* Use react-native-store-review to ask for review

* Not needed use of .tsx in import

* Remove comments
2024-02-25 22:33:04 +01:00
Ken-ichi Ueda
c5b2335926 v0.23.0+72 2024-02-23 21:33:44 -08:00
Ken-ichi
4ccf9e750b Explore fixes (#1169)
* Separate zoom to user loc from nearby; fix Android map crash; disable map pitch and rotate
* Ensure Explore shows nearby observations after permission granted
* Ensure Explore shows nearby observations even when defaulting to grid/list
  view
* Don't default the map to showing verifiable obs (this isn't the map's
  responsibility, sometimes we want to map casual obs)
* Remove extraneous current location button on map (closes #941)
* Bugfix: Explore user filter didn't let you choose a user
* Remove place params for bounding box searches and vice versa
* Prevent Explore list and map from re-rendering every time you come back to Explore
* Fixed Explore header count overflow style
* Bugfix: Explore filters weren't 100% width on iPad
* More layout fixes; fixed bug w/ UserProfile when zero idents
2024-02-23 19:55:25 -08:00
Ken-ichi
f45108036f Sound recording (#1164)
* Added basic navigation test for StandardCamera & SoundRecorder
* Abstracted camera nav buttons and used in SoundRecorder
* Show sounds in the MediaViewer
* Added sounds to ObsEdit, w/ MediaViewer support
* Ensure sounds get both uploaded and added to observations
* Local sound deletion
* Remote sound deletion
* Rudimentary and deeply unperformative sound visualization

Closes #869
2024-02-22 22:02:25 -08:00
Johannes Klein
ef8497b582 My creation (#1159)
* Move identify screen to DeveloperStack

* Remove Identify link from drawer

* Activity animation using all of flexbox

* Adding a list of observations to Identify and show animation on loading

* Remark is not needed

* Refactor import

* Update Podfile.lock

* Refactor iconic taxon to be inside Confetti component

* Remove some comments

* This View is not really required I think

* Change comment
2024-02-20 14:32:28 +01:00
Amanda Bullington
eb7f9d28e4 Add navigation links to explore views (#1146)
* Add navigation links to species, observer, identifier view items

* Add tests to check for navigation; closes #1054
2024-02-13 16:52:11 -08:00
Ken-ichi Ueda
ccd0f8ed97 Changed toolbar upload rotating icon rotation direction to be clockwise 2024-02-12 14:29:21 -08:00