feat: modify /plan-journey so it returns bus polylines - #47
Draft
jumpy-cat wants to merge 2 commits into
Draft
Conversation
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
2 times, most recently
from
July 25, 2026 21:44
032b194 to
e5f4055
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 2, 2026 02:01
209f9dc to
1f94be3
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
2 times, most recently
from
August 2, 2026 19:50
7da68ce to
213fb48
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 2, 2026 19:55
213fb48 to
1e2959d
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 2, 2026 20:09
1e2959d to
980fb37
Compare
15 tasks
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
2 times, most recently
from
August 13, 2026 23:11
65a1191 to
bdd1deb
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
3 times, most recently
from
August 15, 2026 23:26
394e8a9 to
06c534b
Compare
jumpy-cat
changed the base branch from
http-api-docs
to
docu/mostly-feature-complete
August 15, 2026 23:26
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 16, 2026 00:04
06c534b to
70dc4f9
Compare
jumpy-cat
changed the base branch from
docu/mostly-feature-complete
to
parsed-bus-route-lines
August 16, 2026 01:56
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 16, 2026 01:57
70dc4f9 to
688d0b3
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 16, 2026 02:14
688d0b3 to
cb135c7
Compare
jumpy-cat
force-pushed
the
nav/plan-journey-bus-polylines
branch
from
August 16, 2026 02:38
cb135c7 to
0941657
Compare
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
Add detailed info about the path that will be taken on bus legs to make it easier for the frontend.
Type of Change
feat)fix)Related Issues
Backend Side of mbusdev/bluebus-flutter#98
Changes Made
getBusLegPolylinecontains the core logic of the new featuregetpredictions-> processPredictions -> (various usages) refactored to add type safety. Was trying to confirm ifStopTimeneededrtto be optional, turns out it does since the virtual origin/dest trips don't have a routeanysz.any()being used for the response body schema of plan-journeyProcessedJourneySchemaLatLontype being duplicated across a few placesbuildStopToStopPathsKeytype I made for reminders, which I refactored into the topleveltypes.tsfileimport * as aliaspatternTesting 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