[x] The title includes the type of change [HOTFIX, FEATURE, etc]
[x] The PR title includes the ticket number in format of [INSPECT-###]
[x] Documentation is updated to reflect change
Description
This PR includes the following proposed change(s):
Partially revert the previous Journey Details changes to accommodate a new workflow. User is now only prompted to add a Closest Major City alongside a Waterbody if one of the Waterbodies added was manually entered (i.e. 'other').
Small change to the getJourneyDetailsCellType function to allow this workflow, no longer provides a .Divider cell at the end of the call, but shows the new .Blank cell instead. Fixes issue where two dividers were appearing on city deletion.
A topDivider is added to BasicCollectionViewCell, which is added to the top of Inspection Details to split between itself and Journey Details.
Added/updated additional validation to the new workflow to allow Waterbodies without a Closest Major City, unless that Waterbody was 'other'.
Pull Request Standards
HOTFIX
,FEATURE
,etc
][INSPECT-###]
Description
This PR includes the following proposed change(s):
getJourneyDetailsCellType
function to allow this workflow, no longer provides a.Divider
cell at the end of the call, but shows the new.Blank
cell instead. Fixes issue where two dividers were appearing on city deletion.topDivider
is added toBasicCollectionViewCell
, which is added to the top of Inspection Details to split between itself and Journey Details.