Skip to content

feat: Show wall-clock time for ferry trips on stop pages - #3482

Merged
joshlarson merged 4 commits into
mainfrom
jdl/feat/wall-clock-time-for-ferry-dock-pages
Sep 9, 2026
Merged

feat: Show wall-clock time for ferry trips on stop pages#3482
joshlarson merged 4 commits into
mainfrom
jdl/feat/wall-clock-time-for-ferry-dock-pages

Conversation

@joshlarson

Copy link
Copy Markdown
Contributor

Scope

Asana Ticket: ⛴️ Ferry stop pages follow realtime consistency guidelines

Implementation

Note

🤖 There are four commits here, each generated by Copilot.

  1. Actually does the work by changing isCR to be true for commuter rail and ferry trips.
  2. Updates the name isCR to renderAbsoluteTime, since it doesn't really make sense to have a variable called isCR that's true for trips that aren't commuter rail trips.
  3. I noticed that renderAbsoluteTime was being used to determine track number rendering, so I asked Copilot to restore the previous isCR, and use it for that and only that.
  4. A name like renderAbsoluteTime makes more sense in Elixir, where you can name a function like render_absolute_time?. In Javascript, it's more customary to name functions like shouldRenderAbsoluteTime, and so that's what this commit does.

Screenshots

Screenshot 2026-09-08 at 6 00 40 PM Screenshot 2026-09-08 at 5 59 17 PM

How to test

Go to a ferry dock page, and admire the wall-clock display. Click around inside the departures box - there's a lot to see in there!

@joshlarson
joshlarson requested a review from a team as a code owner September 8, 2026 22:09
@joshlarson
joshlarson enabled auto-merge (squash) September 8, 2026 22:10
@joshlarson
joshlarson disabled auto-merge September 8, 2026 22:10
@joshlarson joshlarson changed the title feat(robot): Show wall-clock time for ferry trips on stop pages feat: Show wall-clock time for ferry trips on stop pages Sep 8, 2026
@joshlarson
joshlarson enabled auto-merge (squash) September 8, 2026 22:10

@lvachon1 lvachon1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@joshlarson
joshlarson merged commit c95b70f into main Sep 9, 2026
20 checks passed
@joshlarson
joshlarson deleted the jdl/feat/wall-clock-time-for-ferry-dock-pages branch September 9, 2026 14:15
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