Skip to content

Conversation

@landonreed
Copy link
Member

Previously visiting any random route (e.g., https://trimet-mod-dev.ibi-transit.com/#/foo) causes a blank page to be rendered. This fixes that.

It also adds support for the legacy start route used in otp.js to specify lat/lon/zoom/router.

@codecov-io
Copy link

codecov-io commented Jul 18, 2019

Codecov Report

Merging #81 into dev will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff            @@
##             dev     #81      +/-   ##
========================================
- Coverage   5.19%   5.19%   -0.01%     
========================================
  Files        135     135              
  Lines       5905    5911       +6     
  Branches    1730    1734       +4     
========================================
  Hits         307     307              
- Misses      4735    4738       +3     
- Partials     863     866       +3
Impacted Files Coverage Δ
lib/actions/ui.js 19.32% <0%> (-0.85%) ⬇️
lib/components/app/responsive-webapp.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d886c1e...fe13bce. Read the comment docs.

// pathname to specify lat, lon, etc.)
[,, lat, lon, zoom, routerId] = idToParams(location.pathname, '/')
}
console.log('Setting start position/zoom/router', lat, lon, zoom, routerId)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove

@evansiroky evansiroky merged commit 65f3fe5 into dev Jul 18, 2019
@evansiroky evansiroky deleted the fix-url-routing branch July 18, 2019 17:36
@evansiroky evansiroky mentioned this pull request Jul 18, 2019
@evansiroky
Copy link
Contributor

🎉 This PR is included in version 0.11.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants