Skip to content

[feat] Stale old alerts on line diagram banner#3281

Open
lvachon1 wants to merge 5 commits into
mainfrom
lev/feat/stale_alerts
Open

[feat] Stale old alerts on line diagram banner#3281
lvachon1 wants to merge 5 commits into
mainfrom
lev/feat/stale_alerts

Conversation

@lvachon1

Copy link
Copy Markdown
Contributor

Scope

Asana Ticket: 🐬 Stale Symphony alert on line diagram banner on GL and GL-E pages

Implementation

Added filter to remove alerts older than five weeks from the line diagram page.

Interestingly the Symphony alert has been downgraded in priority and no longer shows on the line diagram anyway.

Screenshots

Screenshot 2026-06-23 at 11 39 07 AM

How to test

http://localhost:4001/schedules/Green-C/line

The Tappan Street alert is older than 5 weeks old and a high priority alert, confirm that it no longer shows on the line diagram page.

@lvachon1 lvachon1 requested a review from a team as a code owner June 23, 2026 15:41
@lvachon1 lvachon1 requested a review from joshlarson June 23, 2026 15:41

@joshlarson joshlarson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left a few comments - one is stylistic, the other is functional, but they're both blocking me from approving.

Also, I know the ticket mentions GL and GL-E, but this solution applies to any line diagram page (which I think is good), so I would also update the PR title (and thus the commit message when it gets merged) to not be GL/GL-E specific.

Comment thread lib/dotcom_web/templates/schedule/_line.html.heex Outdated
Comment thread lib/dotcom_web/templates/schedule/_line.html.heex Outdated
@lvachon1 lvachon1 changed the title [feat] Stale Symphony alert on line diagram banner on GL and GL-E pages [feat] Stale old alerts on line diagram banner Jun 26, 2026
@lvachon1 lvachon1 requested a review from joshlarson June 29, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants