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
budowski
f5fbc3ce11
Return to original screen after canceling photo import
...
Closes #1051
---------
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com >
2024-02-13 16:59:11 -08: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
budowski
0ed984206c
Clear selection in GroupPhotos after removing a photo
...
Closes #1058
2024-02-13 16:17:48 -08:00
Ken-ichi Ueda
7c347faabf
Fixed ObsMedia test
2024-02-12 14:44:05 -08:00
Ken-ichi Ueda
ccd0f8ed97
Changed toolbar upload rotating icon rotation direction to be clockwise
2024-02-12 14:29:21 -08:00
Ken-ichi Ueda
c90acad6f0
Log stringified JSON errors
2024-02-12 12:52:56 -08:00
Ken-ichi Ueda
15bc440fd8
Fix obs deletion bug; better date formatting for Suggestions diagnostics
2024-02-09 17:29:44 -08:00
Ken-ichi Ueda
2a2d9d81b9
Added more sources for ObsDetails images, hopefully so we can get an image out of cache more often
2024-02-09 17:13:05 -08:00
Ken-ichi Ueda
1d3d127dfd
Increased online suggestions timeout to 5s
...
Also added some temporary diagnostics UI to that screen to help figure out
inconsistent offline / offline / missing suggestions behavior.
May have also fixed a crash regarding UUIDs.
2024-02-09 17:13:05 -08:00
Amanda Bullington
8e6269c8d0
Wrap realm.write in safeRealmWrite transaction ( #1123 )
...
* Add a safeRealmWrite transaction for better logging around writes; code cleanup and realm update
* Add safeRealmWrite to tests and make sure action is called synchronously
* Fix final test
* Only write to realm when useObservationsUpdates data changes; code cleanup
* Code cleanup
2024-02-09 16:16:32 -08:00
Johannes Klein
5d3e4f3a9e
Revert "Replace reanimated jest setup"
...
This reverts commit 1348387c57 .
2024-02-09 22:45:29 +01:00
Johannes Klein
d6a0c102b6
Revert "Npm install with force on CI for testing purposes only"
...
This reverts commit 89e41b806f .
2024-02-09 22:45:25 +01:00
Johannes Klein
1348387c57
Replace reanimated jest setup
2024-02-09 22:08:36 +01:00
Johannes Klein
89e41b806f
Npm install with force on CI for testing purposes only
2024-02-09 22:02:23 +01:00
Ken-ichi Ueda
7f7097ea6b
v0.22.0+71
v0.22.0+71
2024-02-08 19:00:46 -08:00
Ken-ichi Ueda
bf3f755c31
Stop using Android draft releases
2024-02-08 18:58:22 -08:00
Ken-ichi Ueda
4b929a8e6f
v0.22.0
2024-02-08 18:55:16 -08:00
Ken-ichi Ueda
f8878bdda5
Restore ObsDetails nav header gradient
2024-02-08 15:43:04 -08:00
Ken-ichi Ueda
80d91d7554
Stop polluting the log with info about realm.path
2024-02-08 15:26:30 -08:00
Ken-ichi Ueda
62343c2eb3
Bugfix: navigating to ObsDetails and back from Notifications took you to MyObs
2024-02-08 15:24:33 -08:00
Ken-ichi Ueda
824632040b
Bugfix: notifications page was erroring out while signed out
2024-02-08 14:56:45 -08:00
Ken-ichi
cdd141f2ff
Refactor StickyView ( #1119 )
...
* Prevent gap at the bottom of StickyView
* Renamed StickyView to ScrollableWithStickyHeader
* Refactored ScrollableWithStickyHeader so that it manages the height it
sticks at and the scroll state
* ScrollableWithStickyHeader explicitly takes two rendering functions as
props, hopefully making what it does a little clearer
* Added some comments attempting to explain what this component does and why
we're not taking other approaches to sticky headers
Closes #997
2024-02-08 13:22:59 -08:00
Angie
9de83f7fdf
Unread notifications indicator in tab bar ( #1101 )
...
* Shows indicator in tab bar when you have new updates
* Should update every minute
* Make unread updates indicator go away when you view the updates
Closes #900
---------
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com >
2024-02-08 13:22:05 -08:00
Angie
6dde1f9c11
Fix obsdetail carousel photos cut off ( #1120 )
2024-02-08 11:51:11 -08:00
Johannes Klein
fdca961117
Upgrade RN to 0.71.16 ( #1118 )
2024-02-07 16:18:50 +01:00
Johannes Klein
367dd77c60
Use latest vision-plugin
...
This means that on Android we are now using bilinear filter instead of nearest-neighbor for rescaling.
2024-02-07 14:07:17 +01:00
budowski
d663abd294
Reset camera zoom when getting in and out of the camera screen ( #1108 )
...
Closes #1050
2024-02-06 17:30:48 -08:00
Amanda Bullington
3a485f4d4b
Load ObsDetails skeleton before observation data is ready ( #1116 )
...
* Load ObsDetail screen skeleton and loading wheels before observation is fetched; closes #1091
* Fix e2e test: make sure ActivityIndicator doesn't stay rendered
2024-02-06 17:09:51 -08:00
Johannes Klein
e046c7f969
Image predictions uri fix ( #1110 )
...
* Use plugin with PR for Uri fix on Android
* Android and iOS have different return types
* Remove special error case
Closes #1038
2024-02-06 16:04:33 -08:00
Johannes Klein
bebef03a7a
Fix wrong positioning because of dimension of focus square
2024-02-06 22:59:11 +01:00
Johannes Klein
a2bb7b93cc
Use privateLat and privateLong to initialize location picker if present ( #1111 )
2024-02-06 22:38:47 +01:00
Johannes Klein
db050865d7
Show Focus square on cameras that do not focus; plus style changes ( #1117 )
...
* Show the focus square at the tapped coordinates even if we do not actually set the focus
* Add new tailwind color
* Add new border radius value
* Restyle focus square according to current designs
2024-02-06 22:37:39 +01:00
Angie
d9eafe8eed
Change TextInputSheet styling to prevent text flowing into clear button ( #1113 )
2024-02-05 21:15:24 -08:00
Amanda Bullington
2bce3aa784
Prevent PhotoCount from rendering with no count on scroll ( #1112 )
...
* Remove ForeignObject from SVG to prevent PhotoCount from rendering blank; closes #1073
* Update snapshot
* Fix styling for photo count large sizes
* Update snapshots
2024-02-05 14:12:02 -08:00
Johannes Klein
21b0b6e6a3
Move back button on explore filter modal
2024-02-05 14:40:28 +01:00
Johannes Klein
fd2c491bed
Filter out explore context params that should not be api params
...
Closes #1094
2024-02-05 13:07:37 +01:00
Ken-ichi Ueda
d20e100899
Notification text for comments no longer mentions mentions
...
observations/updates doesn't return notifications about mentions. This also
makes the text more translatable using the the Trans component.
2024-02-02 12:20:04 -08:00
Ken-ichi Ueda
794b014e15
Added smaller bird for Android icon
2024-02-02 10:57:56 -08:00
Ken-ichi Ueda
ecbe6fd53b
Added background to Android adaptive icon
2024-02-02 10:57:56 -08:00
Amanda Bullington
a3b1371682
Fix agree button taxon id ( #1105 )
...
* Fix agree button taxon_id and write test; closes #1036
* Code cleanup
2024-02-01 20:58:29 -08:00
Angie
56e6ee34d2
Move Notifications to ObservationStack ( #1106 )
2024-02-01 18:56:32 -08:00
Ken-ichi Ueda
b9626c80b7
Don't log debug statements in release builds
2024-02-01 18:04:29 -08:00