-
Notifications
You must be signed in to change notification settings - Fork 77
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
Only query single route if segmentRange specified #522
Conversation
Welcome to connect! Make sure to:
deployed preview: https://522.connect-d5y.pages.dev |
Loading all routes isn't an appropriate solution (speed), we should go and check how this used to work and replicate that. Was it an API query using the time ranges? Perhaps we can just query w/ the route name |
We used to have the time range in the URL. We'll have to update the endpoint to also take a route name I guess. |
Yeah that makes the most sense. |
Does this have everything we need? https://github.com/commaai/comma-api/blob/d23b152ea64bfcd0de0937d2d525d556870820b6/src/drives.js#L17 |
Sorry, this doesn't. We need |
This issue has been fixed. for some reason, none of the CF pages related to my PR's are updating on subsequent commits. So, the URL related to this PR is outdated. However, the issue has been solved and the drives are loading. |
This still doesn't work properly... It never recovers from this state: Have a PR to properly fix this: #544 |
i can't see the issue. seems fine for me drive.loading.mp4 |
Very strange, I can reproduce it locally with I changed it to only query the specific route on loading a route from URL, makes a bit more sense |
seems like it works now 😅 are you going to merge this or do you want me to clean up anything more? |
No description provided.