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(LiveComponents.TripPlannerForm): show grouped itineraries from OTP #2174

Merged
merged 28 commits into from
Oct 3, 2024

Conversation

thecristen
Copy link
Collaborator

@thecristen thecristen commented Sep 26, 2024

Depends on #2173

Summary of changes

Asana Ticket: Trip Planner Preview | Connect input form to OTP and return grouped itineraries

Deployed on dev-blue, it should be able to show itinerary groupings from the Preview trip planner.

Important

Loads up MbtaMetro and makes it workable! The preview trip planner uses several of its components.

Note

Most of the file changes are from 83d068a which migrates us to following best practices for handling static assets! No more copying files from one static folder to another!

@thecristen thecristen added the dev-blue Deploy to dev-blue label Sep 26, 2024
better luck next time
@thecristen thecristen marked this pull request as ready for review October 3, 2024 15:46
@thecristen thecristen requested a review from a team as a code owner October 3, 2024 15:46
@thecristen thecristen requested review from joshlarson and anthonyshull and removed request for a team October 3, 2024 15:46
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
// MBTA METRO
@import '../../deps/mbta_metro/priv/static/assets/default.css';
Copy link
Contributor

Choose a reason for hiding this comment

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

🥂

@valid_modes [:commuter_rail, :subway, :bus, :ferry]
alias OpenTripPlannerClient.PlanParams

@valid_modes [:RAIL, :SUBWAY, :BUS, :FERRY]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should alphabetize these. And maybe even use the sigil ~w(BUS FERRY RAIL SUBWAY)a. Not sure if that makes it easier or harder to read.

@thecristen thecristen merged commit 230781b into cbj/trip-planner-input-form Oct 3, 2024
19 of 21 checks passed
@thecristen thecristen deleted the cbj/trip-planner-otp branch October 3, 2024 17:05
@thecristen thecristen removed the dev-blue Deploy to dev-blue label Oct 3, 2024
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