Skip to content

SF2.0[LAUNCH]: Adjust Ferry line pages to support linking to SF2.0 (JS style)#3067

Open
lvachon1 wants to merge 1 commit intomainfrom
lev/feat/sf/ferry_sched_page_link_newstyle
Open

SF2.0[LAUNCH]: Adjust Ferry line pages to support linking to SF2.0 (JS style)#3067
lvachon1 wants to merge 1 commit intomainfrom
lev/feat/sf/ferry_sched_page_link_newstyle

Conversation

@lvachon1
Copy link
Copy Markdown
Contributor

@lvachon1 lvachon1 commented Mar 31, 2026

Scope

Asana Ticket: 📅🔎 Adjust Ferry line pages to support linking to SF2.0

Implementation

Updated schedule finder form to use a normal select for the origin stop, and to send the user ot the new SF2.0 instead of opening a modal. Updated tests and types to suit.

Screenshots

Screen.Recording.2026-03-31.at.10.12.15.AM.mov

How to test

Visit a ferry page and click the schedules & maps tab.
Choose an origin and direction from the updated form.
Notice the modal no longer opens onChange.
Click [Get Schedules] and observe that the new SF2.0 opens as a whole page and not as a modal
⛴️ http://localhost:4001/schedules/Boat-F4/line

Note this will affect every SF1.0 input form, but so far in my testing (on bus, CR, and subway) it still works as expected: It sends the user the right /departures/ page or updates the SF1.0 modal if they're still in that.
🚂 http://localhost:4001/schedules/CR-NewBedford/line
🚇 http://localhost:4001/schedules/Red/line?schedule_finder%5Bdirection_id%5D=0&schedule_finder%5Borigin%5D=place-portr
🚌 http://localhost:4001/schedules/1/line

…op, and to send the user ot the new SF2.0 instead of opening a modal. Updated tests and types to suit.
@lvachon1 lvachon1 requested a review from a team as a code owner March 31, 2026 14:14
@lvachon1 lvachon1 requested a review from joshlarson March 31, 2026 14:14
@lvachon1 lvachon1 changed the title SF2.0[LAUNCH]: Adjust Ferry line pages to support linking to SF2.0 SF2.0[LAUNCH]: Adjust Ferry line pages to support linking to SF2.0 (JS style) Mar 31, 2026
@lvachon1 lvachon1 added the do not merge ⏳ it's waiting on something label Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge ⏳ it's waiting on something

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant