Commit Graph

4199 Commits

Author SHA1 Message Date
Ken-ichi
59e37c95e0 Remove text re not having suggestions when there is only a top suggestion (#1521) 2024-05-09 17:38:44 -07:00
Amanda Bullington
917f9da7be Clear cached photos for computervision/score_image (#1518)
* Refactor image-resizer into helper function for easy logging

* Create a folder for computerVisionSuggestions

* Display iNat app directories in Debug

* Delete old images from computerVisionSuggestions/ when navigating away from Suggestions

* Fix online suggestions API call

* Fix tests

* Clear computer vision directory when landing on Suggestions screen
2024-05-09 13:32:52 -07:00
Ken-ichi
ab4ac4eb4e Clean up Suggestions navigation state after navigating (#1517)
* Bugfix: TaxonResult false-y check could be string-y, resulting in crash
* Ensure Suggestions nav hook cleans up after itself
* Prevent namespace clobbering between Zustand slices
* Rename the resetStore in the createObservationFlow slice because it doesn't
  reset the whole store
2024-05-08 17:12:56 -07:00
Ken-ichi Ueda
8f0b5f654f Oh yeah tests 2024-05-08 17:11:25 -07:00
Ken-ichi Ueda
82638cb838 Updated release instructions to include beta step (closes ##1482) 2024-05-08 17:01:11 -07:00
Ken-ichi Ueda
8ff3e328b3 Changed single obs uploading status to Uploading 1 observation 2024-05-08 16:58:32 -07:00
Amanda Bullington
e19221ddf0 Reduce app size (fonts and model/taxonomy assets) (#1513)
* Remove material community icons

* Remove unneeded font files from app

* Show app size in Debug on Android

* Update snapshots

* Code cleanup
2024-05-08 09:22:01 -07:00
Johannes Klein
ea6539e35a Vision camera v4.0.3 (#1515)
* Upgrade vision-camera, worklets and plugin

* Update Podfile.lock

* Update runAsync patch

* Update comment

* Update jest.setup.js
2024-05-08 13:48:16 +02:00
Ken-ichi Ueda
03280fb2e0 Minor fixes for count text in user search results & Group Photos title 2024-05-07 18:38:52 -07:00
Johannes Klein
254537f54c Merge branch 'main' of https://github.com/inaturalist/iNaturalistReactNative 2024-05-07 14:08:14 +02:00
budowski
1cc3b7300d Always use latest added photo on suggestions (#1421)
* Close #1309 - suggestions screen - always use latest added photo; AR camera - replace all existing photos
* #1421 - in case of backing out from suggestions screen, back to AI camera, delete previous obs photo

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-05-06 18:04:13 -07:00
Ken-ichi
a7a2e1c10f Show up-to-date metadata for observations immediately after upload (#1497)
This fetches a remote copy of each observation after upload to make sure the
client has the freshest copy of the data immediately.
2024-05-06 17:50:46 -07:00
budowski
8c5369476e Hide keyboard by default on login/signup screens 2024-05-06 16:18:10 -07:00
Amanda Bullington
887e4c74ea Remove extra back button; back returns to ObsList; closes #1489 (#1491) 2024-05-06 11:00:22 -07:00
Johannes Klein
ce98707863 Renamed type 2024-05-06 18:26:31 +02:00
Ken-ichi Ueda
9bd856f636 Bugfix: photos were not appearing on ObsEdit from ObsDetails 2024-05-03 21:35:46 -07:00
Ken-ichi Ueda
77a4d60616 v0.32.1+89 v0.32.1+89 2024-05-03 18:57:56 -07:00
Ken-ichi Ueda
e06b706ac3 v0.32.1 2024-05-03 18:23:35 -07:00
Ken-ichi Ueda
cab4335b5b Fix infinitely rendering FullPageWebViewHeader 2024-05-03 18:21:28 -07:00
Ken-ichi Ueda
891a099c04 Use square URL for obs notification images 2024-05-02 16:04:08 -07:00
Angie
53dd151839 1438 in app browser header UI fixes (#1492)
* In app browser UI fixes

* Add file

* Adjust spacing
2024-05-02 09:59:12 -07:00
Amanda Bullington
cb1440b8b9 Display file names and sizes in Debug menu (#1483)
* Report on app size via logging

* Add app size checks

* Report file sizes in debug log

* Display red for large items in directory; sort by largest first

* Display all file contents and sizes in Debug menu; closes #1182
2024-04-30 17:36:25 -07:00
Angie Ta
70f30e7df2 Show dropshadow only when obsedit multiple observations 2024-04-29 15:45:44 -07:00
Angie Ta
703f659581 Show dropshadow only when obsedit multiple observations 2024-04-29 15:40:59 -07:00
Johannes Klein
0a6c452a25 Upgrade worklets-core (#1479) 2024-04-27 07:56:57 +02:00
Amanda Bullington
d161d20aed Use consistent styling for zoom; don't use variables that tailwind can't parse; closes #1475 (#1480) 2024-04-26 15:15:14 -07:00
Amanda Bullington
89b71ced61 Save all camera photos in a single iNat Next album; closes #1472 (#1478) 2024-04-26 12:47:27 -07:00
Johannes Klein
bb79e9b602 v0.32.0+88 v0.32.0+88 2024-04-26 14:19:49 +02:00
Johannes Klein
d07f8449fc v0.32.0 2024-04-26 14:17:54 +02:00
Johannes Klein
ec80eda380 Add script to run TS typechecking 2024-04-26 13:07:05 +02:00
Amanda Bullington
32c761ec4f Save previous map region; update zustand slice with TS; closes #1273 (#1470) 2024-04-25 17:40:19 -07:00
Amanda Bullington
146e00bb5f Keep previous explore view when changing filters (#1469)
* Keep previous explore view when changing filters; closes #1454

* Fix test; navigating back to Explore will navigate to previous explore view
2024-04-25 15:45:29 -07:00
Amanda Bullington
1484bc7749 Display saved photos after app updates (#1468)
* Correctly access local photos in ObsList/MediaViewer after app updates; closes #1420

* Use displayLargePhoto method in masonry layout

* Map bug fix; snapshot fix
2024-04-25 14:52:52 -07:00
Johannes Klein
5b4dd8d384 Focus types (#1465)
* Add lodash types

* Change functional component types

* Use some more precise prop types

* More precise param type

* Add type to state

* Fix imports

* Use type from gesture-handler library

* Functional components can rely on type inference
2024-04-25 21:20:46 +02:00
Johannes Klein
82beb8c3b5 1434 explore filter project UI (#1466)
* Refactor to TS

* Remove wrong type

* Add shrink to project item

* Add to UiLib with long title
2024-04-25 15:24:32 +02:00
Amanda Bullington
6766c03ab9 Don't show location permission in ObsDetails map (#1464)
* Map refactor; split into smaller components

* Limit map rerenders in ObsDetail; fix map disappear bug
2024-04-24 15:02:51 -07:00
Ken-ichi Ueda
87c753501a Bugfix: DetailsTab crashed w/o obs; layout fix for DQA 2024-04-23 17:45:33 -07:00
Amanda Bullington
53f52e4d9f Allow multiple gestures on same spot in camera (#1463)
* Include tapped or pinched area in gesture handler; closes #1336

* Refactor focus square animation into useFocusTap
2024-04-23 17:21:30 -07:00
Ken-ichi Ueda
8b74264580 Minor padding fix for AddObsModal 2024-04-23 16:31:14 -07:00
Ken-ichi Ueda
eb5766911b Hide login header on iPhone 13 and make signup link visible
Slight modification to the height thresholds controlling the visibility of
these two elements. Note that this may also change the repro conditions
in #1362, but the todos in that issue still stand.
2024-04-23 15:42:27 -07:00
Amanda Bullington
2b1bcd9363 Enable multi-camera (#1461)
* Use multi-cam; closes #1458

* Typescript conversion
2024-04-23 14:26:57 -07:00
Angie
f10b25fecc 1198 photos on taxondetails should be swipable (#1432)
* TaxonDetails carousel

* Fix tests, disable taxondetails accessibility test because of photo carousel

* spacing change

* Fix failing tests
2024-04-23 09:59:13 -07:00
Angie
25d7ca24a8 Added drop shadow on multiple observations card, fix arrow spacing (#1436) 2024-04-23 09:58:29 -07:00
Johannes Klein
05b6309307 Vision camera 4.0.1 (#1437)
* Update camera and plugin packages

* Remove one patch

* Replace deprecated function

* Update runAsync patch

Removing this patch leads to non-functioning frame processors in release builds. Contrary to what the original issue's solution states.
2024-04-23 14:27:27 +02:00
Ken-ichi Ueda
24ac2c1a29 Fix minor spacing issues on Notifications 2024-04-22 18:15:39 -07:00
budowski
44c12e1af9 Adding ID for photo-less obs goes directly to TaxonSearch (#1422)
* Closes #1186 - in case of photo-less observations, adding an ID will go directly to taxon search
2024-04-22 16:38:33 -07:00
Amanda Bullington
802ba76873 Move taxon result under top notch; closes #1354 (#1425) 2024-04-22 12:46:08 -07:00
Johannes Klein
84d506f184 Mock format 2024-04-22 13:36:04 +02:00
Johannes Klein
3f43f6047b Set the exposure to the middle of the min and max exposure 2024-04-22 11:57:43 +02:00
Johannes Klein
dc0b47d9f0 Select a camera format that uses max available photo resolution. 2024-04-22 09:39:08 +02:00