Johannes Klein
cdc3ec9bcb
Replace java setup action
2022-12-14 18:13:54 +01:00
Johannes Klein
35a72404f5
Change java distribution
2022-12-14 18:07:58 +01:00
Johannes Klein
47ccb5adb9
Create android.yml
2022-12-14 17:58:31 +01:00
Johannes Klein
0480b757ec
Remove second test
2022-12-14 17:43:57 +01:00
Johannes Klein
94d35fa49e
Change detox config to generate dynamic path for the apks
2022-12-14 16:20:48 +01:00
Johannes Klein
4a20d8c9cc
Remove patch-package dependency
2022-12-14 09:42:45 +01:00
Johannes Klein
d362e897eb
Revert "Add patch-package to postinstall"
...
This reverts commit ca07bd18d6 .
2022-12-14 09:40:27 +01:00
Ken-ichi Ueda
8b11166645
Removed patch for react-native-exif, which we're not using
2022-12-13 15:29:04 -08:00
Ken-ichi Ueda
f0a05e6d8d
Podfile updates for react-native-exif removal
2022-12-13 15:14:14 -08:00
Ken-ichi Ueda
8a1733a9b3
Merge branch '250-e2e-init' of github.com:inaturalist/iNaturalistReactNative into 250-e2e-init
2022-12-13 15:07:58 -08:00
Ken-ichi Ueda
8dd57b01fe
Removed react-native-exif, which is vestigial and causing Android test build failure
2022-12-13 15:07:37 -08:00
Ken-ichi Ueda
a72f500cf7
Revert "Adds acc label for new obs button, use that in e2e test"
...
This reverts commit 1656d031e0 .
2022-12-13 14:55:06 -08:00
Johannes Klein
c37636f9f6
Merge branch '250-e2e-init' of https://github.com/inaturalist/iNaturalistReactNative into 250-e2e-init
2022-12-13 22:56:14 +01:00
Johannes Klein
ca07bd18d6
Add patch-package to postinstall
2022-12-13 22:55:17 +01:00
Johannes Klein
238997fcf6
Update .gitignore
2022-12-13 22:54:44 +01:00
Ken-ichi Ueda
99e5efc5a6
Merge branch '250-e2e-init' of github.com:inaturalist/iNaturalistReactNative into 250-e2e-init
2022-12-13 13:52:50 -08:00
Ken-ichi Ueda
1656d031e0
Adds acc label for new obs button, use that in e2e test
2022-12-13 13:52:14 -08:00
Johannes Klein
f46da431e0
Update package-lock.json during npm install
2022-12-13 22:34:21 +01:00
Johannes Klein
eb81453e60
Merge branch 'main' into 250-e2e-init
2022-12-13 22:31:58 +01:00
Johannes Klein
da9cd48b4f
Set to use same version as peerDependency as we have anyways ( #293 )
...
Fixes #290
2022-12-13 10:41:57 -08:00
Amanda Bullington
8a527968e9
Make camera status bar text white; closes #291
2022-12-12 16:36:18 -08:00
Johannes Klein
8b2bc33430
Update README.md
2022-12-12 17:41:05 +01:00
Johannes Klein
b85a76583d
Rename the default emulator to make sure people use AOSP version
2022-12-12 17:39:34 +01:00
Johannes Klein
9b30e89351
Create react-native-exif patch to fix Android build error
2022-12-12 16:40:55 +01:00
Johannes Klein
89e86f1da9
Update README.md
2022-12-12 16:30:47 +01:00
Johannes Klein
6f100a728b
Add Android scripts
2022-12-12 16:28:27 +01:00
Johannes Klein
989c14b6c2
Add detox configuration for android testing
2022-12-12 16:24:49 +01:00
Johannes Klein
f430ac3470
Wait for camera options button
2022-12-12 16:23:11 +01:00
Johannes Klein
9f49af7258
Add another test for navigating to login screen
2022-12-12 16:22:05 +01:00
Johannes Klein
bb93a8eebb
Update .gitignore to ignore e2e test artifacts
2022-12-12 16:11:17 +01:00
Johannes Klein
b30c6f14bb
Fix typo
2022-12-12 15:25:37 +01:00
Johannes Klein
108b7bcae1
Add patch-package dependency
2022-12-12 15:23:51 +01:00
Johannes Klein
8630b78b3b
Add basic detox setup for Android tests
2022-12-12 15:22:47 +01:00
Johannes Klein
2be152ea9b
Add testIDs to the other expected elements
2022-12-12 12:17:41 +01:00
Johannes Klein
5a2e61da4a
Rename workflow steps
2022-12-11 22:25:41 +01:00
Ken-ichi Ueda
f442603e7a
Disable unnecessary API requests on My Obs when signed out
...
Also added a signOut test helper... and maybe have introduced some problems
with parallel test execution as a result, as parallel jest runs don't seem to
totally separate with regards to the in-memory realm db. Something to think
about.
2022-12-09 19:39:13 -08:00
Amanda Bullington
8d738d9d8c
Delete observations from ObsEdit ( #277 )
...
* Remove delete option for observations not in realm
* Add mutation for delete observation
* Hide delete option for observations not persisted to realm
* Close kebab menu when item pressed; this allows dialog to respond to first user
press
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com >
2022-12-09 17:36:47 -08:00
Amanda Bullington
0e0822c88d
Change navigation if obs is unsynced; closes #282 ( #288 )
2022-12-09 16:56:48 -08:00
Angie
c8b5804735
203 add placeholder images on my obs and obs detail when no media ( #265 )
...
* Add placeholder images on MyObs and ObsDetail when no media. Closes #203 .
* Add placeholder image for GridItem when no media
2022-12-09 16:15:34 -08:00
Amanda Bullington
0d69fe1568
Fetch user locale from server and change language ( #255 )
...
* Fetch user from server, set locale in realm and change language with i18next
* Added some Spanish translations so I can see localization working
* config QueryClient with `cacheTime: Infinity` to deal with "Jest did not
exit" errors
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com >
2022-12-09 15:51:17 -08:00
Amanda Bullington
8a92fca2e8
Update obs list to use React Query, fetch observations via id_below ( #273 )
...
* Rewrite remote observation & update fetching using useQuery in ObsList
* Fix ObsList test by adding query provider
* Add padding to infinite scroll view indicator
* Only set next uuid for obslist if not still loading results from last api call
* Improve how ObsList works when observations don't fill screen
* Remove explore, explore provider, dropdown menu, and related screens; fix tests
* Move setIdBelow function into onEndReached
2022-12-09 12:17:26 -08:00
Amanda Bullington
fb4bf79878
Increase pressable area for organisms on Add ID ( #285 )
...
* Tailwind styling
* Create pressable area around taxon image and names
2022-12-09 10:59:15 -08:00
Amanda Bullington
84ba28114b
Hide flash button if device doesn't have flash; use colors instead of useTheme for styling ( #276 )
2022-12-08 14:42:15 -08:00
Angie
defea9d2cc
Text overflow in AddID results. Closes #232 . ( #269 )
2022-12-07 16:15:53 -08:00
Angie
4b824983be
216 remove excess space below the tab bar ( #257 )
...
* Remove excess space below tab bar. Closes #216 .
* Customize footer classname by OS
2022-12-07 15:32:39 -08:00
Ken-ichi Ueda
53b4bd1dca
Updated app icon
2022-12-07 12:11:12 -08:00
Angie
21a49aa903
Dont fetch location for existing observations ( #256 )
...
* Tests for fetch location for existing observations ObsEdit. Closes #199 .
* Fixed a bug fetching location for existing obs that weren't synced
Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com >
2022-12-06 23:36:08 -08:00
Angie Ta
a0ea8b17ee
Installed legacy peer deps for picker-select for ObsEdit to work on main.
2022-12-06 14:53:42 -08:00
Johannes Klein
3b08b6a0ca
Enable CI testing
2022-12-06 12:09:33 +01:00
Johannes Klein
66e890e198
Cache ci node modules ( #261 )
2022-12-05 18:58:12 -08:00