department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

Link - Update "Get directions" link #172

Open jessicawoodin opened 4 months ago

jessicawoodin commented 4 months ago

Currently, the "Get directions" link launches a "You're leaving the app" alert before opening the default maps app.

In the new Link component, we'd like the "Get directions" link to launch an action sheet before opening the user's map app. The action sheet should mimic the functionality below, but will depend on the user's apps.

AC:

IMG_4135.jpg
kellylein commented 4 months ago

Because the app does not currently function this way, we can come back to this functionality after MVP.

TimRoe commented 3 months ago

Added new AC to ensure unit test coverage:

Add unit tests validating action sheet for directions and, if appropriate, action sheet generally

as it was decided to test existing behavior fully with url variant of Link with this change in the pipeline.