* 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
* Do not filter out hidden comments and IDs when getting an obs from server
* Do not add a filtered set of comments and IDs to local obs
Searching for visibleComments and visibleIdentifications anyways gives 0 results outside this file.
* Move file
* Remove flow
* Type fcts
* Add a type to item
* More types
* Add field to RealmTaxon
* Type navigation as used in ObsDetails
* Update ActivityItem.tsx
* Migrate FloatingButtons to TS
* Change prop type
* Rename ActivityHeader
* Migrate ActivityHeaderKebabMenu to TS
* Type functions
* Add undefined as possibility from TextInputSheet callback
* Revert "Add undefined as possibility from TextInputSheet callback"
This reverts commit 95b5fef2b9.
* Revert "Type functions"
This reverts commit 6997f195ce.
* Revert "Rename ActivityHeader"
This reverts commit e384c1f5a5.
* Revert "Update ActivityItem.tsx"
This reverts commit c1dc151b9a.
* Revert "Add field to RealmTaxon"
This reverts commit 965af041c0.
* Revert "More types"
This reverts commit 73af10bfcd.
* Revert "Add a type to item"
This reverts commit 5e5bf0ebae.
* Revert "Type fcts"
This reverts commit 84cac53e33.
* Revert "Type navigation as used in ObsDetails"
This reverts commit 9febf9ea30.
* Revert "Remove flow"
This reverts commit dca054c212.
* Revert "Move file"
This reverts commit bf62c0db95.
* Add UI for a hidden comment/ID
* Rename export like file name
* Update ID category text in tests
* Ask for hidden status from API and persist in realm
* Show fallback UI for hidden photos in PhotoContainer
* Update strings.ftl
* Show fallback UI for hidden sounds in SoundContainer
* Change mock to remoteObservation
Previously, this test file was relying on a faulty remoteObservation. The passed in remoteObservation was {} and because of the now removed filter code in useRemoteObservation what was passes into the test was {comments:[], identifications:[]} which made this test pass without ever using the useLocalObervation mock.
* Add eye icon to photo
* Add eye icon to sound
* Add eye icon to comments/IDs
* Remove android specific launch and early return
* Remove no longer needed other launchApp command
* Update installData e2e mock
* Tap container to dismiss keyboard
* Add testID to login container
* Push a test image into the app's external files directory
* Mock camer takePhoto on Android
* Use a jpg that results in suggestions
* Update e2e camera mock to not use frameProcessor when not active
* Change vision camera mock to create a destination path with additional /
* To remove possibility for flakiness prescribe an emulator
* Add a geocoder wrapper file
* Revert "Add a geocoder wrapper file"
This reverts commit 6c7b6c61a5.
* with performance.mark
* remove performance.mark
* use Set and remove unused arg
* finish arg refactor, switch to state for default, remove old comment