@tramcrazy on London Underground Journey Planner
[The journey planner uses London Underground stations - if you don’t know any, why not try searching for King’s Cross St Pancras, Waterloo, Tottenham Court Road or Victoria? As you type, lots of suggestions will appear anyway.]
In this ship I have redesigned part of the database logic to provide users with improved information on disruptions across the London Underground network. This was based on feedback from a user on my last ship - “One thing that could be improved is clarity on Disruptions and more details about them.” I decided to use a Java HashMap to pass the data about disruptions between different parts of my code, as this meant it was easier to add information on multiple disruptions affecting the same line whilst ensuring all this information was kept in the same place. I then implemented the Bootstrap tooltip system to dynamically generate tooltips for disrupted lines based on the data from the database.
You can test this new feature by hovering over (on desktop) or tapping (on mobile) the names of any disrupted London Underground lines, in the top right corner of the page (on desktop) or in the menu (on mobile). You should see a bit of detail about each disruption e.g. “Minor Delays” or “Part Suspended”. I’m considering adding more detail to these but need to decide on a way to include more text in the UI in a way that looks nice!
I also need to make more progress on how the line colours look in dark mode - the whole system is still much more usable in light mode! More updates coming soon.
This is my London Underground Journey Planner, for planning journeys on the London Underground network! It uses a custom-built HTTP server, custom templating engine, and my own implementation of the A* pathfinding algorithm which took a while to get right! Just head to the website at https://journeyplanner.tramcrazy.com to give it a test! Much of the work for this project was done before Stardance, but since it started I have added a new file handling system, the recent journeys feature, improved line disruption information for users, and written more documentation.
- 1 devlog
- 1h