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

Take trip planner query params into account in the new trip planner #2218

Merged
merged 12 commits into from
Nov 13, 2024

Conversation

anthonyshull
Copy link
Contributor

The time selection is a little trickier because of the change and hide/show behavior. But, we decided to just set it to 'now' since links generated in the past won't work anyway. All other selections are reflected. You can test this by planning a trip with selections and then just switching to /preview/trip-planner.

@anthonyshull anthonyshull marked this pull request as ready for review November 8, 2024 17:34
@anthonyshull anthonyshull requested a review from a team as a code owner November 8, 2024 17:34
@anthonyshull anthonyshull added the dev-blue Deploy to dev-blue label Nov 8, 2024
Copy link
Collaborator

@thecristen thecristen left a comment

Choose a reason for hiding this comment

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

Appreciate how smoothly this works! I have some ideas how we can extend this to handle the /trip-planner/to/Special+Location use cases too. ;)
Let's add a cursory test for the new module.

@anthonyshull anthonyshull enabled auto-merge (squash) November 13, 2024 16:18
@anthonyshull anthonyshull merged commit ae240e0 into main Nov 13, 2024
20 of 21 checks passed
@anthonyshull anthonyshull deleted the ags/trip-planner-query-params branch November 13, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-blue Deploy to dev-blue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants