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/Segment trip time page #105

Merged

Conversation

shankari
Copy link
Contributor

@shankari shankari commented Mar 19, 2024

This is a minor change to #61
which resolves the merge conflicts from previous changes, and applies the date and user filters (added after the PR was created) to the query for this PR

TTalex and others added 12 commits August 11, 2023 16:10
…and end zones

Rewrote data fetching to use the geoquery sdk
The 'segment trip time' page was written before we had the global filters implemented. So we need to patch them in now to get this feature up to speed and merged.

Datepicker values and excluded uuids (if any) are passed through to the query_segments_crossing_endpoints function. Within this function is the DB call. We pass a time_query arg based on the selected dates + timezone. We also pass a query in the extra_query_list arg that will exclude any entries where the user_id is found in the excluded_uuids list.
@shankari shankari merged commit b802c48 into e-mission:master Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants