emergentworks / project-not-911

Alternatives to calling 911
GNU General Public License v3.0
42 stars 4 forks source link

#35 Add interactive text and website links for hotlines #51

Closed lizzthabet closed 3 years ago

lizzthabet commented 3 years ago

@jaqarrick and I made progress on issue #35. This PR adds interactive icons for website and text for each hotline entry that has that information available. It doesn't include any work related to tags (which are also mentioned in #35).

View from web app: Screen Shot 2020-12-15 at 4 48 33 PM

View from iOS simulator: Screen Shot 2020-12-15 at 4 48 00 PM

View from messages app on desktop after clicking sms link from web app: Screen Shot 2020-12-15 at 4 49 30 PM

We tested in browser and Expo Android app without any issues. The iOS simulator had a couple bugs: phone number links (whose implementation didn't change in our code) threw an error; and sms texting links opened up in the messages app with the appropriate content, but not the appropriate phone number. After googling for a bit, our best guess is that both of these issues are due to limitations in the iOS simulator and not with the tel or sms links.

This is our first time contributing to this project, so feel free to let us know if there are any code style or implementation details that can be approved or better aligned with existing patterns!

A couple additional questions:

rossPatton commented 3 years ago

gonna just go ahead and merge this!

rossPatton commented 3 years ago

just updating y'all - this has been rolled out to the play store!

jaqarrick commented 3 years ago

Hi Ross, Sorry about the delay in getting back to you - it's been a busy couple weeks for me! Thanks for merging for us.

I'll keep an eye out for issues future issues!