{"action":"reopened","issue":{"url":"https://api.github.com/repos/openpowerquality/opq/issues/69","repository_url":"https://api.github.com/repos/openpowerquality/opq","labels_url":"https://api.github.com/repos/openpowerquality/opq/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/openpowerquality/opq/issues/69/comments","events_url":"https://api.github.com/repos/openpowerquality/opq/issues/69/events","html_url":"https://github.com/openpowerquality/opq/issues/69","id":298813429,"node_id":"MDU6SXNzdWUyOTg4MTM0Mjk=","number":69,"title":"Implement BoxMap Component","user":{"login":"philipmjohnson","id":290288,"node_id":"MDQ6VXNlcjI5MDI4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/290288?v=4","gravatar_id":"","url":"https://api.github.com/users/philipmjohnson","html_url":"https://github.com/philipmjohnson","followers_url":"https://api.github.com/users/philipmjohnson/followers","following_url":"https://api.github.com/users/philipmjohnson/following{/other_user}","gists_url":"https://api.github.com/users/philipmjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/philipmjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipmjohnson/subscriptions","organizations_url":"https://api.github.com/users/philipmjohnson/orgs","repos_url":"https://api.github.com/users/philipmjohnson/repos","events_url":"https://api.github.com/users/philipmjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/philipmjohnson/received_events","type":"User","site_admin":false},"labels":[{"id":771655225,"node_id":"MDU6TGFiZWw3NzE2NTUyMjU=","url":"https://api.github.com/repos/openpowerquality/opq/labels/View","name":"View","color":"f7a765","default":false}],"state":"open","locked":false,"assignee":{"login":"aghalarp","id":5334478,"node_id":"MDQ6VXNlcjUzMzQ0Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5334478?v=4","gravatar_id":"","url":"https://api.github.com/users/aghalarp","html_url":"https://github.com/aghalarp","followers_url":"https://api.github.com/users/aghalarp/followers","following_url":"https://api.github.com/users/aghalarp/following{/other_user}","gists_url":"https://api.github.com/users/aghalarp/gists{/gist_id}","starred_url":"https://api.github.com/users/aghalarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghalarp/subscriptions","organizations_url":"https://api.github.com/users/aghalarp/orgs","repos_url":"https://api.github.com/users/aghalarp/repos","events_url":"https://api.github.com/users/aghalarp/events{/privacy}","received_events_url":"https://api.github.com/users/aghalarp/received_events","type":"User","site_admin":false},"assignees":[{"login":"aghalarp","id":5334478,"node_id":"MDQ6VXNlcjUzMzQ0Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5334478?v=4","gravatar_id":"","url":"https://api.github.com/users/aghalarp","html_url":"https://github.com/aghalarp","followers_url":"https://api.github.com/users/aghalarp/followers","following_url":"https://api.github.com/users/aghalarp/following{/other_user}","gists_url":"https://api.github.com/users/aghalarp/gists{/gist_id}","starred_url":"https://api.github.com/users/aghalarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghalarp/subscriptions","organizations_url":"https://api.github.com/users/aghalarp/orgs","repos_url":"https://api.github.com/users/aghalarp/repos","events_url":"https://api.github.com/users/aghalarp/events{/privacy}","received_events_url":"https://api.github.com/users/aghalarp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":20,"created_at":"2018-02-21T01:43:28Z","updated_at":"2018-06-23T03:34:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Please do work for this task in a branch called issue-69.\r\n\r\nUpon logging into OPQView, users will have a link in their Navbar to a page called \"Box Map\".  This page contains a single component called BoxMap. The component subscribes to the OPQBox collection, from which it obtains the latest location data for all of the boxes owned by this user. \r\n\r\nThe component then uses a React-based Mapping facility ([react-leaflet](https://react-leaflet.js.org/)?) to display the latest location of each box. \r\n\r\nSome design issues:\r\n\r\n*Location representation*:  We want to be flexible regarding the way location data is specified. By default, we currently specify location with a zip code.  However, for the [Agile Power Monitoring Project](http://openpowerquality.org/projects/agile-power-monitoring.html), we will want to specify boxes with much greater precision so that the map can show the locations of boxes within buildings on campus. So, the Box Map component should be able to handle either zip code or lat/long coordinates. We will need to update the OPQBox data model to specify how lat/long data can be provided as an alternative representation for location. \r\n\r\n*Location lookup*: It appears to be unnecessary to build in a lat-long finder.  Users can be directed to any of a number of public websites (for example, [https://www.latlong.net/](https://www.latlong.net/)) to obtain the lat/long coordinates for a particular location. \r\n\r\n*Box Data*: It would be nice to provide a little bit of data about the box.  Minimally, the marker associated with the box can provide as a pop-up the box's name, description, and the nickname associated with the last location.  It could also specify its health status (up, down, unplugged). For more detail, the user should go to another component. \r\n"}}
{"actor":{"display_login":"philipmjohnson"}}