[Integrates] Hide files not related to mobile type ones from dropdown list on Add environment modal
Problem to solve
At this time, when users want to add a new environment URL for a git root related to a mobile app file (.apk or .ipa), they open the Add environment modal, then select the Mobile App option from the Environment type dropdown, and finally select the corresponding .apk or .ipa file (previously stored into the Files subsection) from the Mobile App File dropdown.
However, at the moment of selecting the file is observed that any file previously stored into the Files subsection is listed there:
And then, users can perfectly select any of these files without any kind of prevention, adding at the end files that do not correspond to mobile apps one as new environments:
Intended users
All, but customers, mainly
Proposal
Prevent that users can add files that do not correspond to mobile app ones (.apk or .ipa) as Mobile App type environments for a git root, filtering those kind of files into the Mobile App File dropdown available on the Add environment modal, listing only the correct ones.
Test plan
Steps
-
Make sure that the code contributions checklist has been followed.