Let's make a nice digital subway time table.
wessouza / subway-time Goto Github PK
View Code? Open in Web Editor NEWA nice NYC Subway time table.
Home Page: https://subwayti.me/
License: MIT License
A nice NYC Subway time table.
Home Page: https://subwayti.me/
License: MIT License
Let's make a nice digital subway time table.
Opening a popup for advisories is not the best solution, especially when the site is installed on mobile:
A normal component with the advisory contents will be a better approach.
Implement apple-mobile-web-app-title
and apple-mobile-web-app-capable
so that, when installed on the home screen, no browser chrome should appear.
Reference: ConfiguringWebApplications.html
This is useful for advisories on lines that are so delayed there is no train information on them.
Create a service worker to cache EVERYTHING*.
* Except/api
calls, obviously
Implement a better state management machine that does not rely on render functions.
While create-react-app
is amazing, robust and ideal for a project, it should never be ejected.
Ejecting it gets you stuck in time, without benefiting from any updates and improvements. But I had to customize shit, hadn't I?
Well, it's time to start over, and eject it all.
Switch the /api
"RESTful" API endpoints to GraphQL.
Look at this.
http://otp-mta-demo.camsys-apps.com/routeViz
Thanks to @rodsenra for pointing it out.
Configure manifest.xml so that it can be installed on Android devices and Chrome on desktop.
Parse tweets from https://twitter.com/NYCTSubway and show them alongside advisories.
There are problems with state management, probably related to GPS updating erratically while very inaccurate, such as if the user is in a tunnel on the subway. Which is bad. Especially for this app.
Video here: https://twitter.com/wesleydesouza/status/1115964061425053696?s=21
Add a button to go back to the home from a station.
Station names and search can be improved immensely.
For example, West 4th Street station is both "W 4 St" on the orange lines and "West 4 St - 6 Av" on the blue line. How can this be improved? Keywords?
Should we add a fuzzy search algorithm?
Related to #13.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.