Skip to content

feat: Breadcrumbs for new line diagram page - #3478

Merged
joshlarson merged 4 commits into
mainfrom
jdl/feat/add-breadcrumbs-to-new-line-diagram-page
Sep 8, 2026
Merged

feat: Breadcrumbs for new line diagram page#3478
joshlarson merged 4 commits into
mainfrom
jdl/feat/add-breadcrumbs-to-new-line-diagram-page

Conversation

@joshlarson

@joshlarson joshlarson commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Scope

Asana Ticket: 💈 Add breadcrumbs to new line diagram page

Implementation

I chose to add an AssignRoute hook, rather than just querying for the route in the Breadcrumbs hook, because I didn't want to create a world where we were re-querying the same route ID over and over again. So the state of the world now is that we have an AssignRoute hook that assigns the route to the socket, and the Breadcrumbs hook (if called in the context of the :schedule_page) assumes that :route is already assigned.

Note

🤖 This was mostly human-written, but the commit that adds proper not-found handling was written by Copilot (and then refined with a human touch)

Screenshots

Screenshot 2026-09-04 at 6 02 36 PM

Why yes, I did make sure to get a screenshot where the "Watch Your Step" message had a visible step in it.

How to test

Look at the new line diagram page and see that the breadcrumbs are the same as they are on any of the other tabs.

@joshlarson
joshlarson requested a review from a team as a code owner September 4, 2026 22:05
@joshlarson
joshlarson requested a review from lvachon1 September 4, 2026 22:05
@joshlarson
joshlarson marked this pull request as draft September 4, 2026 22:07
@joshlarson
joshlarson marked this pull request as ready for review September 8, 2026 15:04

@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 7d568ea into main Sep 8, 2026
20 checks passed
@joshlarson
joshlarson deleted the jdl/feat/add-breadcrumbs-to-new-line-diagram-page branch September 8, 2026 15:31
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