Commit Graph

4199 Commits

Author SHA1 Message Date
Crowdin Bot
1e900be262 New Crowdin translations by GitHub Action 2026-05-06 06:57:27 +00:00
Johannes Klein
148fb0066a v1.0.21+211 v1.0.21+211 2026-05-05 22:36:04 +02:00
Johannes Klein
a6516b7413 Bundle update fastlane 2026-05-05 22:03:51 +02:00
Johannes Klein
4431d16ce3 Update version to 1.0.21 2026-05-05 22:02:13 +02:00
Johannes Klein
2b0ee01446 Merge branch main into beta 2026-05-05 21:59:58 +02:00
Johannes Klein
1ebfea65af Merge branch 'release' into beta 2026-05-05 21:37:52 +02:00
Johannes Klein
5ad7c7a2ae Clarify semi logged out screen text (#3587)
* Change call to action string

* Update strings.ftl
2026-05-05 17:26:43 +02:00
Johannes Klein
417d95ddee Fix list component remounting in GroupPhotos (#3588)
* Rename GroupPhotos to tsx file

* Type functions

* Type onLayout prop

* Remove flow

* Rename GroupPhotoImage to tsx

* Remove flow

* Preliminary type for function prop

* Item interface as is consumed here

* Add type for style

* Type props passed in to GroupPhotoImage

* This is not exported from the hook

* Pass 0 as fallback

Adding ?? 0 passes always a number. Before onLayout height is unknown but since show is false this fallback here should not change anything, only make TS happy because it can't infer from the above check of === number.

* Type list data

* Type data that is propped in

* Type function params

* Helper to check for empty item that solves TS errors

* Fix No inline style

* Reorder

* Wrap header component in useMemo
2026-05-05 16:48:14 +02:00
Johannes Klein
90ea87d9cd Remove TODO (#3590) 2026-05-05 16:44:57 +02:00
Johannes Klein
f960d66616 Remove comment (#3589) 2026-05-05 16:44:33 +02:00
iNaturalist Crowdin Sync
65a71e2942 New Crowdin translations by GitHub Action (#3583)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-05 16:43:57 +02:00
Abbey Campbell
92d81d7be8 Mob 1239 obs sheet not dismissing (#3576)
* use bottom sheet api instead of returning null when hidden

* dedupe inside modal dismiss logic

* rename handleSnapPress -> openSheet

* ts fixes and split render into two branches

* fix integration test so we check for BottomSheet behavior rather than child absence

* snapshot updates + comments

* prevent hidden-state BottomSheet dismiss from triggering onPressClose

* port changes from BottomSheet to BottomSheetV2
2026-05-04 20:40:10 +02:00
Johannes Klein
5427c106c1 When a user has 100 obs uploaded show Advanced Mode banner (#3564)
* Refactor dismiss button into own component

* Add an active opacity

* First iteration of the advanced mode banner

* Add dismiss state to layout slice

* Use layout slice state to dismiss banner

* Rename header file

* Refactor header to control wether to show error state

* Add Advanced mode banner to header

If a user is logged in AND has 100+ obs uploaded AND is in default mode, show a new banner that appears above observations and beneath announcements

* Reuse banner dismiss button in Login banner

* Remove function wrapper

* Forgot to prop in number of observations

* Import layout slice properties directly

* Import directly from layout slice

* Keep AdvancedModeBanner purely presentational

* Update AdvancedModeBanner.tsx

* Text buttons use the actual text as label I think

* Update AdvancedModeBanner.tsx
2026-05-04 11:38:36 +02:00
sepeterson
f5564a32d5 MOB-1329: link to exhaustiveness check doc 2026-05-01 11:00:11 -05:00
sepeterson
0ba8150abc MOB-1329: cleanup for review 2026-05-01 10:46:44 -05:00
Ryan Stelly
4688486bba useQuery's refetch doesn't respect enabled (#3582)
* useQuery's refetch doesn't respect enabled

* oops, log

* guard in event listener
2026-05-01 10:36:41 -05:00
sepeterson
d22fbd459d MOB-1329: nav typing 2026-05-01 10:26:08 -05:00
sepeterson
289bc228c0 MOB-1329: tests 2026-05-01 10:16:34 -05:00
sepeterson
9b839352db MOB-1329: explore obs cleanup 2026-05-01 08:28:20 -05:00
Johannes Klein
28a71a98e3 Merge pull request #3580 from inaturalist/beta
Merge beta into main
2026-05-01 12:14:37 +02:00
dependabot[bot]
8a7696a949 Bump uuid from 11.1.0 to 11.1.1 (#3568)
* Bump uuid from 11.1.0 to 14.0.0

Bumps [uuid](https://github.com/uuidjs/uuid) from 11.1.0 to 14.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 14.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update package.json

* Update package-lock.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2026-05-01 12:11:46 +02:00
Abbey Campbell
3f873f3575 Merge pull request #3584 from inaturalist/mob-1201-fix-list-component-remounting-in-myobservationssimpletsx
pass memoized footer element in myobssimple
2026-04-30 13:11:15 -07:00
Ryan Stelly
b1ab800815 clean up old logfiles (#3581)
* cleanup old log files

* add cleanup deferred startup task

* remove legacy log management

* remove storage logging for logfile size

* fix path export
2026-04-30 14:26:52 -05:00
Abbey Campbell
8ba188558a pass memoized footer element in myobssimple 2026-04-30 09:32:00 -07:00
sepeterson
fde15efdcc MOB-1329 dedicated location property in explore v2 context 2026-04-30 10:47:33 -05:00
sepeterson
530c45d2ad MOB-1329: combine container useEffects 2026-04-30 10:37:03 -05:00
sepeterson
8eeb2566f2 MOB-1329: explicitly uninitialized place mode 2026-04-30 10:33:22 -05:00
sepeterson
951a3e5ce0 MOB-1329: query params comment 2026-04-30 10:07:33 -05:00
sepeterson
96a5db6eed MOB-1329: single explore subject property 2026-04-30 10:01:30 -05:00
sepeterson
23efd85ddc MOB-1329: context cleanup 2026-04-30 09:56:29 -05:00
sepeterson
9acf85f743 MOB-1329: rename entity -> subject 2026-04-30 09:33:27 -05:00
sepeterson
d977e731b1 MOB-1329: clarify comments 2026-04-30 09:25:39 -05:00
sepeterson
c431af454f MOB-1329: clean up permission granted useEffect 2026-04-30 09:20:40 -05:00
sepeterson
6aecc2505b MOB-1329: first pass 2026-04-30 08:53:52 -05:00
Ryan Stelly
8f865bb68a Update react hooks eslint for 19.2 (#3574)
* update eslint-plugin-react-hooks and enable recommended w/ comments

* remove count comments

* turn on warnings
2026-04-29 16:19:13 -05:00
Johannes Klein
1f239de741 v1.0.20+210 v1.0.20+210 2026-04-28 22:57:42 +02:00
Johannes Klein
fe2a2ba126 Remove temporary fastlane workaround
This is fixed by release fastlane (2.233.0)
2026-04-28 22:55:53 +02:00
Johannes Klein
bbd8b587bc Merge pull request #3579 from inaturalist/main
Merge main into beta
2026-04-28 22:17:48 +02:00
Ryan Stelly
3e5c85f9b8 retrigger notification query on effect rather than new query (#3573)
* retrigger notification query on effect rather than new query

* move unviewedObs refetch to effect

* fix test

* Remove trailing whitespaces

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2026-04-28 13:28:02 -05:00
dependabot[bot]
4fce2f4889 Bump postcss from 8.4.38 to 8.5.10 (#3570)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.38 to 8.5.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.38...8.5.10)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-28 19:05:30 +02:00
dependabot[bot]
ca54ca9ecf Bump @xmldom/xmldom from 0.8.12 to 0.8.13 (#3567) 2026-04-28 18:26:14 +02:00
Johannes Klein
c2a1f07552 Add TODOs for Api fields restrictions (#3569)
* Mark API calls that do not use the fields param

* Add more TODOs to api calls

* Remove TODO

* Remove some TODOs

* Update task

* Add tickets

* Not required

* Add tickets

* Update ProjectDetailsContainer.js
2026-04-28 17:24:05 +02:00
Johannes Klein
a29bfc07b9 Toggle advanced mode for users that have 100 obs while logging in (#3560)
* Type navigation

* Refactor return type of authenticate user to be an object

* Update AuthenticationService.test.js

* Also return number of uploaded observations from user authentication

* Type navigation

* Update types.ts

* Update types.ts

* We do check if this is defined above

* If a user has more than 100 uploaded obs switch them to advanced mode

* Update LoginForm.tsx

* Add test coverage for remote user with observations
2026-04-28 15:20:09 +02:00
Ryan Stelly
1c2fa62d1d Use zustand for debug mode state (#3556)
* add debugMode layout state and use for hook

* don't return toggle from GP hook

* fix four bad isDebugMode calls

* fix 6 more bad isDebugMode calls

* move non-hook debugMode check to local where it's needed
2026-04-27 09:41:20 -05:00
Ryan Stelly
c594517740 add lint rule for lodash imports (#3552)
* add lint rule for lodash imports

* fix lodash imports in i18ncli/ftl.js
2026-04-24 11:04:34 -05:00
Abbey Campbell
f4f1e62e10 Merge pull request #3538 from inaturalist/mob-713-project-search-typing-in-k-causes-a-crash
Mob 713 project search typing in k causes a crash
2026-04-23 12:20:49 -07:00
Johannes Klein
4ea4245756 Fix list component remounting in Projects.tsx (#3559) 2026-04-23 17:36:35 +02:00
Seth Peterson
3b2e9163ea Merge pull request #3566 from inaturalist/mob-1317-losing-evidence-pictures-taken-in-inaturalist-camera-cannot
MOB-1317: replace delete mode overlay modal with wrapping pressable
2026-04-23 09:51:03 -05:00
sepeterson
fc9ef05c28 MOB-1317: no deletePhotoMode dep on setter 2026-04-23 09:30:04 -05:00
sepeterson
a174cd2261 MOB-1317: update snaps 2026-04-22 17:11:51 -05:00