Skip to content

Conversation

tim-rohrer
Copy link
Contributor

See Discussion code4recovery/12-step-meeting-list#857 .

Google Maps has changed the way URLs are built for getting directions. This PR updates TSML-UI to the current Google guidance.

This was tested with Chrome on a laptop. It still needs to be tested on a site using a mobile device.

v1.2.6+ is required for react 17+
Previous build parameters led to inconsistent starting location. This
form aligns with Google's current guidance.
Addresses the changes it appears Google has made for how directions' URLs
should be generated.

Closes Issue #236
@tim-rohrer tim-rohrer requested a review from joshreisner July 7, 2022 21:44
@joshreisner
Copy link
Contributor

thanks @tim-rohrer for taking the lead on this. we'll need to test on mobile devices before we can move this forward

@joshreisner
Copy link
Contributor

joshreisner commented Aug 4, 2022

i've deployed this change now to netlify. san jose meeting list can be seen at https://62ebf555b6e86b35c23823b3--tsml-ui.netlify.app/tests/aasanjose.html

tested on

  • desktop
  • ios
  • android

i don't think this will really solve the issue the OP reported; desktop directions are iffy due to lack of GPS. but it's great to stay on top of API updates…

@joshreisner joshreisner merged commit 0d22fa2 into main Aug 4, 2022
@joshreisner joshreisner deleted the 236-fix-directions-url branch August 4, 2022 18:12
joshreisner added a commit that referenced this pull request Jun 2, 2023
* chore: Bump react-infinite-scroller.

v1.2.6+ is required for react 17+

* fix: Change directions URL build

Previous build parameters led to inconsistent starting location. This
form aligns with Google's current guidance.

* fix: Change build of Google directions.

Addresses the changes it appears Google has made for how directions' URLs
should be generated.

Closes Issue #236

* fix tests, update ios directions

Co-authored-by: Josh Reisner <1551689+joshreisner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants