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

refactor: alerts page layout #2374

Merged
merged 2 commits into from
Feb 11, 2025
Merged

refactor: alerts page layout #2374

merged 2 commits into from
Feb 11, 2025

Conversation

thecristen
Copy link
Collaborator

Summary of changes

Asana Ticket: Precursor to Service Alerts page | Refine Station and Service Alerts section

Refactored the alerts "show" template into a layout. I used named slots to control what goes into the sidebar, since this will change for the subway service alerts (the timeframe filters will be removed). Anyways, I'm hoping it'll make it easier to swap in/out the differing content between subway and the other modes (which will remain the same). Visually, this should be a no-op.

@thecristen thecristen requested a review from a team as a code owner February 10, 2025 21:25
Copy link
Contributor

@anthonyshull anthonyshull left a comment

Choose a reason for hiding this comment

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

I like the templating and the slots.

@thecristen thecristen merged commit 54a668c into main Feb 11, 2025
20 checks passed
@thecristen thecristen deleted the cbj/service-alerts-layout branch February 11, 2025 16:22
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