Commit Graph

2053 Commits

Author SHA1 Message Date
Abbey Campbell
62bbd5415c move triggerCondition logic inside an effect 2025-11-17 18:26:53 -08:00
Abbey Campbell
4a45896703 extract tooltip modal to separate component 2025-11-17 13:49:55 -08:00
Abbey Campbell
578f1d5ce4 fix tooltip implementation 2025-11-17 12:48:22 -08:00
Abbey Campbell
df348283ae add back tooltip 2025-11-17 12:05:26 -08:00
Abbey Campbell
29f13531f9 bring ui to parity with design 2025-11-14 15:58:31 -08:00
Yaron Budowski
9c2facc680 MOB-925 - new designs for add-obs button sheet 2025-11-14 14:19:05 -08:00
Seth Peterson
a564f85ba0 Merge pull request #3222 from frewsxcv/react
Fix issue where component does not return `Element | null`.
2025-11-14 09:18:18 -06:00
Seth Peterson
55354e23f0 Merge pull request #3221 from frewsxcv/frewsxcv-240FC0C7-86BF-40B6-BCF7-DEC15AB7E4F8
Migrate `tryToReplaceWithLocalTaxon` to TypeScript.
2025-11-14 09:17:55 -06:00
Seth Peterson
06e9a52549 Merge pull request #3220 from frewsxcv/frewsxcv-179CFAFB-167B-46E2-A7D5-091C8ED211F1
Migrate `src/components/Match/EmptyMapSection` to TypeScript.
2025-11-14 09:17:44 -06:00
Seth Peterson
07d21dcc26 Merge pull request #3219 from frewsxcv/header
Migrate `src/components/LoginSignUp/Header` to TypeScript.
2025-11-14 09:17:35 -06:00
Seth Peterson
cc5b34e5b2 Merge pull request #3218 from frewsxcv/footer
Migrate `src/components/LocationPicker/Footer` to TypeScript.
2025-11-14 09:17:23 -06:00
Seth Peterson
2ef1708e46 Merge pull request #3214 from frewsxcv/logstage
Remove unused `logStage` option on `useWatchPosition` function.
2025-11-14 09:17:14 -06:00
Seth Peterson
03430f084c Merge pull request #3212 from frewsxcv/geolocation
Fix outstanding type errors in `src/sharedHelpers/geolocationWrapper.ts`.
2025-11-14 09:16:37 -06:00
Seth Peterson
077df9b499 Merge pull request #3210 from frewsxcv/fetchPlaceName
Resolve only type error in `src/sharedHelpers/fetchPlaceName.ts`.
2025-11-14 09:16:25 -06:00
Seth Peterson
e6f8b8cacb Merge pull request #3208 from frewsxcv/auth-mutation
Migrate `useAuthenticatedMutation` to TypeScript
2025-11-14 09:16:05 -06:00
Seth Peterson
6f59ad90b8 Merge pull request #3207 from frewsxcv/gradient
Fix type error in `src/components/SharedComponents/Buttons/GradientButton.tsx`.
2025-11-14 09:15:55 -06:00
Seth Peterson
ae1b568744 Merge pull request #3206 from frewsxcv/content
Migrate `src/components/SharedComponents/ObsDetails/ContentWithIcon` to TypeScript.
2025-11-14 09:15:43 -06:00
Seth Peterson
74aafced2d Merge pull request #3205 from frewsxcv/auth-query
Improve return typing of `src/sharedHooks/useAuthenticatedQuery` function.
2025-11-14 09:15:33 -06:00
Seth Peterson
76fae43c7f Merge pull request #3203 from frewsxcv/casting
Remove unnecessary type casting in `src/sharedHelpers/taxon.ts`.
2025-11-14 09:15:21 -06:00
Ryan Stelly
fd712f10e2 typescriptify Developer.js and refactor size calculation (#3176)
* typescriptify Developer.js and refactor size calculation

* remove logs

* fix typography component types / spacing, clean up naming

* fix type annotation, unused export, and variable name
2025-11-13 16:43:41 -06:00
Abbey Campbell
799efb8b4c Merge pull request #3204 from frewsxcv/useDebugMode
Migrate `src/sharedHooks/useDebugMode` to TypeScript.
2025-11-13 11:13:15 -08:00
Abbey Campbell
6d4ffc574d Merge pull request #3201 from frewsxcv/tailwin
Introduce a type declaration file for Tailwind config colors.
2025-11-13 11:12:19 -08:00
Abbey Campbell
1387609657 Merge pull request #3198 from frewsxcv/translations
Migrate `src/api/translations` to TypeScript.
2025-11-13 11:11:22 -08:00
Corey Farwell
de666803e7 Fix issue where component does not return Element | null. 2025-11-12 13:58:08 -05:00
Corey Farwell
c6bd05edb1 Migrate tryToReplaceWithLocalTaxon to TypeScript. 2025-11-12 12:32:37 -05:00
Corey Farwell
56a9793371 Migrate src/components/Match/EmptyMapSection to TypeScript. 2025-11-12 12:21:39 -05:00
Corey Farwell
1978d86f58 Migrate src/components/LoginSignUp/Header to TypeScript. 2025-11-12 00:20:10 -05:00
Corey Farwell
6a603656f9 Migrate src/components/LocationPicker/Footer to TypeScript. 2025-11-12 00:19:19 -05:00
Abbey Campbell
2a61f157fa Merge pull request #3215 from frewsxcv/index
Migrate `src/navigation/BottomTabNavigator/index` to TypeScript.
2025-11-11 15:56:22 -08:00
Abbey Campbell
55b3f952b0 Merge pull request #3213 from frewsxcv/sentinel
Fix only type error in `src/sharedHelpers/sentinelFiles.ts`.
2025-11-11 15:55:20 -08:00
Abbey Campbell
5a848b44ee Merge pull request #3199 from frewsxcv/error2
Simplify `name` property setting on API error classes.
2025-11-11 15:05:58 -08:00
Abbey Campbell
4dc2afd4ba Merge pull request #3202 from frewsxcv/reactnode
Replace usages of `React.Node` with `React.ReactNode`.
2025-11-11 15:05:17 -08:00
Corey Farwell
dee5a1a4e3 Migrate src/navigation/BottomTabNavigator/index to TypeScript. 2025-11-11 15:04:43 -05:00
Corey Farwell
588e7f592c Remove unused logStage option on useWatchPosition function. 2025-11-11 14:34:20 -05:00
Corey Farwell
fe36ce9115 Fix only type error in src/sharedHelpers/sentinelFiles.ts. 2025-11-11 14:19:48 -05:00
Corey Farwell
9c7e09e0f1 Fix outstanding type errors in src/sharedHelpers/geolocationWrapper.ts. 2025-11-11 14:08:51 -05:00
Corey Farwell
87f1b9f21f Resolve only type error in src/sharedHelpers/fetchPlaceName.ts. 2025-11-11 13:56:59 -05:00
Corey Farwell
d16d54719e Migrate useAuthenticatedMutation to TypeScript 2025-11-11 13:34:06 -05:00
Corey Farwell
fa1333f005 Fix type error in src/components/SharedComponents/Buttons/GradientButton.tsx. 2025-11-11 01:21:04 -05:00
Corey Farwell
a085434ae3 Migrate src/components/SharedComponents/ObsDetails/ContentWithIcon to TypeScript. 2025-11-11 01:17:47 -05:00
Corey Farwell
89d5d258c2 Improve return typing of src/sharedHooks/useAuthenticatedQuery function. 2025-11-11 01:05:28 -05:00
Corey Farwell
6fe7e4ed24 Migrate src/sharedHooks/useDebugMode to TypeScript. 2025-11-11 01:02:14 -05:00
Corey Farwell
ad1f0da433 Remove unnecessary type casting in src/sharedHelpers/taxon.ts. 2025-11-10 16:45:24 -05:00
Corey Farwell
e081b3a414 Replace usages of React.Node with React.ReactNode.
The React TypeScript types define the latter, but not the former.
2025-11-10 16:38:23 -05:00
Corey Farwell
4c8d4002df Introduce a type declaration file for Tailwind config colors. 2025-11-10 16:32:07 -05:00
Corey Farwell
e87de2c7c4 Simplify name property setting on API error classes. 2025-11-10 13:53:56 -05:00
Corey Farwell
3c31bc228a Migrate src/api/translations to TypeScript. 2025-11-10 13:48:52 -05:00
Abbey Campbell
e04a183f35 consider incomplete observations uploadable for logged out users 2025-11-07 18:29:23 -08:00
Seth Peterson
2ef310e0a4 Merge pull request #3182 from inaturalist/mob-674-upload-status-text-should-wrap
MOB-674 upload status text to 2 lines if necessary
2025-11-07 13:37:05 -06:00
Ryan Stelly
78632c9ffb Merge pull request #3192 from frewsxcv/error
Migrate `src/api/error.js` to TypeScript.
2025-11-07 12:41:13 -06:00