Commit Graph

4199 Commits

Author SHA1 Message Date
sepeterson
9756506fac MOB-1329: rm redundant ref and add comment for useEffectEvent 2026-05-13 07:32:19 -05:00
Seth Peterson
8a39cd88fd Merge pull request #3480 from inaturalist/MOB-1091-ts
convert creatObservationFlowSlice to ts
2026-05-13 07:07:12 -05:00
Johannes Klein
508c0e0c41 v1.0.21+212 v1.0.21+212 2026-05-13 12:19:04 +02:00
Johannes Klein
908ccf22c7 Bundle update nokogiri 2026-05-13 11:36:16 +02:00
Johannes Klein
cd586edeff Bundle update fastlane 2026-05-13 11:32:55 +02:00
Johannes Klein
c4c6a3b190 Merge main into beta 2026-05-13 10:35:14 +02:00
Ryan Stelly
c3c56a7383 don't use problematic useLocalObservations in Notifications (#3611) 2026-05-12 14:29:18 -05:00
sepeterson
1e8dc771a0 Reapply "MOB-1321 minimal"
This reverts commit 24e1f1afb5.
2026-05-12 13:15:10 -05:00
Seth Peterson
5f056a5bfa Merge pull request #3615 from inaturalist/revert-3603-mob-1321-minimal
Revert "MOB-1321 minimal"
2026-05-12 13:02:42 -05:00
Seth Peterson
24e1f1afb5 Revert "MOB-1321 minimal" 2026-05-12 12:54:23 -05:00
Seth Peterson
cdee8eabd6 Merge pull request #3603 from inaturalist/mob-1321-minimal
MOB-1321 minimal
2026-05-12 12:54:04 -05:00
dependabot[bot]
9ad98e5163 Bump axios from 1.15.0 to 1.16.0 (#3601)
Bumps [axios](https://github.com/axios/axios) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-12 14:39:00 +02:00
iNaturalist Crowdin Sync
36cf7bd0f4 New Crowdin translations by GitHub Action (#3610)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-12 14:16:20 +02:00
dependabot[bot]
f78eb6863f Bump @babel/plugin-transform-modules-systemjs from 7.27.1 to 7.29.4 (#3606)
Bumps [@babel/plugin-transform-modules-systemjs](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-modules-systemjs) from 7.27.1 to 7.29.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.4/packages/babel-plugin-transform-modules-systemjs)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-modules-systemjs"
  dependency-version: 7.29.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-12 14:15:46 +02:00
sepeterson
56db9a15bc MOB-1321: fix test mock 2026-05-11 18:23:16 -05:00
sepeterson
d0ea06dcd4 MOB-1321: pass new lat/lng directly to refetch suggestions 2026-05-11 17:40:19 -05:00
sepeterson
5e3f6b8f80 Merge branch 'main' into mob-1321-minimal 2026-05-11 17:02:43 -05:00
Ryan Stelly
6a1e6af8ee add worklets patch for extra react native host preventing profiling (#3604) 2026-05-11 09:40:59 -05:00
dependabot[bot]
bd95eb41f6 Bump simple-git from 3.35.2 to 3.36.0 (#3600)
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.35.2 to 3.36.0.
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.36.0/simple-git)

---
updated-dependencies:
- dependency-name: simple-git
  dependency-version: 3.36.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-09 21:14:42 +02:00
Johannes Klein
c044d82f6b Only type the keys we actually use 2026-05-09 15:58:51 +02:00
Johannes Klein
4c8f282190 Remove re-name of param 2026-05-09 15:49:07 +02:00
Johannes Klein
88daa68c70 Remove user id query param 2026-05-09 15:34:16 +02:00
sepeterson
2fee9afe02 MOB-1091: type intermediate changes 2026-05-08 17:56:46 -05:00
Johannes Klein
fce255c866 Tiny bit of post item styling 2026-05-08 23:57:20 +02:00
Johannes Klein
91ed9f403d Number to string 2026-05-08 23:26:08 +02:00
Johannes Klein
dcfe9d601c Query for posts and pass to list 2026-05-08 23:25:40 +02:00
Johannes Klein
a8878a7c83 Add a typed api call wrapper for posts.for_user
This is the same endpoint that is used in iNat Classic iOS to get News and Project Posts.
I think at this point there is no v2 version of it yet.
2026-05-08 23:24:44 +02:00
sepeterson
b1f99d2d7b MOB-1091: merge main 2026-05-08 14:59:00 -05:00
sepeterson
cdeaaef512 MOB-1396: first pass 2026-05-08 11:33:38 -05:00
sepeterson
58e0d7367c MOB-1321: unit tests 2026-05-08 10:38:28 -05:00
sepeterson
b54e4fd156 MOB-1321: extra loading state 2026-05-08 10:29:53 -05:00
Johannes Klein
1385561746 Basic List with ListItem setup 2026-05-08 17:29:40 +02:00
Johannes Klein
b474f1c03d Create an ApiPost type (adapted from iOS classic) 2026-05-08 17:18:00 +02:00
Seth Peterson
42d8b3b8f4 Merge pull request #3602 from inaturalist/android-save-match-crash
Android save match crash
2026-05-08 10:07:14 -05:00
sepeterson
cf6cbb3e9c MOB-1321: error handling 2026-05-08 10:02:25 -05:00
Johannes Klein
56f15b88d9 Add news feature flag to Controls 2026-05-08 15:35:40 +02:00
Johannes Klein
7ac2f73223 Put menu item behind a feature flag 2026-05-08 15:32:01 +02:00
Johannes Klein
190b911a63 Update strings.ftl 2026-05-08 15:27:47 +02:00
Johannes Klein
8a47052318 Adapted previous work on the News screen during creative day 2026-05-08 15:23:49 +02:00
sepeterson
ed8d28c23b handle exif write errors with allSettled 2026-05-07 19:46:28 -05:00
sepeterson
8b29ef8684 await writing exif data before nav 2026-05-07 15:57:33 -05:00
Ryan Stelly
90576071fb do not fail lint-staged on warnings (#3599) 2026-05-07 15:37:29 -05:00
sepeterson
f253731895 MOB-1321: single effect 2026-05-07 14:50:04 -05:00
Johannes Klein
9cab2a4008 Fix: sounds getting deleted during upload (#3598)
* Rename for consistency with obs photos

* Refactor to be similar to obs photos

* Include Sound as type

* Revert "Include Sound as type"

This reverts commit 3db88ae031.

* Revert "Refactor to be similar to obs photos"

This reverts commit 8ed7454be0.

* Revert "Rename for consistency with obs photos"

This reverts commit 674b921bab.

* Git mv without changes

* Add types

* Type api sound param

* Type fields s const

* Type fields as const

* Type api param

* Type new param

* The only call site of this function passes in only defined strings

* Adapted from Photo check for local path before deleting

* Type fct params

* Refactor constructor to only have a uri as param

* Refactor Sound constructor to have string as param

* Update Sound.ts

* Remove unused param

* Type fct params

* Type realm

* Also collect unsyncedSounds

* Create operations for sound uploads based on Sound only

* Add Evidence type

* Change a sound upload operation to work with a RealmSound

* Update realmSync to also just pass through Sounds

* Use server ID for attaching obs_sound to obs

* Also split photo pipeline for clarity

This is not a functional change. Also previously, only RealmPhoto s are uploaded, only RealmObservationPhoto s are attached or modified. Same as for sounds now.

* Update realmSync.ts

* Remove log

* Update realmSync.test.js

* Update mocks

* Update Sound map test

* Update prepareMediaForUpload.test.js

* Update prepareMediaForUpload.test.js

* Update mediaUploader.test.js
2026-05-07 21:22:27 +02:00
Johannes Klein
c6d41c21d8 Remove TODO for searchObservations in useLinking (#3597)
* Remove TODO, Migrate to TS

We only use the uuid here to navigate to ObsDetails where we fetch all information we need. So, no action required here because by default search observations returns only the uuid.

* Url can be null

* Update types.ts
2026-05-07 21:09:43 +02:00
Johannes Klein
9aba46d259 Merge pull request #3595 from inaturalist/beta 2026-05-07 20:16:25 +02:00
sepeterson
e447c4a00e Merge branch 'main' into mob-1321-minimal 2026-05-07 11:08:36 -05:00
Johannes Klein
e81b1af4b6 Merge pull request #3591 from inaturalist/mob-1359-enable-fields-for-searchobservations-in
Restrict queries to only stats, no data fetched
2026-05-07 11:30:17 +02:00
Johannes Klein
a2addb736e Merge pull request #3596 from inaturalist/l10n_main
New Crowdin Translations
2026-05-06 22:34:51 +02:00
sepeterson
cfd21b9af8 MOB-1321: reimplement with wrapper hook 2026-05-06 09:53:52 -05:00