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

Add a delays page for alert analysis #997

Merged
merged 16 commits into from
Sep 22, 2024
Merged

Add a delays page for alert analysis #997

merged 16 commits into from
Sep 22, 2024

Conversation

devinmatte
Copy link
Member

@devinmatte devinmatte commented Jun 25, 2024

Motivation

#986

Keep track of what is keeping the MBTA from reliably delivering service on each line

Changes

Screenshot 2024-09-02 at 9 18 40 PM Screenshot 2024-09-03 at 9 10 04 PM

Testing Instructions

Requires data from transitmatters/data-ingestion#104 and transitmatters/data-ingestion#113 before being merged

@github-actions github-actions bot added backend Change to backend code frontend Change to frontend code labels Jun 25, 2024
@github-actions github-actions bot added ci/cd Affects or Updates CI/CD dependencies Changes to dependencies labels Jun 25, 2024
return (
<ChartBorder>
<div className={classNames('h-72', 'flex w-full flex-row')}>
<Line
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious if TimeSeriesChart.tsx would work for your purposes. I've been hoping we could consolidate some of the chart.js boilerplate into this component, and I had success using it for some of the newer service/ridership graphs. Not a big deal either way (but if you try it and find that it's not working somehow, I'd love to know why!)

@rudiejd
Copy link
Contributor

rudiejd commented Sep 1, 2024

This closes #986, right?

@devinmatte
Copy link
Member Author

Yep @rudiejd, that's the plan

@devinmatte devinmatte changed the title Add a reliability page for alert analysis Add a delays page for alert analysis Sep 3, 2024
@devinmatte devinmatte marked this pull request as ready for review September 3, 2024 01:19
Copy link
Contributor

@skaplan-dev skaplan-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do think this PR is a little too big and could benefit from separating the server changes from the FE changes. But LGTM 🚢

@devinmatte
Copy link
Member Author

Backend changes in #1011 to shrink this PR

@devinmatte devinmatte merged commit 31f41d1 into main Sep 22, 2024
4 checks passed
@devinmatte devinmatte deleted the alert-analysis branch September 22, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Change to backend code ci/cd Affects or Updates CI/CD dependencies Changes to dependencies frontend Change to frontend code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants