Commit Graph

1973 Commits

Author SHA1 Message Date
Johannes Klein
0c052bfa54 FullPageWebScreen screen needs no top inset
E.g. About -> Privacy Policy
2025-11-05 14:29:04 +01:00
Johannes Klein
1137a05605 Match screen needs no top inset 2025-11-05 14:28:06 +01:00
Johannes Klein
041c559e21 Make eslint happy 2025-11-05 14:27:17 +01:00
Johannes Klein
da49d1e2d3 Make top insets optional 2025-11-05 14:25:38 +01:00
Johannes Klein
425c2f64f9 Remove bottom inset from ViewWrapper
It is more the case that we do not want this than that we do want this.
2025-11-05 14:10:28 +01:00
Ryan Stelly
5e3093132a Merge pull request #3184 from frewsxcv/infinit
Migrate `InfiniteScrollLoadingWheel` to TypeScript
2025-11-04 14:52:24 -06:00
Ryan Stelly
9924bdfd7b Merge pull request #3185 from frewsxcv/access
Remove unused accessibility props on `INatIconButton` usage.
2025-11-04 14:38:26 -06:00
Ryan Stelly
0048c822d7 Merge pull request #3166 from inaturalist/MOB-974-safe-area-view-context-cutover
fully cutover to react-native-safe-area-context and fix safe area issues
2025-11-04 10:35:56 -06:00
Ryan Stelly
f9a0140c86 Merge pull request #3171 from frewsxcv/auth
Migrate `useAuthenticatedQuery` to TypeScript.
2025-11-04 09:25:05 -06:00
Ryan Stelly
adf355ec5c remove debug commentout 2025-11-04 07:52:48 -06:00
Ryan Stelly
8e40eaa612 Merge branch 'main' into MOB-974-safe-area-view-context-cutover 2025-11-04 07:10:51 -06:00
Corey Farwell
457412e715 Migrate fetchUTFGridData.ts to TypeScript. (#3175) 2025-11-04 12:43:22 +01:00
Corey Farwell
aefdcf3a7e Remove unused accessibility props on INatIconButton usage. 2025-11-03 21:44:50 -05:00
Corey Farwell
dbef657230 Migrate InfiniteScrollLoadingWheel to TypeScript 2025-11-03 21:34:54 -05:00
Johannes Klein
9c3b5f235f New Crowdin translations by GitHub Action (#3178)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-11-04 01:28:22 +01:00
Ryan Stelly
3bbda213fb set padding to 54 to match mocks 2025-11-03 09:01:49 -06:00
Ryan Stelly
1bafc9673c fix a few area view bugs, revert provider change 2025-11-02 14:38:23 -06:00
Corey Farwell
9eae46b536 Migrate fetchTaxonAndSave to TypeScript. 2025-11-01 12:34:51 -04:00
Ryan Stelly
642f6729e2 Merge branch 'main' into MOB-974-safe-area-view-context-cutover 2025-10-31 17:35:45 -05:00
Corey Farwell
fd8ff50315 Migrate useAuthenticatedQuery to TypeScript. 2025-10-31 12:28:31 -04:00
Abbey Campbell
50761c5e95 reverse spread order for grid styles 2025-10-31 09:24:08 -07:00
Ryan Stelly
b9f9762bb7 Merge branch 'main' into MOB-974-safe-area-view-context-cutover 2025-10-31 10:34:01 -05:00
Ryan Stelly
d523bf4d99 Merge pull request #3112 from FLGMwt/fix-developer-warning-login-screen
fix developer warning on login screen, provide react key
2025-10-31 08:45:47 -05:00
Ryan Stelly
324c263759 Merge pull request #3152 from frewsxcv/node-babel
feat(build): Unify JS config for i18n and scripts
2025-10-30 15:17:12 -05:00
Ryan Stelly
2c5e74d7d3 Merge pull request #3167 from frewsxcv/usecurrentusre
Resolve all type errors in `src/sharedHooks/useCurrentUser.ts`.
2025-10-30 12:36:10 -05:00
Ryan Stelly
4ee80d1542 Merge pull request #3163 from inaturalist/update-flashlist
Update @shopify/flash-list to version 2
2025-10-30 11:00:38 -05:00
Ryan Stelly
38d8f774fe add taxon types 2025-10-30 10:46:49 -05:00
Corey Farwell
6e066e86a7 inline 2025-10-30 11:44:09 -04:00
Corey Farwell
cd28b748df empty changeset 2025-10-30 11:36:19 -04:00
Corey Farwell
0561b9dcb2 change type definition 2025-10-30 11:17:55 -04:00
Corey Farwell
f49b647611 restore arity==2 2025-10-30 11:09:26 -04:00
Corey Farwell
77c3eee481 feat(build): Unify JS config for i18n and scripts
This change introduces `babel-node` to the development workflow, allowing the project to use modern JavaScript features like ES modules (`import`/`export`) in our build scripts and i18n command-line interface.

Previously, scripts in the `i18n` directory and the `scripts` directory were executed directly with `node`, which required them to use CommonJS (`require`/`module.exports`) and prevented the use of other Babel transformations that are standard across the rest of the project.

By switching to `babel-node`, this project now has unified JavaScript tooling, and now developers are no longer required to know which files need to use CommonJS (none anymore!).
2025-10-30 11:01:00 -04:00
Corey Farwell
b580bf2a1d Resolve all type errors in src/sharedHooks/useCurrentUser.ts. 2025-10-30 10:32:09 -04:00
Ryan Stelly
1182775800 MOB-974 fully cutover to react-native-safe-area-context and fix safe area issues 2025-10-29 16:22:48 -05:00
Johannes Klein
1d94daf78a New Crowdin translations by GitHub Action (#3158)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-10-29 12:02:49 +01:00
Johannes Klein
6fc1da07f7 Remove deprecated (React 19) forwardRef 2025-10-28 16:44:49 +01:00
Johannes Klein
ada0cfb74e Fix type import 2025-10-28 16:43:23 +01:00
Johannes Klein
b742a1ff58 Migrate to use FlashListRef type 2025-10-28 16:16:48 +01:00
Johannes Klein
b5b0156dbe Remove deprecated disableAutoLayout prop 2025-10-28 16:10:22 +01:00
Johannes Klein
129052778d Remove Function type 2025-10-28 16:09:55 +01:00
Johannes Klein
bac5d02289 Remove deprecated estimatedItemSize prop 2025-10-28 16:07:17 +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
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
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
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