Commit Graph

4199 Commits

Author SHA1 Message Date
sepeterson
58099e6ce5 MOB-135: rm log 2026-02-23 09:37:22 -06:00
sepeterson
d9d1ddea97 MOB-135: AICamera first pass 2026-02-20 14:19:52 -06:00
Johannes Klein
25c13c9eb5 Reapply react-native-sensitive-info update with "migration" (#3373)
* Reapply "Update react-native-sensitive-info to 5.6.2 (#3346)"

This reverts commit 4bd596074c.

* Explicitly set keychainService to "app" for all calls to RNSInfo

So, apparently the default string used to save sensitive items changed from "app" to "default" between versions 6.0.0-alpha.9 and 5.6.2.
So if we install an app update built with 5.6.2 on top of our previous version (using 6.0.0-alpha.9) we can no longer find our previously stored secrets.
I am leaving the key as overridable by actual options propped in, in case someone wants to build a separate slice at one point. In contrast to accessControl which probably should not be a decision in engineerings court.

* Add comment

* Update test helpers
2026-02-19 22:36:20 +01:00
dependabot[bot]
555f9e56f9 Bump markdown-it from 14.1.0 to 14.1.1 (#3380)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.1.0 to 14.1.1.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.0...14.1.1)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 22:30:51 +01:00
Johannes Klein
ee59977501 Consolidate named and default export (#3387)
* Rely only on default export for savePhotosToPhotoLibrary

* Fix the same in useSuggestions

We already only use the default export.
2026-02-19 21:16:48 +01:00
Johannes Klein
0cf9aa5663 Remove a few export of interfaces that are not imported anywhere (#3386) 2026-02-19 21:16:08 +01:00
Johannes Klein
cbf48c7f9a This is never imported (#3385) 2026-02-19 21:15:06 +01:00
Abbey Campbell
e5f4fea9f3 Merge pull request #3383 from inaturalist/mob-717-flickering-notifications-loading-circle
pass elements to flashlist instead of functions
2026-02-19 10:27:38 -08:00
sepeterson
4cfe597acb MOB-135: suggestions useEffect simplification 2026-02-19 09:44:24 -06:00
Johannes Klein
0e892b20c0 Provide keys to elements in arrays
As mentioned in the README, we should provide keys to elements in the array of components passed to the Trans element.
        /* be sure to include a key={index} prop to prevent React list/key warning */
2026-02-19 14:06:12 +01:00
dependabot[bot]
ee482164b7 Bump qs from 6.14.1 to 6.14.2 (#3381)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 23:26:35 +01:00
sepeterson
2eac123d71 MOB-135: rm focus listener 2026-02-18 14:51:54 -06:00
Abbey Campbell
54bf27d8f2 make item separator a file-level component 2026-02-18 12:29:03 -08:00
sepeterson
9b339e3d8f Merge branch 'main' into mob-135-audit-use-of-useeffect-throughout-inat-next 2026-02-18 13:02:40 -06:00
Johannes Klein
36d6dc002c v1.0.16+199 v1.0.16+199 2026-02-18 09:23:57 +01:00
Johannes Klein
1761668650 Add comments 2026-02-18 09:21:34 +01:00
Johannes Klein
1d0d0dd15e Update release test step 2026-02-18 08:54:15 +01:00
Abbey Campbell
bf709f805e pass elements to flashlist instead of functions 2026-02-17 12:38:09 -08:00
sepeterson
77847f5ed9 MOB-1190: trim unneeded comments 2026-02-17 10:06:51 -06:00
sepeterson
aeb06d135f Merge branch 'main' into mob-1190-obsdetails-screens-not-cleared-from-nav-stack-degrading 2026-02-17 10:04:54 -06:00
sepeterson
d3033bff3a Merge branch 'main' into mob-135-audit-use-of-useeffect-throughout-inat-next 2026-02-17 10:01:48 -06:00
Johannes Klein
1742d98597 Mob 1042 type functions that have an eslint warning (#3377)
* These functions are already typed from the tip AIDebugButton

* This function is already typed from the tip AIDebugButton

* This is actually not a function

* This is a press on a text but we do not need gesture event

* Type function from how it is used in this component

* Make multiline

* This is a function for a Pressable

* We already typed this from above in ExploreV2

* Type a function from how it is used in this component

* This is never called with null

* This is also never called with null as an argument

* Type two functions as they are used here because this is the tip for these props

Note: I keep observations as object because the prop is the same.

* Type this as is used below in accessibleTaxonName

Note: Ultimately this should be type TFunction from i18next I think.

* Type functional component props

Never quite sure how to do these
2026-02-16 11:38:12 +01:00
Johannes Klein
abfb6a3ce8 Mob 1100 update react-native-maps-package to latest (#3376)
* Update package.json

* Update package-lock.json

* Update Podfile.lock

* Create react-native-maps.js

* Add function mock
2026-02-16 11:37:58 +01:00
sepeterson
29ea20fd21 MOB-1190: preserve state of other tabs 2026-02-13 16:42:52 -06:00
Abbey Campbell
fe731da5cd Merge pull request #3356 from inaturalist/mob-187-notifications-should-time-out-when-theres-low-connectivity
show offline/retry state for notifications when request takes too long
2026-02-13 14:10:29 -08:00
sepeterson
f186e3e572 MOB-1190: freeze screens back on the stack 2026-02-13 14:58:34 -06:00
sepeterson
e8f24aacd5 MOB-1190: reset stack navigators on same tab press 2026-02-13 13:55:34 -06:00
sepeterson
8b4ae6a661 MOB-1190: first pass match container simplification 2026-02-13 10:55:36 -06:00
Ryan Stelly
82438e0fae don't query with a placeholder observation id (#3367) 2026-02-12 13:33:28 -06:00
iNaturalist Crowdin Sync
cd44faacc5 New Crowdin translations by GitHub Action (#3374)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-12 15:57:32 +01:00
Johannes Klein
85484b9383 Add release notes to crowdin.yml (#3370)
This means they will get pushed to crowdin from source code, and translations will get pulled into the fastlane metadata folder.
2026-02-12 14:21:28 +01:00
Johannes Klein
dc10570068 Merge pull request #3372 from inaturalist/l10n_main
New Crowdin Translations

Enable Faroese
2026-02-12 14:20:55 +01:00
Crowdin Bot
c5d09b8c9d New Crowdin translations by GitHub Action 2026-02-12 06:26:36 +00:00
Johannes Klein
4c474c1137 v1.0.16+198 v1.0.16+198 2026-02-12 00:59:02 +01:00
Johannes Klein
46b5c2040c Merge pull request #3371 from inaturalist/revert-sensitive-info-update
Revert "Update react-native-sensitive-info to 5.6.2 (#3346)"
2026-02-12 00:57:28 +01:00
Johannes Klein
4bd596074c Revert "Update react-native-sensitive-info to 5.6.2 (#3346)"
This reverts commit d30e788ed0.
2026-02-11 23:51:15 +01:00
Johannes Klein
d24dd68f06 Merge pull request #3369 from inaturalist/gem-updates
Some Gem updates
2026-02-11 15:01:04 +01:00
Johannes Klein
b7958632d2 Do bundle lock --add-platform arm64-darwin-23 2026-02-11 13:32:41 +01:00
Johannes Klein
b0bb0425af Do bundle lock --add-platform x86_64-linux 2026-02-11 13:27:41 +01:00
Johannes Klein
82c2a8c81e v1.0.16+197 2026-02-11 13:16:55 +01:00
Johannes Klein
11a3810a69 v1.0.16+197 v1.0.16+197 2026-02-11 12:52:41 +01:00
Johannes Klein
32915c37da Run 'bundle install' and 'bundle update' 2026-02-11 12:50:26 +01:00
Johannes Klein
ec04a751ea Newer versions of fastlane specify being dependent on these now 2026-02-11 12:48:59 +01:00
Johannes Klein
bd19efafb4 Update to version 1.0.16 2026-02-11 12:27:35 +01:00
iNaturalist Crowdin Sync
f373037f16 New Crowdin translations by GitHub Action (#3368)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-11 11:23:05 +01:00
Johannes Klein
d66a87807a Mob 1175 add the revised more evergreen text to the app store (#3365)
* Create release_notes.txt

* Remove prompt for release notes in prod lane

Removing the `release_notes: release_notes,`from the deliver call means fastlane falls back to defaults, for example looking for the text in default/release_notes.txt

* Remove two unused variables
2026-02-11 01:24:36 +01:00
Johannes Klein
5277e21ed5 Update @tanstack/react-query to 5.90.20 (#3358)
* update react-query to latest

* Update package.json

* Update package.json

* Update package-lock.json

* Update package-lock.json

* Update .eslintrc.js

* Update package.json

* Update package-lock.json

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Bump

* Last bump

* Last bump eslint plugin

* Tilde is fine here

---------

Co-authored-by: Ryan Stelly <ryan.stelly@live.com>
2026-02-10 23:42:54 +01:00
Johannes Klein
d30e788ed0 Update react-native-sensitive-info to 5.6.2 (#3346)
* Update react-native-sensitive-info

* Delete react-native-sensitive-info+6.0.0-alpha.9.patch

* Migrate sensitive info error handling

* Lint rules changes

* Add comment

* Remove incomplete type

* Add hasItem mock

* Update type

* Remove exported function getUsername

This is nowhere imported, used only in AuthenticationService. Have added the only function that makes use of getSensitiveItem( "username" ) = isCurrentUser to the Auth integration test instead.

* Update package-lock.json

* Update Podfile.lock

* Replace string with exported error code

* Add try catch to hasItem call
2026-02-10 23:42:35 +01:00
Abbey Campbell
af2f9e5b78 Merge pull request #3363 from inaturalist/mob-774-update-all-usages-of-map-to-not-use-region-prop
use initialRegion and regionToAnimate for maps
2026-02-10 11:04:05 -08:00
Abbey Campbell
d37169f951 make empty state null, rm extraneous curRegion value 2026-02-10 09:42:30 -08:00