rufusasterisk / betweenfriends Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The current search results are limited to 20 and not placed well on the map. Retrieving more results and calculating the distances using the vincenty async will allow the result array to be sorted based on distance from center
Make the search bar for locations larger to improve user experience.
Currently you have 2 separate reducers for the user location. It might make sense to boil that down to an object with keys.
Current results are limited to non-distance sorted first 20 locations. Need to increase location count to increase closeness of returned locations to the center.
after the endpoint search boxes move to the sides of the screen, changing the text in the field refreshes the entire element, causing a visual glitch.
The form field should be separate from the rest of the component. If the state on the text field/button updates and causes a render, it will not re-render the map and css, hopefully removing the glitch
betweenfriends/src/components/EndpointSearch/EndpointSearch.js
Lines 33 to 40 in 8c70485
This could become a stateless component.
The results of the google places query are locations with a GPS coordinate. Each place object in the array needs to have the distance between the center and its coordinates added to the place object
The retrieved array is growing in size. Needs a place to be stored so the api results are added to the array instead of being the entire array.
Array must be sorted by distance before displayed to the user (possibly display as results come in for better UX)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.