Skip to content
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

Merged
merged 6 commits into from
Dec 16, 2024
Merged

Conversation

Unsaved2
Copy link
Contributor

@Unsaved2 Unsaved2 commented Dec 14, 2024

This PR add the possibility of displaying paths (GPS and activities) with different modes of transport (walking, driving and cycling).

It includes :

  1. ActivitiesScreenMap : 4 button to choose the travel mode for the path between activities.
  2. Activity Bottom Sheet: 1 button to show the gps path
  3. GPS Bottom Sheet : 4 button to choose the travel mode for the path between gps and activity.

@Unsaved2 Unsaved2 self-assigned this Dec 14, 2024
@Unsaved2 Unsaved2 added the enhancement New feature or request label Dec 14, 2024
@Unsaved2 Unsaved2 linked an issue Dec 14, 2024 that may be closed by this pull request
@Unsaved2 Unsaved2 marked this pull request as ready for review December 14, 2024 21:05
Copy link
Contributor

@StefanPetersTM StefanPetersTM left a 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!

Screenshot from 2024-12-14 23-16-06

Copy link
Contributor

@StefanPetersTM StefanPetersTM left a 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!

@Unsaved2 Unsaved2 merged commit 2dfa93f into main Dec 16, 2024
3 checks passed
@Unsaved2 Unsaved2 deleted the feature/travelModeButton branch December 16, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add travel modes to ActivitiesMapScreen
2 participants