{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/13","id":35866992,"html_url":"https://github.com/techdev-solutions/trackr-frontend/pull/13","diff_url":"https://github.com/techdev-solutions/trackr-frontend/pull/13.diff","patch_url":"https://github.com/techdev-solutions/trackr-frontend/pull/13.patch","issue_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/13","number":13,"state":"open","locked":false,"title":"Make reportr change the URL when selecting an interval","user":{"login":"FrontierPsychiatrist","id":3382041,"avatar_url":"https://avatars.githubusercontent.com/u/3382041?v=3","gravatar_id":"","url":"https://api.github.com/users/FrontierPsychiatrist","html_url":"https://github.com/FrontierPsychiatrist","followers_url":"https://api.github.com/users/FrontierPsychiatrist/followers","following_url":"https://api.github.com/users/FrontierPsychiatrist/following{/other_user}","gists_url":"https://api.github.com/users/FrontierPsychiatrist/gists{/gist_id}","starred_url":"https://api.github.com/users/FrontierPsychiatrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrontierPsychiatrist/subscriptions","organizations_url":"https://api.github.com/users/FrontierPsychiatrist/orgs","repos_url":"https://api.github.com/users/FrontierPsychiatrist/repos","events_url":"https://api.github.com/users/FrontierPsychiatrist/events{/privacy}","received_events_url":"https://api.github.com/users/FrontierPsychiatrist/received_events","type":"User","site_admin":false},"body":"This PR modifies reportr so that all controllers update the URL when changing an interval in the report. This allows sharing specific reports via the URL. Also developers can easily reload reports without having to select the interval again every time.\r\n\r\nI also switched the require.js injection to relative paths (saves some screenspace and even bytes) and the AngularJS injection to work via the .$inject property which is also great for saving some screenspace and still works with minification.","created_at":"2015-05-20T19:27:48Z","updated_at":"2015-05-20T19:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"alexhanschke","id":58935,"avatar_url":"https://avatars.githubusercontent.com/u/58935?v=3","gravatar_id":"","url":"https://api.github.com/users/alexhanschke","html_url":"https://github.com/alexhanschke","followers_url":"https://api.github.com/users/alexhanschke/followers","following_url":"https://api.github.com/users/alexhanschke/following{/other_user}","gists_url":"https://api.github.com/users/alexhanschke/gists{/gist_id}","starred_url":"https://api.github.com/users/alexhanschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexhanschke/subscriptions","organizations_url":"https://api.github.com/users/alexhanschke/orgs","repos_url":"https://api.github.com/users/alexhanschke/repos","events_url":"https://api.github.com/users/alexhanschke/events{/privacy}","received_events_url":"https://api.github.com/users/alexhanschke/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/13/commits","review_comments_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/13/comments","review_comment_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/13/comments","statuses_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/statuses/5fa2bfd8a0c938172147383b6db8dd29477380ea","head":{"label":"techdev-solutions:trackr-reportr-save-timespan","ref":"trackr-reportr-save-timespan","sha":"5fa2bfd8a0c938172147383b6db8dd29477380ea","user":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":21266041,"name":"trackr-frontend","full_name":"techdev-solutions/trackr-frontend","owner":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/techdev-solutions/trackr-frontend","description":"","fork":false,"url":"https://api.github.com/repos/techdev-solutions/trackr-frontend","forks_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/forks","keys_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/teams","hooks_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/hooks","issue_events_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/events","assignees_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/tags","blobs_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/languages","stargazers_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/stargazers","contributors_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/contributors","subscribers_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/subscribers","subscription_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/subscription","commits_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/merges","archive_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/downloads","issues_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/labels{/name}","releases_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/releases{/id}","created_at":"2014-06-27T06:19:10Z","updated_at":"2015-05-20T19:25:33Z","pushed_at":"2015-05-20T19:24:14Z","git_url":"git://github.com/techdev-solutions/trackr-frontend.git","ssh_url":"git@github.com:techdev-solutions/trackr-frontend.git","clone_url":"https://github.com/techdev-solutions/trackr-frontend.git","svn_url":"https://github.com/techdev-solutions/trackr-frontend","homepage":null,"size":1431,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":4,"forks":24,"open_issues":4,"watchers":53,"default_branch":"development"}},"base":{"label":"techdev-solutions:development","ref":"development","sha":"ec4afaf564aa33438938ee3aaa6c6d53c28ba172","user":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":21266041,"name":"trackr-frontend","full_name":"techdev-solutions/trackr-frontend","owner":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/techdev-solutions/trackr-frontend","description":"","fork":false,"url":"https://api.github.com/repos/techdev-solutions/trackr-frontend","forks_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/forks","keys_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/teams","hooks_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/hooks","issue_events_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/events","assignees_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/tags","blobs_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/languages","stargazers_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/stargazers","contributors_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/contributors","subscribers_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/subscribers","subscription_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/subscription","commits_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/merges","archive_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/downloads","issues_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/labels{/name}","releases_url":"https://api.github.com/repos/techdev-solutions/trackr-frontend/releases{/id}","created_at":"2014-06-27T06:19:10Z","updated_at":"2015-05-20T19:25:33Z","pushed_at":"2015-05-20T19:24:14Z","git_url":"git://github.com/techdev-solutions/trackr-frontend.git","ssh_url":"git@github.com:techdev-solutions/trackr-frontend.git","clone_url":"https://github.com/techdev-solutions/trackr-frontend.git","svn_url":"https://github.com/techdev-solutions/trackr-frontend","homepage":null,"size":1431,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":4,"forks":24,"open_issues":4,"watchers":53,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/13"},"html":{"href":"https://github.com/techdev-solutions/trackr-frontend/pull/13"},"issue":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/13"},"comments":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/techdev-solutions/trackr-frontend/statuses/5fa2bfd8a0c938172147383b6db8dd29477380ea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":153,"deletions":37,"changed_files":18}}