sllvn / deglassified Goto Github PK
View Code? Open in Web Editor NEWCataloguing businesses with policies against Google Glass.
Cataloguing businesses with policies against Google Glass.
This is problematic, because the 'popupclose' event will call a state change, resulting in two back-to-back state changes. Furthermore, the state change from 'popupclose' uses an out of date $rootScope.currentLocation, because the controller from the freshly loaded state has not had a chance to set the new $rootScope.currentLocation.
To prevent this, we have to do two unideal things:
Use $rootScope instead of $scope.currentLocation, as we need to allow the Mapbox service access to the property.
AND, in loadLocation() in app.js, we have to set the $rootScope.currentLocation to the location we are about to change to, before making the new state change.
Long sidebar screws up scrolling (see http://www.deglassified.com/san-francisco)
Some businesses have softer restrictions on Glass, ie, must have camera covered, not allowed to film, etc., and do not ban Glass outright.
I'm thinking different colored markers + tags in the sidebar.
Add stateful routing so that:
Create documentation for API in README
Nothing should be served via the asset pipeline, and we then we can add the rails-api gem (https://github.com/rails-api/rails-api) for a faster API
Don't make assumptions about the order of address_components. Look at the types (city = "locality" and state = "administrative_area_level_1") and determine type of address_components from those.
Ie, San Francisco location should load Oakland markers, even though Oakland is a separate location
Try querying with 'dallas'. Response returns null.
When POSTing to '/api/users/sign_in', if a login fails due to bad email/password, a 401 error code is returned, along with the typical response.auth object.
When POSTing to '/api/users/' for a user registration, if it fails due to mismatched passwords, too short password, etc., no error code is returned, so the post is seen as 'successful'.
This issue causes inconsistency and not easily understood code when handling the request errors.
Would be nice if failed POSTs to '/api/users/' also returned an error code, so that $http's .error() would trigger instead of .success().
Adding another /seattle/mcdonalds/ will result in /seattle/mcdonalds-97c08279-3e0b-46ea-8f16-710aeaecbf51. Should result in /seattle/mcdonalds-2/ or something else.
Because Geocod.io is unreliable and often has issues geocoding vague addresses
Should attempt to detect user's location and load the closest location, rather than default to Seattle
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.