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

Show user's distance to events in the HomeScreen. #353

Closed
wants to merge 2 commits into from

Conversation

alejandrocalles
Copy link
Contributor

Should close #318.

If permissions are enabled, every EventListitem in the HomeScreen should show how far the user is from the event.

Distance should also be shown in the EventInfoSheet.

Should allow users to sort events by distance in the HomeScreen.

@alejandrocalles alejandrocalles self-assigned this May 24, 2024
@alejandrocalles alejandrocalles added the enhancement New feature or request label May 24, 2024
@alejandrocalles alejandrocalles added this to the Milestone 4 milestone May 24, 2024
Add more state to the viewmodel to keep track of the location.

Add a function to the viewmodel that binds a listener to the
`lastLocation` field of the location provider.

Modify the `EventListItem` to show the distance to the event when
the user position is not null.
@alejandrocalles
Copy link
Contributor Author

Closing this because the UI has changed too much for this to be relevant. A new branch will be created from #373 instead.

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
Status: Done
Development

Successfully merging this pull request may close these issues.

Implement a GPS service to get the user position
1 participant