Skip to content

Mark trunk line route stops as trunk line stops on Line Details page#1427

Merged
Huulivoide merged 5 commits into
mainfrom
mark-trunk-line-route-stops-as-trunk-line-stops
May 25, 2026
Merged

Mark trunk line route stops as trunk line stops on Line Details page#1427
Huulivoide merged 5 commits into
mainfrom
mark-trunk-line-route-stops-as-trunk-line-stops

Conversation

@Huulivoide

@Huulivoide Huulivoide commented May 18, 2026

Copy link
Copy Markdown
Contributor

Add local Hasura endpoint to Graphql.config.yml

Line page: Mark route stops as TrunkLine stops on save

Implements the basic helpers needed to mark Stops in StopRegistry as Trunk Line stops, when changing a line type to Trunk Line type, or when adding a new stop onto a route on the Line Details page.

Due to reasons, this commit also adds basic bits needed to mark a stop as a Speed Tram stop.

Overall this is not a pretty clean commit.

StopDetails: List Trunk Stop status on Basic Details

Route stop: Use <Link> instead of raw <a> tag

E2E: Should mark stops as TrunkLine on Line details page


This change is Reviewable

@github-actions

github-actions Bot commented May 18, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Huulivoide Huulivoide force-pushed the mark-trunk-line-route-stops-as-trunk-line-stops branch 4 times, most recently from 0498b0a to e2a6674 Compare May 21, 2026 12:18
@Huulivoide Huulivoide marked this pull request as ready for review May 21, 2026 12:19

@suvikankare suvikankare left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@suvikankare reviewed 14 files and all commit messages, and made 1 comment.
Reviewable status: 14 of 28 files reviewed, 1 unresolved discussion (waiting on Huulivoide).


cypress/e2e/editRoute.cy.ts line 351 at r1 (raw file):

  });

  describe.only('Trunk Line bus Route', () => {

only

@Huulivoide Huulivoide force-pushed the mark-trunk-line-route-stops-as-trunk-line-stops branch from e2a6674 to a4973de Compare May 22, 2026 09:04

@suvikankare suvikankare left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

commitit ja lintterit vielä järjestykseen ja sit :shipit:

@suvikankare reviewed 15 files and all commit messages, made 1 comment, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on Huulivoide).

Implements the basic helpers needed to mark Stops in StopRegistry as
Trunk Line stops, when changing a line type to Trunk Line type, or
when adding a new stop onto a route on the Line Details page.

Due to reasons, this commit also adds basic bits needed to mark a stop
as a Speed Tram stop.

Overall this is not a pretty clean commit.
@Huulivoide Huulivoide force-pushed the mark-trunk-line-route-stops-as-trunk-line-stops branch from 63d1f36 to c9a7c52 Compare May 25, 2026 09:18
@Huulivoide Huulivoide merged commit c9a7c52 into main May 25, 2026
23 of 24 checks passed
@Huulivoide Huulivoide deleted the mark-trunk-line-route-stops-as-trunk-line-stops branch May 25, 2026 10:29
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