{"action":"created","issue":{"url":"https://api.github.com/repos/18F/tock/issues/296","labels_url":"https://api.github.com/repos/18F/tock/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/18F/tock/issues/296/comments","events_url":"https://api.github.com/repos/18F/tock/issues/296/events","html_url":"https://github.com/18F/tock/pull/296","id":127071447,"number":296,"title":"Limit to 5 recent periods in table on project detail page","user":{"login":"brendansudol","id":1060893,"avatar_url":"https://avatars.githubusercontent.com/u/1060893?v=3","gravatar_id":"","url":"https://api.github.com/users/brendansudol","html_url":"https://github.com/brendansudol","followers_url":"https://api.github.com/users/brendansudol/followers","following_url":"https://api.github.com/users/brendansudol/following{/other_user}","gists_url":"https://api.github.com/users/brendansudol/gists{/gist_id}","starred_url":"https://api.github.com/users/brendansudol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendansudol/subscriptions","organizations_url":"https://api.github.com/users/brendansudol/orgs","repos_url":"https://api.github.com/users/brendansudol/repos","events_url":"https://api.github.com/users/brendansudol/events{/privacy}","received_events_url":"https://api.github.com/users/brendansudol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-17T03:32:09Z","updated_at":"2016-01-19T17:41:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/tock/pulls/296","html_url":"https://github.com/18F/tock/pull/296","diff_url":"https://github.com/18F/tock/pull/296.diff","patch_url":"https://github.com/18F/tock/pull/296.patch"},"body":"This PR addresses [issue #289](https://github.com/18F/tock/issues/289), the micro-purchase auction to \"Fix data visualization in Tock user interface\". \r\n\r\nThis code limits the number of time periods displayed in the table in the project detail page (/projects/:id) to the five most recent time periods by filtering the data in the `project_timeline` method in `project/views.py`. \r\n\r\nNew unit tests for this functionality can be found in `projects/tests.py`.\r\n\r\nAll new code is [PEP 8](https://www.python.org/dev/peps/pep-0008/) compliant."},"comment":{"url":"https://api.github.com/repos/18F/tock/issues/comments/172929572","html_url":"https://github.com/18F/tock/pull/296#issuecomment-172929572","issue_url":"https://api.github.com/repos/18F/tock/issues/296","id":172929572,"user":{"login":"adelevie","id":86790,"avatar_url":"https://avatars.githubusercontent.com/u/86790?v=3","gravatar_id":"","url":"https://api.github.com/users/adelevie","html_url":"https://github.com/adelevie","followers_url":"https://api.github.com/users/adelevie/followers","following_url":"https://api.github.com/users/adelevie/following{/other_user}","gists_url":"https://api.github.com/users/adelevie/gists{/gist_id}","starred_url":"https://api.github.com/users/adelevie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelevie/subscriptions","organizations_url":"https://api.github.com/users/adelevie/orgs","repos_url":"https://api.github.com/users/adelevie/repos","events_url":"https://api.github.com/users/adelevie/events{/privacy}","received_events_url":"https://api.github.com/users/adelevie/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T17:41:31Z","updated_at":"2016-01-19T17:41:31Z","body":"LGTM. We accept.\r\n\r\n:ship: "}}