refactor(service): use parsed bus route lines instead of raw patterns; feat(api): serve these parsed lines - #74
Open
jumpy-cat wants to merge 9 commits into
Conversation
jumpy-cat
force-pushed
the
parsed-bus-route-lines
branch
from
August 16, 2026 01:57
ed2969b to
a902a4a
Compare
jumpy-cat
changed the base branch from
docu/mostly-feature-complete
to
pattern-schema-and-sum-type-journey
August 16, 2026 02:09
Logic was ported from the frontend, which shall be changed to rely on the result from the backend.
Both the indexing issue that happened towards the beginning of summer and the typo that happened while I was porting the logic.
jumpy-cat
force-pushed
the
parsed-bus-route-lines
branch
from
August 16, 2026 02:14
a902a4a to
21f64fc
Compare
jumpy-cat
marked this pull request as ready for review
August 16, 2026 02:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Move the majority of bus route line processing into the backend so that more information in available during journey planning. Old routes kept for backwards compatibility. Add regression tests for the summer bug and something else that was enccountered.
Type of Change
feat)fix)Related Issues
Part of the backend side for mbusdev/bluebus-flutter#98
Changes Made
api/v4/router for backwards incompatible changesgetAllMbusRoutesandgetAllRideRoutesPatterns are now being processed intoBusRouteLines similar to those used in the frontend (but missing a few fields)Testing Done
Flutter:
Screenshots / Demo (if UI or notification change)
Checklist
[type](scope): short descriptionmainand is our current working update branch (e.g.maizebus2.1)print()/debugPrint()/console.log()left in production code