Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build top-line bus and subway ridership cards in the style of LineCard #11

Open
idreyn opened this issue Apr 1, 2022 · 0 comments
Open
Labels
javascript Pull requests that update Javascript code python

Comments

@idreyn
Copy link
Collaborator

idreyn commented Apr 1, 2022

One commonly-requested feature is to break the total ridership into "Total Subway Ridership" and "Total Bus Ridership" charts (as usual the SL makes a total mockery of this dichotomy). I think it would make the most sense to do this in the style of LineCard, i.e. this component:

image

This task would have two parts:

  • On the Python side, writing new data to aggregate "total bus" and "total subway" fields in data.json. We've already done this to get the TopLine sparklines, so we're almost there!
  • On the TypeScript side, adapting or generalizing LineCard to show this data with appropriate styling.
@idreyn idreyn added javascript Pull requests that update Javascript code python labels Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code python
Projects
None yet
Development

No branches or pull requests

1 participant