-
Notifications
You must be signed in to change notification settings - Fork 3
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: add travel mode in ActivitiesMapScreen #263
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.
Excellent PR and code, as always from you! There are a couple minor things to changes like a small bug but overall the code is clean and readable and the feature works.
PS: I just discovered that the code from your previous PR handles perfectly the case where the distance between two activities is very big!
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreen.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreenTest.kt
Show resolved
Hide resolved
app/src/androidTest/java/com/github/se/travelpouch/ui/dashboard/map/ActivitiesMapScreenTest.kt
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
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.
Thanks for the changes, looks good now!
This PR add the possibility of displaying paths (GPS and activities) with different modes of transport (walking, driving and cycling).
It includes :
ActivitiesScreenMap
: 4 button to choose the travel mode for the path between activities.Activity Bottom Sheet
: 1 button to show the gps pathGPS Bottom Sheet
: 4 button to choose the travel mode for the path between gps and activity.