-
Notifications
You must be signed in to change notification settings - Fork 70
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
Let user pick DPS location #24
Comments
I need some recommendations before implementing this Users can pick one or multiple locations in this situation, and there will be an option on Or, we remove the miles and let users pick themself. After that save it to a file for the next time. If the user wants to "reset" it just deletes the temporary file. |
Sounds great! How about this.
PS: @sudo-chan is my alt account lmao. I would have put in a PR already in the same time required to write this comment but unfortunately I am entirely unfamiliar with TS/JS 🙈 |
Thanks for your comment! To my knowledge, files on replit won't get deleted like heroku. And imo is best when saving that data separately from the main config because it is considered I don't think the second bullet is a good idea since the exact name returns from the API might differ from the user's input. Also, I would have to map the location to locationID to filter it out too :D |
Nice! If replit can store temp data yes I agree just having the first bullet alone is good enough 👍 Looking forward to it!! |
Also, I will need to define "default" behavior when running the application. Which one is better?
And the config structure too: location:
# Zipcode of your location (for finding DPS location)
zipCode: '75067'
# Choose your DPS location
pickDPSLocation: false
# Filter DPS location by distance from the zip code
miles: 15
... |
I suppose defaulting to "miles" based is better as most people would just want to go to their closest one anyways. And highlighting the fact that this feature of custom selection exists in the documentation should be important. |
please check on master branch. I didn't implement the "temporary" file yet. |
Originally posted by @sudo-chan in #21 (comment)
The text was updated successfully, but these errors were encountered: