Commit Graph

1749 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
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
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
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
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
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
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
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
sepeterson
ec8699df18 MOB-674 use white on green styling boolean for white text too 2025-11-07 10:18:31 -06:00
Abbey Campbell
4870dae72a Merge pull request #3189 from inaturalist/mob-797-change-the-green-checkmark-under-top-id-suggestion-on-the
remove misleading suggestion checkmark state
2025-11-06 13:52:17 -08:00
Abbey Campbell
8de05148dc move icon button inline 2025-11-06 12:53:10 -08:00
sepeterson
e29f7365ac MOB-674 shrinking status text 2025-11-06 13:25:26 -06:00
sepeterson
de059c4179 MOB-674 fine tune flex and margins 2025-11-06 10:49:20 -06:00
Abbey Campbell
cebbcfa061 remove misleading suggestion checkmark state 2025-11-05 15:10:01 -08:00
sepeterson
d09ccd313d MOB-674 figure out how to use flex 2025-11-05 15:59:54 -06:00
Ryan Stelly
e5f98eb2d9 Merge pull request #3183 from frewsxcv/location
Fix type error and unnecessary rendering in `LocationIndicator`.
2025-11-05 11:58:32 -06:00
Ryan Stelly
c2c885a5ea Merge pull request #3186 from frewsxcv/warning-sheet
Resolve all type errors in `WarningSheet` component.
2025-11-05 11:56:55 -06:00
Johannes Klein
2fcb4347b2 Reinstate a11y label which was erroneously prop'd as state
And move hint to correct prop
2025-11-05 17:17:07 +01:00
Corey Farwell
63e31428fb different format 2025-11-05 10:00:57 -05:00
Corey Farwell
9121e003e5 conditional binary expression 2025-11-05 09:59:14 -05:00
Corey Farwell
308744534c Merge remote-tracking branch 'origin/main' into location 2025-11-05 09:58:20 -05:00
Corey Farwell
8b178dd4f7 Resolve all type errors in WarningSheet component. 2025-11-05 09:15:56 -05:00
Johannes Klein
0c63ce9aab ProjectsList needs no top inset 2025-11-05 15:10:29 +01:00
Johannes Klein
f6b6122699 FollowersList needs no top inset 2025-11-05 15:09:58 +01:00
Johannes Klein
dc80187353 FollowingList needs no top inset 2025-11-05 15:09:24 +01:00
Johannes Klein
c2da85a8e5 Suggestions needs no top inset 2025-11-05 14:53:29 +01:00
Johannes Klein
ed99dd5dde TaxonSearch does not use top insets
In cases where it is imbedded in a full screen, like from Suggestions. In the case of Explore modal we now have two ViewWrappers around TaxonSearch which is confusing and should be refactored but it works regarding insets because the inner wrapper now has no insets.
2025-11-05 14:38:17 +01:00
Johannes Klein
9c6ca0b78e Give TaxonSearch it's own outer wrapper when in Explore modal
header prop can also be removed then
2025-11-05 14:36:27 +01:00
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