Johannes Klein and Johannes Klein
425adedce6
Traditional projects: Hide required fields success banner when none are ( #4028 )
...
* Show PO validation banner only when there are required fields
* Test that AddToProjects does not show a status banner when a selected project has only optional fields
* It shows the incomplete required-fields banner when a required field is empty
* it shows completed required-fields banner when all required fields are filled
---------
Co-authored-by: Johannes Klein <17345891+jtklein@users.noreply.github.com >
2026-09-08 19:14:51 +02:00
Johannes Klein
791a5c458a
Test that AddToProjects shows a pencil icon on the project row
2026-08-26 00:20:26 +02:00
Johannes Klein
5527768b43
Test that AddToProjects renders POFs in order of position
2026-08-26 00:13:59 +02:00
Johannes Klein
7787bcf298
that it persists only completed projects when LEAVE is pressed
2026-08-20 22:35:05 +02:00
Johannes Klein
922b41bd3d
that it navigates back when LEAVE is pressed from SAVE with incomplete selections
2026-08-20 22:30:20 +02:00
Johannes Klein
7b6ab2b8b1
that it keeps editing when Missing info sheet is dismissed
2026-08-20 22:29:24 +02:00
Johannes Klein
ca790e15ed
Test that AddToProjects shows Missing info sheet when SAVE is pressed with an empty required field
2026-08-20 22:28:36 +02:00
Johannes Klein
2d0cac89bc
Code style
2026-08-20 22:13:51 +02:00
Johannes Klein
1e394d2712
Change test to soft-deletes only the deselected synced project observation
2026-08-13 13:43:45 +02:00
Johannes Klein
7691c04b68
Update test that checks for marking pending delete
2026-08-13 13:43:45 +02:00
Johannes Klein
b31eab47be
Remove projectObservationUuidsToDelete from tests
2026-08-13 13:43:23 +02:00
Johannes Klein
ccdfa0a820
Merge pull request #3846 from inaturalist/mob-1568-tpod-a3c-follow-up-joined-projects-pagination-and-chooser
...
Traditional projects: joined projects pagination
2026-08-10 12:15:36 +02:00
Johannes Klein
bd4751752f
does not sync again when connectivity is lost and regained
2026-08-05 11:48:47 +02:00
Johannes Klein
f48c9842df
test it syncs once connectivity is restored
2026-08-05 11:48:47 +02:00
Johannes Klein
fa92514d65
does not sync while connectivity is still undetermined
2026-08-05 11:48:47 +02:00
Johannes Klein
112dacd86b
does not sync when offline
2026-08-05 11:48:47 +02:00
Johannes Klein
0723f5973b
Test that hook syncs joined projects when connected and signed in
2026-08-05 11:48:47 +02:00
Johannes Klein
c2725ebefe
Test that useSync hook does not sync when there is no current user
2026-08-05 11:48:47 +02:00
Johannes Klein
f14a0f1054
merges newly deselected synced PO uuids with a prior delete list on SAVE
2026-08-04 16:48:43 +02:00
Johannes Klein
41966ca1b8
Split press to de-select a project into separate test
2026-08-04 16:44:17 +02:00
Johannes Klein
da32e5a394
persists project selection to Zustand and navigates back on SAVE
2026-08-04 16:31:00 +02:00
Johannes Klein
bc33bd98a5
Find elements by text
2026-08-04 16:25:50 +02:00
Johannes Klein
c279e95838
also check for expanded chooser being shown
2026-08-04 16:16:31 +02:00
Johannes Klein
d641a7928b
Default local OF is no longer required, so the checked project is valid here
2026-08-04 16:12:48 +02:00
Johannes Klein
1cd6f31d32
enables SAVE after project selection changes
2026-08-04 15:58:23 +02:00
Johannes Klein
f9584751ec
disables SAVE when project selection is unchanged
2026-08-04 15:57:03 +02:00
Johannes Klein
ec15cd3923
Test that AddToProjects renders existing project observations as checked
2026-08-04 15:56:05 +02:00
Johannes Klein
57a54bc552
Add before each for store setting
2026-08-04 15:53:42 +02:00
Johannes Klein
f4cb778575
Mock goBack
2026-08-04 15:49:24 +02:00
Johannes Klein
1c79780ad2
Delete setupAddToProjects.js
2026-08-04 15:48:53 +02:00
Johannes Klein
42b41105c1
Remove references to shared test helpers
2026-08-04 15:46:46 +02:00
Johannes Klein
3a616b987e
Remove reference to shared test helpers
2026-08-04 15:44:36 +02:00
Johannes Klein
d0a3900400
Link ticket in TODO
2026-07-15 16:25:55 +02:00
Johannes Klein
12d0e37186
Turn one test back to a todo (this is not wired yet correctly)
2026-07-15 16:18:27 +02:00
Johannes Klein
3632f69450
Update setupAddToProjects.js
2026-07-07 17:27:05 +02:00
Johannes Klein
93c392b18b
Create ObservationFieldInput.test.js
2026-07-07 17:26:55 +02:00
Johannes Klein
1ab78d1a87
Update setupAddToProjects.js
2026-07-07 15:37:56 +02:00
Johannes Klein
d9f17ad4b9
Create DateFieldInput.test.js
2026-07-07 15:36:50 +02:00
Johannes Klein
512bfbfe77
Create SelectFieldInput.test.js
2026-07-07 15:23:46 +02:00
Johannes Klein
73b5e36c42
Create TaxonFieldInput.test.js
2026-07-07 15:13:03 +02:00
Johannes Klein
d3d7851ae8
Create TextFieldInput.test.js
2026-07-07 14:47:30 +02:00
Johannes Klein
c770d1e105
Update NumericFieldInput.test.js
2026-07-07 14:47:15 +02:00
Johannes Klein
84da38e187
Create NumericFieldInput.test.js
2026-07-07 14:37:39 +02:00
Johannes Klein
cf775c5899
Refactor test store setup to helper
2026-07-07 14:21:21 +02:00
Johannes Klein
750a686358
Add empty OFV array to test obs
2026-07-07 14:13:26 +02:00
Johannes Klein
827e0a682d
Check for selected projects showing expanded chooser UI
2026-07-01 15:08:33 +02:00
Johannes Klein
4d48489652
Check for initial checked state
2026-07-01 15:03:43 +02:00
Johannes Klein
6a5a4178b8
Add an initial PO to test zustand store
2026-07-01 14:58:07 +02:00
Johannes Klein
eca776f975
Code style
2026-07-01 14:36:25 +02:00
Johannes Klein
1df7b9cbad
Test for list items being rendered
2026-07-01 14:28:51 +02:00