Commit Graph

1241 Commits

Author SHA1 Message Date
Johannes Klein
aff8959ca2 Remove mock of deleted component 2024-02-27 09:56:51 +01:00
Johannes Klein
5ef49a0d71 Rename Support to Donate 2024-02-27 09:54:04 +01:00
Johannes Klein
0e7127f33a Show bottom sheet on Signup screen for more info (#1179)
* Add strings

* Refactor text sheet to use array of texts for paragraphs

* Show text sheets in sign-up page

* Sort strings into all other

* Do show close button in text sheet

* Remove curly braces

* Rename function

* Link out to the relevant links on the homepage (for now)
2024-02-27 09:02:37 +01:00
Johannes Klein
0d93c906fb Max width for bottom sheet if screen is >500 (#1180)
No matter the screen size, the bottom sheets should max out at a width of 500px and be bottom aligned and centered on the screen.
2024-02-27 09:00:41 +01:00
Ken-ichi Ueda
9977199a8c Replace UserDescription with UserText 2024-02-26 22:25:41 -08:00
Ken-ichi Ueda
2f12c71874 Right padding for ActivityItem content 2024-02-26 22:10:01 -08:00
Ken-ichi Ueda
cf6b965164 Some padding for ident ActivityIndicator on ObsDetails 2024-02-26 18:26:02 -08:00
Ken-ichi Ueda
b88de5809c Unique queries for each taxon in TaxonResult
Ensure TaxonResult actually makes new queries for every new taxon when
fetching remote data for the local db. Should make the ARCamera show photos
and common names more often.
2024-02-26 16:52:30 -08:00
Ken-ichi Ueda
f97d413930 v0.24.0+73 v0.24.0+73 2024-02-26 13:02:25 -08:00
Ken-ichi Ueda
172338e05d v0.24.0 2024-02-26 12:34:11 -08:00
Ken-ichi Ueda
c16158238e Removed some of the diagnostic UI (will replace w/ debug mode) 2024-02-26 12:33:09 -08:00
Ken-ichi Ueda
6cce319e9a Link to help.inat from Help, remove broken support email functionality 2024-02-26 12:09:32 -08:00
Johannes Klein
e4c86a6de7 Add About screen (#1178) 2024-02-26 16:43:50 +01:00
Johannes Klein
46e918fe6e Remove alias that is an actual icon as well 2024-02-26 15:32:10 +01:00
Johannes Klein
3baf9866a8 Show reviewed by section only when logged in (#1176) 2024-02-26 14:31:38 +01:00
Johannes Klein
95f71a80a1 Add Help screen (#1177)
* Add drawer link to Help screen

* Add strings

* Add UI for Help page

* Reorder strings

* Sort strings into place

* Add todos
2024-02-26 13:46:26 +01: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
61754f1eb1 Several Android fixes
* Added diagnostic button on Explore to show query params
* Bugfix: Explore was not updating the map boundaries after zooming to nearby
  on Android
* Bugfix: Explore map tiles were not updating when UrlTile's URL updated
2024-02-24 22:00:46 -08:00
Ken-ichi Ueda
8dd2c94b69 Bugfix: layout glitches in Explore obs on device rotation 2024-02-24 19:34:48 -08:00
Ken-ichi Ueda
c5b2335926 v0.23.0+72 v0.23.0+72 2024-02-23 21:33:44 -08:00
Ken-ichi Ueda
f39cea462c v0.23.0 2024-02-23 21:33:03 -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
budowski
26701312de Try to fill out missing metadata using all photos in an obs
* when importing photos, try to fill out EXIF data (location+date) from all photos, by order
* handle cases of adding photos to existing unsynced obs

Closes #1093
2024-02-23 18:34:30 -08:00
Johannes Klein
7bd5f32fd7 Changes to Sync button (#1166)
* Add string

* Add a state that signifies syncing in progress

* Rename state as it no longer only pertains to uploading

* Set flag on button press

* Fix bug with wrong number of obs to upload shown

* Update MyObservations.test.js

* Add 1 to param for human readability

* Update MyObservations.perf-test.js

* Update ToolbarContainer.test.js

* Reintroduce number of finished uploads

* Update comment

* Use animation for gallery loading screen
2024-02-23 16:39:47 +01:00
Johannes Klein
433de3ba76 Some changes in Highest and Lowest Rank filter modals (#1161)
* Add strings

* Replace header texts

* Add "None" option

* Inset all bottom sheets using SafeAreaView

* Create a PickerSheet

* Use picker sheet for lrank and hrank

* Flip order of lowest and highest rank

* Add NONE string

* Replace uppercase strings
2024-02-23 14:28:55 +01:00
budowski
884fab6dee Skip positional_accuracy check check for new observations with imported photos
Closes #1000

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-02-22 22:33:05 -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
020fa3801b Observations view bar and explore icon button style changes (#1163) 2024-02-22 19:34:15 +01:00
Johannes Klein
74479d7d7f Navigate to Media viewer from suggestions (#1162)
* Add method to get innerPhotos array

* Rename component

* Get list pf photos in suggestions

* Add Media viewer modal

* Rename prop

* Update MediaViewer.test.js

* Update test IDs
2024-02-22 15:20:19 +01:00
Ken-ichi Ueda
dca5b4235f Numerous eslint fixes 2024-02-21 10:49:08 -08:00
Ken-ichi Ueda
096af978f0 Test fixes
* updated snapshots
* move timezone setup to globalSetup
* renamed old global setup file to reflect what it actually does, which is
  setup i18next
2024-02-21 10:47:31 -08:00
Johannes Klein
45dfb12824 Snapshot test updates 2024-02-21 16:54:55 +01: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
045ce6f789 Improve Jest performance (#1160)
* Use faker import with specific locale

* Add global beforeAll to initiate i18next
2024-02-16 16:17:00 -08:00
Amanda Bullington
53d5527c1c Fix for Android crash: minZoomLevel must be 0, not null 2024-02-16 14:02:55 -08:00
Johannes Klein
3d4a0cbad1 Vision plugin add possibility to set confidence threshold for predictions from file (#1155)
* Use latest vision-camera plugin that exposes confidenceThreshold

* Example of usage in calling predictions from file

* More suitable example

* Update vision plugin to start using versioning
2024-02-16 09:05:00 +01:00
Johannes Klein
2d44fb9aac Explore filters, one more date range, two bugfixes (#1154)
* Update strings.ftl

* Add date range option to Date Uploaded filter

* Use more precise type for mapBoundaries

* Close date time picker on confirm button pressed

* Add TODO

* Prop isChecked into CheckBox component

Closes #1153

* Update Checkbox test

* Add another snapshot
2024-02-16 08:55:00 +01:00
Amanda Bullington
d147ac5d54 Explore defaults to viewer's location (#1157)
* Show observations by defaulting to user location

* Remove log

* Create useHeaderCount hook to load user location count before global count

* Header count and location permission fixes

* Remove log

* Fix Explore tests

* Test fixes and add blocked/denied state
2024-02-15 18:28:33 -08:00
Amanda Bullington
3497bff358 Open observations links in app (#1158) 2024-02-15 17:34:38 -08:00
Ken-ichi
012814d9a3 Fix MyObs test flakiness by waiting for app to settle before closing realm (#1156)
* Fix MyObs test flakiness by waiting for app to settle before closing realm
* Moved currentUser down into the Announcements component
2024-02-15 14:47:33 -08:00
Angie
f6e499a792 1048 textinputsheet allows text to flow under the clear button (#1152)
* Change TextInputSheet styling to prevent text flowing into clear button

* Restyle clear button to prevent text flowing under

* Remove unneeded styling
2024-02-15 10:13:08 -08:00
Ken-ichi Ueda
1f0c0600cd Un-center the Explore header place name for my own sanity 2024-02-14 16:05:48 -08:00
Ken-ichi Ueda
54f3f9eb47 Extracted unique Realm test setup code into a helper
There's still some required copy-pasting because jest is weird, but at least
there's less of it.
2024-02-14 15:40:35 -08:00
Johannes Klein
1d341911ac Explore filters restyling (#1149) 2024-02-14 23:02:56 +01:00
Amanda Bullington
d160083177 Redo search in map, Explore (#1151)
* Add tests for redo search button

* Update tiles, observation, and count with map area query params
2024-02-14 13:37:28 -08:00
Ken-ichi
ef1db46bae Bugfix: withdrawing ID was deleting the ID body (#1150)
Additionally,

* Adds tests for ID withdraw and restore
* Renames withdrawOrRestoreIdentification function for clarity
* Adds some accessibility labels for testing and accessibility

Closes #1129
2024-02-14 11:22:13 -08:00
Johannes Klein
34521875c1 Changes for Explore location search & Headers (#1147)
* Use plurals in explore search headers

* Replace location search UI and adjust headers

* Focus taxon search input on mount

* Show list of iconic taxa on empty taxa search screen

* Remove footer spacer

* Change header on taxon search screen as well
2024-02-14 15:04:48 +01:00
Ken-ichi
79f9891e1a Allow password managers to fill in login fields (#1133)
Main required change here is `textContentType` prop in iOS. Note that this is a partial reversion of #940 so we'll have to live with some flicker in the login form on some iPhones.
2024-02-13 17:31:55 -08:00
Angie Ta
2e0a4e2e1f Merge branch 'main' of github.com:inaturalist/iNaturalistReactNative 2024-02-13 17:30:08 -08:00
Angie Ta
57a4259506 Restyling of ActivityHeaderKebabMenu code 2024-02-13 17:28:50 -08:00