Commit Graph

6 Commits

Author SHA1 Message Date
Johannes Klein
43443f5cfc Consolidate ObsDetails screens (#3649)
* Create new hook shell

* Revert "Create new hook shell"

This reverts commit b6918db347.

* Copy ObsDetailsDefaultModeScreensWrapper as is to new file

* Copy ObsDetailsContainer as is into new file

* We don't need this param at this level

* Have new ObsDetailsContainer be the next child of screen

* Update props of new child and remove thereby hoisted code

* Move route param extraction into component that needs it

* Extract presentational logic into new component

* Also copy over flow types

* Also copy over flow types

* Return null if no observation

* Remove mode switch logic from navigator

* Remove no longer needed advanced mode container

* Consolidate default mode container into new one as well, and switch over default mode to show default mode UI

* Same as in advanced mode, read param where it is needed

* Remove prop

* Run the integration test on the only container

* Git mv test file and update with new import

* Move test and only keep the UI logic part being tested

* Move tests relevant for ObsDetailsScreen

* Update ObsDetailsScreen.test.js

* Update IdentificationSheets.test.js

* Remove unused screen wrapper
2026-05-27 16:27:27 +02:00
sepeterson
cdeaaef512 MOB-1396: first pass 2026-05-08 11:33:38 -05:00
sepeterson
815e47e533 MOB-1089: more cleanup 2026-01-29 20:56:53 -06:00
sepeterson
a1aa257c12 MOB-1089: rm unnecessary test logic 2026-01-25 14:43:49 -06:00
sepeterson
806a1c6c9a MOB-1089: add some reducer tests 2026-01-19 22:01:06 -06:00
sepeterson
73073ecee7 MOB-1089: add id sheet tests 2026-01-19 21:38:48 -06:00