Giter VIP home page Giter VIP logo

metro-monitor's Introduction

About

A live filterable map of the DC Metro system. Features train positions, station arrival predictions and WMATA alerts all in once place!

Check it out here: https://www.dcmetromonitor.com

image of metro monitor

Bootstrapped from my-personal-starter-react-setup. Read the docs there about more scripts and goodies you can use when developing this project.

Installation

yarn rebuild

Development

First get a WMATA API Key from here: https://developer.wmata.com/

API_KEY=<YOUR_WMATA_API_KEY> yarn dev

Publishing

git push -f heroku master

metro-monitor's People

Contributors

dependabot[bot] avatar jbccollins avatar micahstubbs avatar notrab avatar tte avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cokesme lmeikle

metro-monitor's Issues

Tiles toggle

Let people turn tiles off. Just use a black/white div background for night/day modes. Use the dc polygon as a outline.

Fix zombie prediction data

If you close the prediction popup while a prediction data request is in flight the popup will reopen when that request comes back

Add a "data concious" mode

Right now I fetch all trains, alerts and predictions no matter what filters you have set. This is great when on a desktop or wifi since you get really snappy results when toggling filters on and off. But it's not so great for mobile users who have limited data. Add a toggle to only fetch data that is immediately needed.

Loosen height restrictions on alerts and prediction panes on desktop

The height restrictions cause unnecessary scrolling on desktops when there are many alerts or when you've clicked on gallery place / metro center without any filters. The height restrictions currently exists to prevent screwy layout stuff on mobile but using a media query that can be fixed for desktop.

Inconsistent train icons

Some train icons (teardrops) have black outlines (silver, orange, yellow). Others have white outlines (blue, red, green). They should be consistent. Probably no outline would be best.

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.