Commit Graph

4199 Commits

Author SHA1 Message Date
Amanda Bullington
4942664432 Replace IconButton with INatIconButton (#749)
* Replace IconButton with INatIconButton

* Fix tests
2023-08-28 13:01:48 -07:00
Amanda Bullington
e26db07cf4 Make INatIconButton throw when no accessibilityLabel and fix errors (#748) 2023-08-25 08:46:32 -07:00
Amanda Bullington
8114015c70 Upload on ObsEdit takes user to MyObservations (#747)
* Upload now drops user on ObsList; fixes for upload status & toolbar

* Fix for showing ObsUploadStatus UI
2023-08-24 15:12:50 -07:00
Ken-ichi Ueda
ce92daeb0a Added iNat friends group to iOS internal build lane 2023-08-24 12:59:43 -07:00
Amanda Bullington
bc350c77b9 Nested navigators (#741)
* Move login and camera screens into stack navigators

* Navigation fixes

* Create ObservationsStackNavigator

* Move drawer items into drawer nav

* Navigator fixes and improvements

* Nav improvements

* Fix navigation from ObsEdit

* Fix test

* Fix test

* Redo bottom tab nav with Explore as part of ObservationsStack

* Use ObsEdit and AddID in two stacks

* Move identify into ObservationsStack and fix headers

* Fix ObsEdit bottom button issue by using fixed positioning for tab bar

That required a few other changes to places where we were explicitly
compensating for the height of the tab bar. Also fixed some other minor
layout issues.

* Typo

* Add LocationPicker to ObservationsStackNavigator

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2023-08-23 22:07:07 -07:00
Amanda Bullington
3231747e9f ObsEdit uses prediction from AR Camera (#746)
* Add prediction to ObsEdit when nav from ARCamera

* Take photo from checkmark
2023-08-23 20:45:18 -07:00
Amanda Bullington
1142d00563 Update activity list when on non current user ObsDetail screen (#742)
* Fix agree/suggest/comment refetch for ObsDetails, non current-users

* Fix test
2023-08-22 17:43:16 -07:00
Ken-ichi Ueda
8f0376ff89 v0.10.0+53 v0.10.0+53 2023-08-21 17:20:25 -07:00
Ken-ichi Ueda
bd4e6b077d v0.10.0 2023-08-21 17:19:03 -07:00
Amanda Bullington
0d203dfce0 Update activity list with suggested IDs (#740)
* Pass non-serialized values to AddID; handle id creation before nav; closes #721

* Fix tests
2023-08-17 19:27:49 -07:00
Amanda Bullington
5bfa7940e1 Refactor ObsDetails and show ID after agree button pressed (#738) 2023-08-16 16:09:46 -07:00
Ken-ichi Ueda
a17f8e026d Use default styling for view type buttons on Explore 2023-08-15 16:03:44 -07:00
Amanda Bullington
dceccaece4 Add tests to DisplayTaxon; closes #726 (#735) 2023-08-14 17:04:01 -07:00
Amanda Bullington
2853855206 Bug fixes for Explore on Android (#734)
* Bug fixes for Explore on Android

* Button fixes

* Platform specific button code
2023-08-14 10:29:30 -07:00
Amanda Bullington
85f11fdf69 Add IconicTaxonChooser to ObsEdit (#733) 2023-08-10 18:01:24 -07:00
Ken-ichi Ueda
532467e9a4 Switch to linking model files in a scheme pre-action
This allows an iOS build even if the model links don't exist yet, which was
causing a problem with our previous build phase script approach. Thanks
to @jtklein for figuring this out. For more about scheme pre-actions, see

https://developer.apple.com/documentation/xcode/customizing-the-build-schemes-for-a-project/
2023-08-10 10:47:30 -07:00
Ken-ichi Ueda
1fe3ab53c0 v0.9.1+52 v0.9.1+52 2023-08-09 18:23:50 -07:00
Ken-ichi Ueda
b0bbebdc6f v0.9.1 2023-08-09 18:22:53 -07:00
Ken-ichi Ueda
45ed4c2cf2 Updated to Fastlane 2.214.0 2023-08-09 18:22:15 -07:00
Ken-ichi Ueda
203d22baf9 Bugfix: forgot cvModel helper doesn't have the unique file names 2023-08-09 18:20:31 -07:00
Ken-ichi Ueda
f76a3b9946 v0.9.0+51 v0.9.0+51 2023-08-09 18:10:08 -07:00
Ken-ichi Ueda
f950ee9b62 v0.9.0 2023-08-09 18:06:05 -07:00
Ken-ichi Ueda
8b0c7a4f55 Minor pre-release updates
* Updated the README to be more explicit about how to make an internal test
  release
* Added ML model and taxonomy file names to the About screen
* Changed the dirModel and dirTaxonomy exports from cvModel to be modelPath
  and taxonomyPath since they point to files, not directories
2023-08-09 17:54:06 -07:00
Amanda Bullington
5b913ad1a7 Create IconicTaxonChooser, add to UI library, and write tests (#732) 2023-08-09 10:04:21 -07:00
Amanda Bullington
20d8308e5f Explore UI (#731)
* Start building explore screen

* Header for Explore screen

* Fix button build

* Move ObsFlashList to shared components for use in Explore

* Fix background transparency on SegmentedButtons

* Use reusable components for map and ObservationLocation

* Use search observations API to show results in explore views

* Add infinite scroll hook to species, observers, and identifiers views

* Update snapshots and create ExploreFlashList for consistent header animation

* Float segmented buttons above observation lists in explore

* Use queryparams for API calls; add loading state to each view
2023-08-08 12:29:17 -07:00
Ken-ichi Ueda
5f55285ee4 Try to make sure dummy model files are available before trying to build 2023-08-07 09:49:25 -07:00
Johannes Klein
2e8665047c Cv model 2.4 (#729)
* Use env var for cv model version

* Reorder code

* Specify tensorflow version to use
2023-08-07 16:44:58 +02:00
Johannes Klein
f30a622720 Use latest vision-plugin 2023-08-04 14:23:01 +02:00
Johannes Klein
96f1ca3036 Always run linking script 2023-08-04 11:54:38 +02:00
Ken-ichi Ueda
2518d3702f Updated hermes (again) 2023-08-03 21:33:39 -07:00
Ken-ichi Ueda
393bf767cf Link iOS CV model files in a build phase
iOS bundle files *must* be referenced in the xcode projects, which means that
updating the filenames in .env is not enough, you also have to add them to
the xcode project. This attempts to simplify this by assuming the named files
in the xcode project remain the same, but they are actually hard links to the
files specified in .env.
2023-08-03 21:24:16 -07:00
Angie
4b349906b0 Merge pull request #728 from inaturalist/580-on-smaller-screen-sizes-the-lowest-part-of-obscreate-is-not-reachable
580 on smaller screen sizes the lowest part of obscreate is not reachable
2023-08-03 18:53:13 -07:00
Angie Ta
082bd4661b Merge branch 'main' into 580-on-smaller-screen-sizes-the-lowest-part-of-obscreate-is-not-reachable 2023-08-02 19:00:24 -07:00
Angie Ta
c41b9547c5 Added padding to offset bottom buttons 2023-08-02 17:39:48 -07:00
Johannes Klein
4548ca93e5 Add default options to capture high quality photos 2023-08-02 14:15:07 +02:00
Johannes Klein
2494774ad5 Use latest vision-plugin 2023-08-02 13:39:23 +02:00
Johannes Klein
67a8552562 Upgrade vision plugin, breaking changes 2023-08-02 12:45:11 +02:00
Johannes Klein
548528ecc1 Replace vision camera with different fork
This fixes some orientation issues on iPhones
2023-08-02 12:44:32 +02:00
Johannes Klein
f78af257fc Upgrade RN patch version 2023-08-02 12:16:53 +02:00
Ken-ichi Ueda
6b8304b7e0 v0.8.1+50 v0.8.1+50 2023-07-31 17:27:28 -07:00
Ken-ichi Ueda
a6202bc08f v0.8.1 2023-07-31 17:26:33 -07:00
Ken-ichi Ueda
3fa9bf38bc Several fixes for ARCamera build
* updated vision-camera-plugin-inatvision and adjusted iOS code to fit
* added generic model and taxonomy names to project.pbxproj... because
  apparently you need to have files in there to access them from within the
  app; I hope there's a better way to do this but for now symlinks work
* fixed a bug with DisplayTaxonName when taxon has no rank
2023-07-31 17:24:00 -07:00
Ken-ichi Ueda
f7267d3a37 v0.8.0 2023-07-31 13:33:28 -07:00
Ken-ichi Ueda
af2a5fbcb8 Replace current loc button w/ loading; make lower right interactive 2023-07-31 13:19:32 -07:00
budowski
4db5498e6e #710 - current location fetching timeout; fix crash when reaching location picker before current location was fetched in observation viewer (#727) 2023-07-31 12:22:42 -07:00
Ken-ichi
7ae95519ea Iconic taxa icons (#723)
* Added iconic taxa icons; cleaned up some other icon files
* Updated snapshots
* Renamed ban icon to match fontawesome convention we use on the web
2023-07-28 10:22:34 -07:00
Angie
9b284b45be Merge pull request #717 from inaturalist/obs-detail
Obs detail: DetailsTab, ActivityItem, DQA tests. ID Withdrawn styling, Agree with Id
2023-07-26 18:08:39 -07:00
Angie Ta
be331bb14a Add icon to new id 2023-07-26 17:12:24 -07:00
Angie Ta
f561497340 Cleanup 2023-07-26 16:30:15 -07:00
Angie Ta
c803836ad8 Merge branch 'main' into obs-detail 2023-07-26 16:03:14 -07:00