{"action":"created","issue":{"url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/issues/107","labels_url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/issues/107/comments","events_url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/issues/107/events","html_url":"https://github.com/CMPUT301W15T07/TravelTracker/issues/107","id":64130058,"number":107,"title":"Add distance-based color-coding to expense claims list","user":{"login":"TheLastBanana","id":1923551,"avatar_url":"https://avatars.githubusercontent.com/u/1923551?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLastBanana","html_url":"https://github.com/TheLastBanana","followers_url":"https://api.github.com/users/TheLastBanana/followers","following_url":"https://api.github.com/users/TheLastBanana/following{/other_user}","gists_url":"https://api.github.com/users/TheLastBanana/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLastBanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLastBanana/subscriptions","organizations_url":"https://api.github.com/users/TheLastBanana/orgs","repos_url":"https://api.github.com/users/TheLastBanana/repos","events_url":"https://api.github.com/users/TheLastBanana/events{/privacy}","received_events_url":"https://api.github.com/users/TheLastBanana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"therabidsquirel","id":6912794,"avatar_url":"https://avatars.githubusercontent.com/u/6912794?v=3","gravatar_id":"","url":"https://api.github.com/users/therabidsquirel","html_url":"https://github.com/therabidsquirel","followers_url":"https://api.github.com/users/therabidsquirel/followers","following_url":"https://api.github.com/users/therabidsquirel/following{/other_user}","gists_url":"https://api.github.com/users/therabidsquirel/gists{/gist_id}","starred_url":"https://api.github.com/users/therabidsquirel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therabidsquirel/subscriptions","organizations_url":"https://api.github.com/users/therabidsquirel/orgs","repos_url":"https://api.github.com/users/therabidsquirel/repos","events_url":"https://api.github.com/users/therabidsquirel/events{/privacy}","received_events_url":"https://api.github.com/users/therabidsquirel/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/milestones/4","html_url":"https://github.com/CMPUT301W15T07/TravelTracker/milestones/Project%20Part%205","labels_url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/milestones/4/labels","id":972617,"number":4,"title":"Project Part 5","description":"Final Prototype\r\n\r\nYour product is ready to be released!\r\n\r\nMost deliverables are final, consistent updates of what was initiated for project part 4.","creator":{"login":"kuzi117","id":676209,"avatar_url":"https://avatars.githubusercontent.com/u/676209?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzi117","html_url":"https://github.com/kuzi117","followers_url":"https://api.github.com/users/kuzi117/followers","following_url":"https://api.github.com/users/kuzi117/following{/other_user}","gists_url":"https://api.github.com/users/kuzi117/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzi117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzi117/subscriptions","organizations_url":"https://api.github.com/users/kuzi117/orgs","repos_url":"https://api.github.com/users/kuzi117/repos","events_url":"https://api.github.com/users/kuzi117/events{/privacy}","received_events_url":"https://api.github.com/users/kuzi117/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":12,"state":"open","created_at":"2015-02-09T21:36:20Z","updated_at":"2015-04-04T12:56:05Z","due_on":"2015-04-07T06:00:00Z","closed_at":null},"comments":1,"created_at":"2015-03-24T23:59:31Z","updated_at":"2015-04-04T16:41:51Z","closed_at":null,"body":"Refer to US02.03.01"},"comment":{"url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/issues/comments/89611910","html_url":"https://github.com/CMPUT301W15T07/TravelTracker/issues/107#issuecomment-89611910","issue_url":"https://api.github.com/repos/CMPUT301W15T07/TravelTracker/issues/107","id":89611910,"user":{"login":"therabidsquirel","id":6912794,"avatar_url":"https://avatars.githubusercontent.com/u/6912794?v=3","gravatar_id":"","url":"https://api.github.com/users/therabidsquirel","html_url":"https://github.com/therabidsquirel","followers_url":"https://api.github.com/users/therabidsquirel/followers","following_url":"https://api.github.com/users/therabidsquirel/following{/other_user}","gists_url":"https://api.github.com/users/therabidsquirel/gists{/gist_id}","starred_url":"https://api.github.com/users/therabidsquirel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therabidsquirel/subscriptions","organizations_url":"https://api.github.com/users/therabidsquirel/orgs","repos_url":"https://api.github.com/users/therabidsquirel/repos","events_url":"https://api.github.com/users/therabidsquirel/events{/privacy}","received_events_url":"https://api.github.com/users/therabidsquirel/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T16:41:51Z","updated_at":"2015-04-04T16:41:51Z","body":"I know we talked about this two labs ago, but I'm having trouble remembering. How many levels of distance do we want to have, and what would be the approximate kilometer thresholds? I'm thinking text labels for various levels are a good idea, as it provides another means of gauging distance. I'm thinking of using a TextView I can switch out the label for and change the color of the text/background. I'm kind of terrible with distances, but how do these sound?\r\n\r\n- Very Nearby, < 100 km\r\n- Nearby, < 500 km\r\n- (I can't think of a good label), < 3 000 km\r\n- Distant, < 10 000 km\r\n- Very Distant, no max\r\n\r\n@kdbanman's very helpful [eClass post](https://eclass.srv.ualberta.ca/mod/forum/discuss.php?d=486352) about color.\r\n\r\nColor doesn't have to be confined to a label, as it can be interpolated based on distance. For example (I'm not familiar with HSV), using an HSV of (0,0,100) for no distance and (0,100,100) for max distance (>= 20 000 km). I do like interpolating the color, as it provides a very smooth spectrum then.\r\n\r\nI've about got the implementation in, I'm just concerned about valid thresholds/labels/colors, all from a usability standpoint. I'm open to anything."}}