-
Notifications
You must be signed in to change notification settings - Fork 16
feat(ScheduleFinderLive): school days only badge #2856
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
base: main
Are you sure you want to change the base?
Conversation
It was already int here, let's just parse it earlier
2e842b9 to
c372936
Compare
joshlarson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes because I think we actually should have a test that shows where the time_desc field comes from.
| ] | ||
| } | ||
| }) do | ||
| defp to_departure(%Schedule{schedule_id: schedule_id, route: route, trip: trip} = schedule) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style question: How come you pattern-matched some fields, but are getting the rest as (for instance) schedule.stop_headsign?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't claim it's a smart reason, but I didn't want the formatter to break this up into multiple lines 🫠


Needs approval but here it is!
Previews from
/preview/schedules/39/0?stop=1365