Commit Graph

618 Commits

Author SHA1 Message Date
Abbey Campbell
409f0edace update snapshots 2026-01-15 13:32:06 -08:00
sepeterson
cf5ab3abe2 MOB-968: test fix 2026-01-12 12:17:42 -06:00
sepeterson
20fd3559bb MOB-968: don't make user discard match for automatic obs updates 2026-01-12 11:55:29 -06:00
sepeterson
2c3206e7fe Merge branch 'main' into mob-1077-cannot-go-back-from-edit-saved-observation-screen 2026-01-09 16:54:24 -06:00
sepeterson
0baef4ab75 MOB-721: consolidate test files 2026-01-09 09:11:38 -06:00
sepeterson
287cb5b94c MOB-721: fix tests, linting, and some visual bugs 2026-01-07 17:08:19 -06:00
sepeterson
a8deb6f5f3 MOB-721: first pass component consolidation 2026-01-06 19:16:02 -06:00
sepeterson
7bb9831198 MOB-1077: navigate back from obs edit discard changes for match flow 2026-01-05 10:20:29 -06:00
sepeterson
964451ae33 MOB-1077 better component name 2026-01-01 18:40:14 -06:00
sepeterson
02cbf91aa1 MOB-1077: rm SavedMatchHeaderRight and add unit tests 2025-12-29 14:03:00 -06:00
sepeterson
1120de6e87 MOB-1077: split out matchscreentopcontent 2025-12-29 11:24:32 -06:00
Ryan Stelly
90db20c81e MOB-988 types supporting online/offline experiment flag (#3257)
* MOB-988 types supporting online/offline experiment flag

* typescript improvements to useSuggestions

* git test checkpoint

* revert functional changes and lessen change to type normalization

* undefify score params

* fix remaining type errors, tests

* reenable slack notif

* lint fixes from merge

* nullable common_ancestor
2025-12-26 21:00:29 -06:00
Ryan Stelly
b78be9243d lint rule & autofix for "trailing comma" (#3299)
* (lint) MOB-1063 enforce trailing commas

* autofix trailing commas

* manually fix newly introduced maxlen violations

* add trailing comma convention to i18n build
2025-12-22 20:17:13 -06:00
sepeterson
ebaf672a20 Merge branch 'main' into mob-722-pt2 2025-12-18 10:35:53 -06:00
sepeterson
722edb2928 MOB-722: toBeVisible 2025-12-18 10:34:31 -06:00
sepeterson
8839c21c3a MOB-722: photo section test fixes 2025-12-18 10:20:26 -06:00
Seth Peterson
84d4e19329 Merge pull request #3295 from inaturalist/mob-722-pt1
MOB-722 Match screen unit tests part one
2025-12-18 09:22:21 -06:00
sepeterson
eb0191f2f5 MOB-722: toBeVisible 2025-12-17 13:24:28 -06:00
sepeterson
0558de720c MOB-722: unneeded beforeAll 2025-12-15 16:03:29 -06:00
sepeterson
92240bcb70 MOB-722: unclear wording 2025-12-15 15:41:08 -06:00
sepeterson
85163958ed MOB-722: unneeded mock 2025-12-15 15:38:36 -06:00
sepeterson
42c7beab45 MOB-722: unneeded beforeall 2025-12-15 15:33:44 -06:00
sepeterson
40a7f912dd MOB-722 use a test taxon where the common name does not contain the scientific name 2025-12-15 15:26:20 -06:00
sepeterson
4f54996951 MOB-722 saved match unit tests part 2 2025-12-12 15:44:55 -06:00
Johannes Klein
741f053716 Remove mock (#3287) 2025-12-12 21:02:54 +01:00
Abbey Campbell
2c6eb6622a Merge pull request #3271 from inaturalist/mob-963-change-slideover-menu-to-be-a-static-page
Mob 963 change slideover menu to be a static page
2025-12-12 10:27:37 -08:00
Corey Farwell
c36c94a5df Remove unneeded getImageDimensions helper function. (#3200)
* Remove unneeded `getImageDimensions` helper function.

The built-in React Native function has an `async` API that we can call directly.

* Legit test failure

* Import Image from React Native

* Prefer using styledComponents.Image.getSize

* Revert "Prefer using styledComponents.Image.getSize"

This reverts commit 103ca9b3ef.
2025-12-12 10:58:42 +01:00
sepeterson
282fcf9c21 MOB-722 match unit tests part one 2025-12-11 17:11:03 -06:00
Abbey Campbell
0c07017ac6 update testID 2025-12-11 14:17:39 -08:00
Abbey Campbell
caca94fb48 update more tests and snapshots 2025-12-09 18:46:40 -08:00
Abbey Campbell
b8375e0254 update tests and snapshots 2025-12-09 18:46:40 -08:00
sepeterson
7ea31b224e Merge branch 'mob-512-implement-saved-match-screen' of https://github.com/inaturalist/iNaturalistReactNative into mob-512-implement-saved-match-screen 2025-12-08 18:11:37 -06:00
sepeterson
0d42eab08a MOB-512 edit tests to rm unnecessary code, make consistent with greater test suite, and rm out of scope test 2025-12-08 18:10:32 -06:00
Johannes Klein
2a51f5ad9c Add a unit test for when taxon is undefined 2025-12-07 21:39:00 +01:00
sepeterson
dfcf12cc73 MOB-512 merge main 2025-12-04 21:31:43 -06:00
sepeterson
57d5996736 MOB-512 add component test to check for correct savedMatch or obsDetail component 2025-12-03 18:02:28 -06:00
Abbey Campbell
2ee99d6c7b fix tests 2025-12-02 13:29:00 -08:00
Abbey Campbell
5a212adf6e update snapshots 2025-12-01 14:29:50 -08:00
sepeterson
ab96a0be89 Merge branch 'main' into mob-512-implement-saved-match-screen 2025-11-25 08:11:28 -06:00
Abbey Campbell
6ed6c2b31b comment tooltip tests back in 2025-11-21 12:33:04 -08:00
sepeterson
19cb7064a6 MOB-512 minimal unit test fix and prop spreading allowed for tests 2025-11-21 10:12:59 -06:00
Abbey Campbell
8b33319935 rename test files 2025-11-20 18:05:38 -08:00
Abbey Campbell
a23597f001 add back tooltip tests 2025-11-17 18:48:31 -08:00
Abbey Campbell
578f1d5ce4 fix tooltip implementation 2025-11-17 12:48:22 -08:00
Yaron Budowski
9c2facc680 MOB-925 - new designs for add-obs button sheet 2025-11-14 14:19:05 -08:00
Ryan Stelly
e4d3bd796c switch spy to mock 2025-11-07 11:55:09 -06:00
Ryan Stelly
7086d00d42 MOB-1000 mock user to fix unit test flake 2025-11-06 12:56:39 -06:00
Johannes Klein
6b21c914bf Remove expectation towards a no longer accessible prop 2025-10-28 21:53:01 +01:00
Johannes Klein
b20a99adec Show offline profile picture in header (#3142)
* Rename file without changes

* Revert "Rename file without changes"

This reverts commit a3de5e100d.

* Rename file without changes

* Refactor InlineUserBase to TS

* Update component Props

* Import as type

* Check if the user displayed is the current user and if so

also display the user image while offline.

* Update src/components/SharedComponents/InlineUser/InlineUserBase.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update InlineUser.test.js

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-16 00:19:35 +02:00
Johannes Klein
6aa195ceaf Fix: Double border on user icon in Me tab (#3135)
* Use Image with nativewind styling instead of FasterImageView

* Update UserIcon.test.js.snap

* Update unit tests
2025-10-14 21:22:24 +02:00