-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bus): option to mark bus as delayed #1538
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work overall. Please see comments embedded in the code. A few overall points:
- The only dropdown option for Fairfax buses (JT-###) should be to mark them as delayed. All other options (on time and arrived) should be removed - Fairfax buses are managed by assigning them to a position on the bus map. Buses from other counties should have all 3 options (on time, arrived and delayed).
- When a Fairfax bus is marked arrived on the map, the delayed option for that bus should be removed from the dropdown. It should be accessible only after unassigning the bus from its spot.
- Marking a bus on time does not work. There appears to be a bug in your code for handling marking a bus on time.
Thanks for the feedback! I believe I fixed everything @alanzhu0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! (@alanzhu0 feel free to double-check) Could you squash your commits? Thanks!
45142c5
to
8a17b16
Compare
Commits successfully squashed! |
I have a few comments - I'll add them later this evening after I get a chance to test a bit more. |
Make sure to remove all the artifacts from squashing your commits. I noticed a lot of what looks like merge conflict errors, i.e. |
I'll work on it! |
Closes #1414
Proposed changes
Brief description of rationale
-So people can see if their bus is delayed.