Commit Graph

3220 Commits

Author SHA1 Message Date
Ryan Stelly
e8e0197eeb test config in iso 2025-12-12 17:16:07 -06:00
Ryan Stelly
8ab4ce36c3 test config in iso 2025-12-12 17:04:58 -06:00
Ryan Stelly
ba968185c6 test config in iso 2025-12-12 16:56:38 -06:00
Ryan Stelly
7b789a8efa test config in iso 2025-12-12 16:53:58 -06:00
Ryan Stelly
e57eebdace test unit tests 2025-12-12 16:44:48 -06:00
Ryan Stelly
51a97cd583 reporter for unit/integration tests 2025-12-12 16:33:58 -06:00
Ryan Stelly
e29849fcf6 add report summary options 2025-12-12 16:20:35 -06:00
Ryan Stelly
43d1dd1093 disable slack notif 2025-12-12 15:58:52 -06:00
Ryan Stelly
f67a7b61ba test detox test reporter 2025-12-12 15:58:06 -06:00
Ryan Stelly
4c49e69851 MOB-1039 apply member delimiter style and autofix (#3281) 2025-12-12 14:04:58 -06:00
Johannes Klein
741f053716 Remove mock (#3287) 2025-12-12 21:02:54 +01:00
Abbey Campbell
2c6eb6622a Merge pull request #3271 from inaturalist/mob-963-change-slideover-menu-to-be-a-static-page
Mob 963 change slideover menu to be a static page
2025-12-12 10:27:37 -08:00
Corey Farwell
1e38e21521 Migrate AIDebugButton component to TypeScript. (#3286)
* Migrate `AIDebugButton` component to TypeScript.

* Reorder keys

* Update to use vision camera's own type

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-12-12 11:36:56 +01:00
Corey Farwell
c36c94a5df Remove unneeded getImageDimensions helper function. (#3200)
* Remove unneeded `getImageDimensions` helper function.

The built-in React Native function has an `async` API that we can call directly.

* Legit test failure

* Import Image from React Native

* Prefer using styledComponents.Image.getSize

* Revert "Prefer using styledComponents.Image.getSize"

This reverts commit 103ca9b3ef.
2025-12-12 10:58:42 +01:00
Abbey Campbell
b7c6c5b5d4 fix navigation issues with AddObs screens 2025-12-11 16:13:54 -08:00
Abbey Campbell
fec130f761 use enum for mutually exclusive modal state 2025-12-11 14:27:01 -08:00
Abbey Campbell
b94a2b308c use hideHeader 2025-12-11 14:18:23 -08:00
Abbey Campbell
0c07017ac6 update testID 2025-12-11 14:17:39 -08:00
Abbey Campbell
c92cc28ee2 add context for accessibility hint 2025-12-11 12:13:30 -08:00
Abbey Campbell
579b62a1e6 styling fixes 2025-12-11 12:09:02 -08:00
Abbey Campbell
910bfa69dd make menu modal/sheet state mutually exclusive 2025-12-10 17:48:38 -08:00
Abbey Campbell
01a8da9dbe update MenuOption type so nav and onPress are mutually exclusive 2025-12-10 17:34:57 -08:00
Abbey Campbell
3fae2abd82 remove memoization of menuItems 2025-12-10 13:35:07 -08:00
Abbey Campbell
9c42d64676 add missing testID to MenuItem, remove drawer layer in signIn test 2025-12-10 12:56:52 -08:00
Ryan Stelly
8f97ae197f MOB-936 introduce new Android CI and Maestro smoke test (#3217)
* MOB-936 introduce new Android CI and Maestro smoke test

* Potential fix for code scanning alert no. 30: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* remove branch exception to cache write rule

* delete unused new share flow

* add run to reintroduce workflow

* switch to -m runner for build

* redisable run on push

* add comments and update readme for changes

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-10 12:45:59 -06:00
Ryan Stelly
1bdf8ddc4e MOB-1039 add stylistic eslint plugin package dependency (#3266) 2025-12-10 12:20:04 -06:00
Johannes Klein
5db19c25e5 1048 explore redesign debug mode (#3270)
* Make a copy of Explore

* Show ExploreRedesigned in debug mode

* Remove header from ExploreRedesigned

* Remove bottom sheet to switch between views

* Remove ExploreFiltersModal from ExploreRedesigned

Removing this now in preparation of making the Explore Filters a standalone screen called "Advanced Search". However, looking through the code, I see that the filters modal is actually tied to the same ExploreContext as the instance of the screen it is displayed in.
The idea behind making the modal into a standalone screen was to make our lives as developers easier and to not having to have a modal that allows navigating forward (which is unusual for a modal). So, there is a follow-up ticket after this PR to asses how much work it would be to connect two standalone screens to the same context knowing that several instances of those screens can be in the stack simultaneously.

* Rename file without code changes

* Revert "Rename file without code changes"

This reverts commit c0fb84d4d0.

* Remove unused props

* Rename debug component

* Add a type in useLocationPermission

* Remove not needed undefined

* layout prop can be null

* Migrate to TS

* Use enum for mutually exclusive states

* Add enum for mutually exclusive observations view layouts
2025-12-10 16:01:46 +01:00
Abbey Campbell
f05d79be24 remove isTest flag, override bottom-tabs animation in jest setup, add comments to detox fix 2025-12-09 18:48:17 -08:00
Abbey Campbell
1d2d992cbb test disable sync 2025-12-09 18:48:17 -08:00
Abbey Campbell
425f0a11bf add detox to testing flag 2025-12-09 18:48:17 -08:00
Abbey Campbell
1c7ec2296b remove bottom tab animation for test case 2025-12-09 18:48:17 -08:00
Abbey Campbell
67ecc43580 lint fix 2025-12-09 18:48:17 -08:00
Abbey Campbell
ad105d110f use built-in fade animation for bottom tabs 2025-12-09 18:48:14 -08:00
Abbey Campbell
f66f0c51d8 improve accessibility for menu header 2025-12-09 18:46:41 -08:00
Abbey Campbell
275c5acad8 remove drawer-related nav options 2025-12-09 18:46:41 -08:00
Abbey Campbell
e8ee6c39cb restructure root nav and delete dead drawer code and library 2025-12-09 18:46:41 -08:00
Abbey Campbell
caca94fb48 update more tests and snapshots 2025-12-09 18:46:40 -08:00
Abbey Campbell
b8375e0254 update tests and snapshots 2025-12-09 18:46:40 -08:00
Abbey Campbell
20093e9ff4 update accessibility hint 2025-12-09 18:46:40 -08:00
Abbey Campbell
b7b1e810da add menu screen 2025-12-09 18:46:40 -08:00
Johannes Klein
8ce00e9fe7 v1.0.12+189 v1.0.12+189 2025-12-09 21:54:31 +01:00
Abbey Campbell
8e79bcfbe5 Merge pull request #3272 from inaturalist/mob-1034-obs-sheet-when-ai-camera-is-not-available
pre-determine layout if ai camera not supported
2025-12-09 10:22:32 -08:00
Seth Peterson
12db53e7d6 Merge pull request #3249 from inaturalist/mob-512-implement-saved-match-screen
MOB-512 saved match screen experience
2025-12-09 09:22:10 -06:00
Johannes Klein
9bb8080085 New Crowdin translations by GitHub Action (#3273)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-12-09 15:02:58 +01:00
sepeterson
7ea31b224e Merge branch 'mob-512-implement-saved-match-screen' of https://github.com/inaturalist/iNaturalistReactNative into mob-512-implement-saved-match-screen 2025-12-08 18:11:37 -06:00
sepeterson
0d42eab08a MOB-512 edit tests to rm unnecessary code, make consistent with greater test suite, and rm out of scope test 2025-12-08 18:10:32 -06:00
Seth Peterson
b8d6cfa962 Merge pull request #3274 from inaturalist/mob-512-bit-of-cleanup
Mob 512 bit of cleanup
2025-12-08 09:33:39 -06:00
Johannes Klein
2a51f5ad9c Add a unit test for when taxon is undefined 2025-12-07 21:39:00 +01:00
Abbey Campbell
447fce4849 pre-determine layout if ai camera not supported 2025-12-05 14:53:23 -08:00
Corey Farwell
e5dfc6ceef Avoid lint suppressions in useEffect by making returns consistent. (#3269)
* Avoid lint suppressions in `useEffect` by making returns consistent.

* Use empty function with comment
2025-12-05 13:57:15 -06:00