* 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
* Fix: Media deletion was operating with stale data
`mediaUris` is referencing the state before the media was deleted, so we have to select the new state after deletion based on mediaUris filtered by the just deleted uri.
Or we could update the callback to work with non-stale data, but I don't think a callback is needed here anyway. We are just calling a function in the media viewer modal.
* Jump through a hoop to trigger PR checks
* Revert "Jump through a hoop to trigger PR checks"
This reverts commit d15640a760.
* Add route params to ObsDetails
* Remove a LogBox ignore
This should not be required anymore. We are not sending an entire observation over params.
* Type route params
* Update ObsDetailsContainer.js
* Type route params in IdSheets
Note: identAt is now types as number as it is set by using Date.now( ) on the screens routing to ObsDetails.
* Type navigation prop
* Update DQAButton.tsx
* Type navigation in useObsDetailsSharedLogic and route from it
* Update route param type from DQAButton
* Type navigation prop
* Type navigation prop
* Update DataQualityAssessment.tsx
* WIP: fetchPlaceName mock to workaround issue on Android phones without Play Services
* Update vision-camera.js
* Fixes an error while rendering this mock
* ObservationsFlashList.js => ObservationsFlashList.tsx
Obs typing and file-external fixes deferred
* use void for callback props
* file local component for separator prop
* memoize elements instead of components defined in render
* replace render-defined component with element, obslistheader
* remove reference to Flow