<h3 dir="auto">Description</h3>
<p dir="auto">I modified the directions engine interface to return the steps grouped into legs and create a turn instruction table for each leg. This change isn't visible to the user, as there isn't a third endpoint yet.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">So much browser-based that I initially forgot to update the testing stub</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5720'>https://github.com/openstreetmap/openstreetmap-website/pull/5720</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/commits/98c42fa0c64d80674045e28b997a6e93f5bbae00" class="commit-link">98c42fa</a>  Merge sidebar content append calls</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/commits/d3d1cfac08bdfe218f79a062c700baebb204b1f7" class="commit-link">d3d1cfa</a>  Append one table per route leg</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/files">5 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/files#diff-fdb9558c2ba79ddf9fbcb92594a8a8fa54abb1b3e25ce264de37951b428a958b">app/assets/javascripts/index/directions.js</a>
    (64)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/files#diff-7e2536f2e9b6f209b368993e27a7ecbb60869fc394321af9c2d735c8c02e8fa9">app/assets/javascripts/index/directions/fossgis_osrm.js</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/files#diff-a9cecd581b2c9e4e43ee8e0b73ee178a13779019da8bcb9c13d209843c716711">app/assets/javascripts/index/directions/fossgis_valhalla.js</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/files#diff-ef6651e3e37e12a6ee24e6c9efaa98ddd129a20a5631401cea6e0642fcfffb7a">app/assets/javascripts/index/directions/graphhopper.js</a>
    (25)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720/files#diff-081fb5b6a1da6b2f0f153346963554a5195e73fbba65fa8d682b99a8940f88d1">test/system/directions_test.rb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5720.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5720.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5720.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5720.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5720">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIIASINEZCUJBJQ3SL2RCBPJAVCNFSM6AAAAABXVBHILSVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3TANZWHE3TQNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMRIM5CRJTTY5UC3H32RCBPJA5CNFSM6AAAAABXVBHILSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKWHDYPM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5720</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5720",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5720",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>