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

feat(Android): Elevator alert UI #705

Merged
merged 7 commits into from
Feb 3, 2025
Merged

feat(Android): Elevator alert UI #705

merged 7 commits into from
Feb 3, 2025

Conversation

EmmaSimon
Copy link
Contributor

Summary

Ticket: 🤖 | elevator alerts UI

Add finalized UI for elevator alerts on nearby transit and filtered/unfiltered stop details. The AlertCard and AlertDetails were updated with the spec behavior and styling.

Screenshot_20250203_140416 Screenshot_20250203_140450 Screenshot_20250203_140505

android

  • All user-facing strings added to strings resource in alphabetical order
    - [ ] Expensive calculations are run in withContext(Dispatchers.Default) where possible

Testing

Updated and added tests for new behavior.

@EmmaSimon EmmaSimon requested a review from a team as a code owner February 3, 2025 19:40
if (alert?.effect == Alert.Effect.ElevatorClosure) {
Image(
painterResource(R.drawable.elevator_alert_monochrome),
"",
Copy link
Member

Choose a reason for hiding this comment

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

Image accepts contentDescription = null, which I think is clearer than contentDescription = "".

@EmmaSimon EmmaSimon merged commit 2fb35c1 into main Feb 3, 2025
5 checks passed
@EmmaSimon EmmaSimon deleted the es-elevator-alert-ui branch February 3, 2025 22:46
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