Giter VIP home page Giter VIP logo

subway-time's Introduction

subway-time's People

Contributors

dependabot-preview[bot] avatar wessouza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

subway-time's Issues

Change advisories from popup to component

Opening a popup for advisories is not the best solution, especially when the site is installed on mobile:

  • On iOS, closing is only possible with a hard to reach "Done" button
  • Android doesn't know how to open a local popup and instead opens Chrome, and that prevents the code from writing the contents of the popup, which remains blank

A normal component with the advisory contents will be a better approach.

Service worker

Create a service worker to cache EVERYTHING*.

* Except/api calls, obviously

Eject the ejector

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.

  1. Install Parcel, because Parcel is ❤️
  2. Remove all dependencies except from whatever is needed to build the website
  3. Leverage Zeit's routing and cgi-bin, I mean, serverless tools instead of spinning an entire node server

Configure manifest.xml

Configure manifest.xml so that it can be installed on Android devices and Chrome on desktop.

Fix 5X

This does not look like a valid line, maybe trim lineId to 1 character?

719883FE-EEDA-4571-AF23-82036B51F48D

Improve search

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.