Commit Graph

4199 Commits

Author SHA1 Message Date
Johannes Klein
98e49db8b1 Update package-lock.json 2025-10-28 15:56:21 +01:00
Johannes Klein
f6fef7110e Update package.json 2025-10-28 15:55:33 +01:00
Corey Farwell
7a9fc4e647 Shutdown Realm after tests complete to avoid Jest open connections warning. (#3161) 2025-10-28 13:24:28 +01:00
Corey Farwell
54f6e55691 Perform some trivial TypeScript migrations. (#3160)
* Perform some trivial TypeScript migrations.

No changes needed to convert these files.

* Remove unused comments

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-28 11:46:13 +01:00
Corey Farwell
61691c098f Migrate NetworkService.js to TypeScript. (#3162) 2025-10-28 11:46:08 +01:00
Corey Farwell
595d689e05 Migrate ErrorBoundary boundary to TypeScript. (#3159)
* Migrate `ErrorBoundary` boundary to TypeScript.

* Extend from PropsWithChildren

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-28 11:32:44 +01:00
budowski
f6b3ba1841 MOB-860 - empty states for user's followers/following/projects screens (#3110)
* MOB-860 - empty states for user's followers/following/projects screens

* Also expose isFetching from users list query

* Render either activity indicator or zero data component

* Render either activity indicator or zero data component

* Fix for: 0 is falsey

* Remove useCallback

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-23 11:40:55 +02:00
Ryan Stelly
f10bac3d41 fix name 2025-10-22 10:05:20 -05:00
Ryan Stelly
be98d3ec6a add remaining env to new separate test job 2025-10-22 10:04:10 -05:00
Ryan Stelly
d14b97dc7c fix announcement dismissal and add sample obs 2025-10-22 09:58:30 -05:00
Ryan Stelly
9af3d0784c Merge branch 'main' into MOB-948-test-user-reset-e2e 2025-10-22 09:20:24 -05:00
Ryan Stelly
6160a6ceca Merge pull request #3148 from inaturalist/942-split-ios-e2e-build-and-run-jobs
MOB-942 split iOS e2e tests into separate build and test jobs
2025-10-22 09:19:54 -05:00
Ken-ichi
7a3f14f99f New Crowdin translations by GitHub Action (#3126)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-10-22 16:04:04 +02:00
Ryan Stelly
d3b8466c74 set retention on build artifacts 2025-10-22 08:32:26 -05:00
Johannes Klein
6d54612103 Parallelize linting (#3132)
* Add npm-run-all2 dev dependency

* Use linting and checks in parallel

* Update package-lock.json
2025-10-22 15:15:14 +02:00
Ryan Stelly
69b6cff914 Merge pull request #3149 from inaturalist/959-android-limit-image-picker-to-100
(android) limit image picker to 100 max
2025-10-22 07:53:03 -05:00
Corey Farwell
723b0bf35a Migrate StartupService components to TypeScript. (#3151) 2025-10-22 11:26:22 +02:00
Ryan Stelly
bb8b5d39bd Merge branch 'main' into MOB-948-test-user-reset-e2e 2025-10-21 19:13:04 -05:00
Ryan Stelly
1da712d18d Merge branch 'main' into 959-android-limit-image-picker-to-100 2025-10-21 19:12:27 -05:00
Corey Farwell
00c2b22a93 Migrate RotatingINatIconButton component to TypeScript. (#3150)
* Migrate `RotatingINatIconButton` component to TypeScript.

* Let functional component return type be inferred

* Change Props to an interface

* Extend Props from PropsWithChildren

* Import as type

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-22 00:22:49 +02:00
Ryan Stelly
b1aa686899 Merge pull request #3134 from inaturalist/update-ios-maestro-flows
Update ios maestro flows
2025-10-21 17:13:08 -05:00
Corey Farwell
4316af4708 Teach TypeScript about SVG imports. (#3146)
* Teach TypeScript about SVG imports.

* Fix the existing SVG declaration

* Split up declarations file
2025-10-21 22:36:28 +02:00
Ryan Stelly
dd532da82e MOB-948 add programmatic test user reset step to e2e 2025-10-21 14:36:57 -05:00
Corey Farwell
3583d24c61 Migrate ForgotPassword component to TypeScript. (#3147)
* Migrate `ForgotPassword` component to TypeScript.

* Rely on type inference
2025-10-21 17:57:17 +02:00
Ryan Stelly
14746da4c9 Merge branch 'main' into 959-android-limit-image-picker-to-100 2025-10-21 10:05:06 -05:00
Corey Farwell
3067d332e8 Migrate useInterval to TypeScript. (#3143) 2025-10-21 15:53:11 +02:00
Ryan Stelly
5d43334400 (android) limit image picker to 100 max 2025-10-18 10:48:59 -05:00
Ryan Stelly
f8110007e0 MOB-942 split iOS e2e tests into separate build and test jobs 2025-10-17 12:19:26 -05:00
Johannes Klein
9dcddd2615 v1.0.11+182 v1.0.11+182 2025-10-17 17:20:23 +02:00
Johannes Klein
0db05af4f3 Split test command into two (#3145) 2025-10-16 18:07:17 +02:00
Johannes Klein
081f009a86 Rename link file (#3144)
* Rename link file

* Change file name usage in iOS project

* Fix missing dash

* Add dash to filename
2025-10-16 15:28:32 +02:00
Johannes Klein
bad9c5a4d8 Add firebase dependency, and basic logging (#3127)
* Update package.json

* Update AppDelegate.mm

* Update Podfile

* Update .gitignore

* Update link-inat-model-files.sh

* Add plist file to project

* Update project.pbxproj

* Add analytics package

* Update project.pbxproj

* Update PrivacyInfo.xcprivacy

* Basic screen tracking

* Basic button press logging to firebase

* Update package-lock.json

* Update Podfile.lock

* Add Android setup

* Update .gitignore

* Add analytics mock

* Ignore rubocop warning here

* Create GoogleService-Info.example.plist

* Create google-services.example.json

* Add instructions to set up Firebase configs

* Update e2e_ios.yml

* Update e2e_android.yml

* Better plural

* Use specific XCode version in e2e CI

* Update GoogleService-Info.example.plist

* Revert "Update GoogleService-Info.example.plist"

This reverts commit 0bc0ed4862.

* We need an actual real app id or we get a crash during app start

* My bad, we do need both files for building

* Also set API key

* Add comments

* Add comment

* Update Podfile.lock

* Revert "Use specific XCode version in e2e CI"

This reverts commit cbd63d1b5d.
2025-10-16 13:15:10 +02:00
Corey Farwell
30762a51ee Update TypeScript config to ignore Flow autgenerated stubs. (#3141)
By doing this, TypeScript will now resolve the types of the imports to the actual library, instead of the packaged stubbed to `any`.

Prior to this change `npx tsc` reported 1121 errors. After this change, `npx tsc` reports 797 errors.
2025-10-16 01:05:32 +02:00
Johannes Klein
b20a99adec Show offline profile picture in header (#3142)
* Rename file without changes

* Revert "Rename file without changes"

This reverts commit a3de5e100d.

* Rename file without changes

* Refactor InlineUserBase to TS

* Update component Props

* Import as type

* Check if the user displayed is the current user and if so

also display the user image while offline.

* Update src/components/SharedComponents/InlineUser/InlineUserBase.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update InlineUser.test.js

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-16 00:19:35 +02:00
Ryan Stelly
84ea126c03 remove extraneous tap directive 2025-10-15 13:40:34 -05:00
Ryan Stelly
2439ce27bb use quotes on Yes tap 2025-10-15 13:38:09 -05:00
Johannes Klein
744d307d9d Update react-native-gesture-handler (#3138) 2025-10-15 17:53:03 +02:00
Ryan Stelly
45d2521705 Merge branch 'main' into update-ios-maestro-flows 2025-10-15 10:50:29 -05:00
Ryan Stelly
a1453bb628 revert podfile tick 2025-10-15 09:31:24 -05:00
Johannes Klein
cde428e6c7 Add a set of recommended VS Code extensions (#3140)
* Add a set of recommended VS Code extensions

* Remove prettier for now

* Remove vscode-open-in-github

That's more of a personal choice
2025-10-15 01:52:59 +02:00
Ryan Stelly
ec96a5e148 Merge pull request #3139 from inaturalist/update-react-native-volume-manager-2
Update react-native-volume-manager
2025-10-14 18:27:09 -05:00
Johannes Klein
24649e487f Update Podfile.lock 2025-10-14 23:38:44 +02:00
Johannes Klein
d5c4f33831 Update package-lock.json 2025-10-14 23:36:04 +02:00
Johannes Klein
d185333132 Update package.json 2025-10-14 23:35:42 +02:00
Ryan Stelly
8c3517aa73 save image to files for more deterministic image sharing 2025-10-14 15:42:37 -05:00
Corey Farwell
b18d21c1e2 Migrate SharedComponents/index.ts and sharedHooks/index.ts to TypeScript`. (#3136) 2025-10-14 21:25:03 +02:00
Johannes Klein
6aa195ceaf Fix: Double border on user icon in Me tab (#3135)
* Use Image with nativewind styling instead of FasterImageView

* Update UserIcon.test.js.snap

* Update unit tests
2025-10-14 21:22:24 +02:00
Johannes Klein
22bff9d056 Merge branch 'main' into update-ios-maestro-flows 2025-10-14 14:24:38 +02:00
Ryan Stelly
55fb2e0a1d MOB-945 use macos-15 in ci, set explicit iOS version in detox config (#3133)
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-14 14:00:49 +02:00
Kirk van Gorkom
aeb019e338 Stop compiling unused LocationAlways code (#3130)
* Stop compiling unused LocationAlways code

Fixes MOB-946

* Update Podfile.lock

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2025-10-14 14:00:24 +02:00