Skip to content

Conversation

@binh-dam-ibigroup
Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup commented Aug 6, 2025

Description

Requires ibi-group/otp-middleware#334.

This PR tweaks the alerts display for a monitored trip, so that the applicable agency name is shown in the alerts link, similar to what is currently happening with the alerts in the itinerary results.

PR Checklist

  • Does the code follow accessibility standards (WCAG 2.1 AA Compliant)?
  • Are all languages supported (Internationalization/Localization)?
  • Are appropriate Typescript types implemented?
Before After
before screenshot after screenshot

{alerts.map((alert) => (
<AlertsBody
agencyName={alert.agencyName}
alerts={[alert]}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are there any side effects caused by going from one AlertsBody to multiple for each alert?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Maybe slight padding/offset differences from sequencing multiple AlertsBody instead of one. AlertsBody itself does not perform any side effects.

@binh-dam-ibigroup binh-dam-ibigroup merged commit 9b30e91 into dev Aug 27, 2025
9 checks passed
@binh-dam-ibigroup binh-dam-ibigroup deleted the agency-in-montrip-alerts branch August 27, 2025 17:34
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.

4 participants