{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/208498538","pull_request_review_id":144317311,"id":208498538,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODQ5ODUzOA==","diff_hunk":"@@ -0,0 +1,6 @@\n+export const LAYOUT_SHOW_LOADING = 'LAYOUT_SHOW_LOADING';\n+export const LAYOUT_HIDE_LOADING = 'LAYOUT_HIDE_LOADING';\n+export const LAYOUT_CHANGE_LOCATION = 'LAYOUT_CHANGE_LOCATION';\n+export const LAYOUT_CHANGE_ORG = 'LAYOUT_CHANGE_ORG';\n+export const LAYOUT_UPDATE_ITEMS = 'LAYOUT_UPDATE_ITEMS';\n+export const getCurrentPath = () => window.location.pathname;","path":"webpack/assets/javascripts/react_app/components/Layout/LayoutConstants.js","position":6,"original_position":6,"commit_id":"cfb48d947ed398d3e7fc84de32247fd158d556d4","original_commit_id":"cfb48d947ed398d3e7fc84de32247fd158d556d4","user":{"login":"lizagilman","id":15361156,"node_id":"MDQ6VXNlcjE1MzYxMTU2","avatar_url":"https://avatars1.githubusercontent.com/u/15361156?v=4","gravatar_id":"","url":"https://api.github.com/users/lizagilman","html_url":"https://github.com/lizagilman","followers_url":"https://api.github.com/users/lizagilman/followers","following_url":"https://api.github.com/users/lizagilman/following{/other_user}","gists_url":"https://api.github.com/users/lizagilman/gists{/gist_id}","starred_url":"https://api.github.com/users/lizagilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizagilman/subscriptions","organizations_url":"https://api.github.com/users/lizagilman/orgs","repos_url":"https://api.github.com/users/lizagilman/repos","events_url":"https://api.github.com/users/lizagilman/events{/privacy}","received_events_url":"https://api.github.com/users/lizagilman/received_events","type":"User","site_admin":false},"body":"does this function belong here? maybe move it to a helper?","created_at":"2018-08-08T08:32:09Z","updated_at":"2018-08-08T08:32:09Z","html_url":"https://github.com/theforeman/foreman/pull/5898#discussion_r208498538","pull_request_url":"https://api.github.com/repos/theforeman/foreman/pulls/5898","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/208498538"},"html":{"href":"https://github.com/theforeman/foreman/pull/5898#discussion_r208498538"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/5898"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/5898","id":205148593,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MTQ4NTkz","html_url":"https://github.com/theforeman/foreman/pull/5898","diff_url":"https://github.com/theforeman/foreman/pull/5898.diff","patch_url":"https://github.com/theforeman/foreman/pull/5898.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/5898","number":5898,"state":"open","locked":false,"title":"[WIP] Fixes #23445 Refactor Layout(VerticalNav, Topbar) to PF-React","user":{"login":"gilad215","id":24938324,"node_id":"MDQ6VXNlcjI0OTM4MzI0","avatar_url":"https://avatars1.githubusercontent.com/u/24938324?v=4","gravatar_id":"","url":"https://api.github.com/users/gilad215","html_url":"https://github.com/gilad215","followers_url":"https://api.github.com/users/gilad215/followers","following_url":"https://api.github.com/users/gilad215/following{/other_user}","gists_url":"https://api.github.com/users/gilad215/gists{/gist_id}","starred_url":"https://api.github.com/users/gilad215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilad215/subscriptions","organizations_url":"https://api.github.com/users/gilad215/orgs","repos_url":"https://api.github.com/users/gilad215/repos","events_url":"https://api.github.com/users/gilad215/events{/privacy}","received_events_url":"https://api.github.com/users/gilad215/received_events","type":"User","site_admin":false},"body":"Refactoring the Layout (VerticalNavbar, Topbar) to PF-React.\r\n\r\n**TODO**\r\n- [ ] Ruby Helpers\r\n\r\n- [ ] Tests\r\n\r\n\r\n\r\n\r\n<!---\r\n\r\nThank you for contributing to The Foreman, please read the\r\n[following guide](https://www.theforeman.org/contribute.html), in short:\r\n\r\n* [Create an issue](https://projects.theforeman.org/projects/foreman/issues)\r\n* Reference the issue via `Fixes #1234` in the commit message\r\n* Prefer present-tense, imperative-style commit messages\r\n* Mark all strings for translation, see [Translating section in the guide]\r\n(https://projects.theforeman.org/projects/foreman/wiki/Translating)\r\n* Prepend `[WIP]` for work in progress to prevent bots from triggering actions\r\n* Be patient, we will do our best to take a look as soon as we can\r\n* Explain the purpose of the PR, attach screenshots if applicable\r\n* Be nice and respectful\r\n\r\nWe are running bots that will poke you if you miss an item from the list :-)\r\n\r\n--->\r\n","created_at":"2018-07-31T15:16:10Z","updated_at":"2018-08-08T08:32:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34484e038910cfd3082d2a15315cc2ead34872e1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":79040160,"node_id":"MDU6TGFiZWw3OTA0MDE2MA==","url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20re-review","name":"Needs re-review","color":"0052cc","default":false},{"id":79040689,"node_id":"MDU6TGFiZWw3OTA0MDY4OQ==","url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/5898/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/5898/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/5898/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/cfb48d947ed398d3e7fc84de32247fd158d556d4","head":{"label":"gilad215:feature-layout","ref":"feature-layout","sha":"cfb48d947ed398d3e7fc84de32247fd158d556d4","user":{"login":"gilad215","id":24938324,"node_id":"MDQ6VXNlcjI0OTM4MzI0","avatar_url":"https://avatars1.githubusercontent.com/u/24938324?v=4","gravatar_id":"","url":"https://api.github.com/users/gilad215","html_url":"https://github.com/gilad215","followers_url":"https://api.github.com/users/gilad215/followers","following_url":"https://api.github.com/users/gilad215/following{/other_user}","gists_url":"https://api.github.com/users/gilad215/gists{/gist_id}","starred_url":"https://api.github.com/users/gilad215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilad215/subscriptions","organizations_url":"https://api.github.com/users/gilad215/orgs","repos_url":"https://api.github.com/users/gilad215/repos","events_url":"https://api.github.com/users/gilad215/events{/privacy}","received_events_url":"https://api.github.com/users/gilad215/received_events","type":"User","site_admin":false},"repo":{"id":126309717,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYzMDk3MTc=","name":"foreman","full_name":"gilad215/foreman","owner":{"login":"gilad215","id":24938324,"node_id":"MDQ6VXNlcjI0OTM4MzI0","avatar_url":"https://avatars1.githubusercontent.com/u/24938324?v=4","gravatar_id":"","url":"https://api.github.com/users/gilad215","html_url":"https://github.com/gilad215","followers_url":"https://api.github.com/users/gilad215/followers","following_url":"https://api.github.com/users/gilad215/following{/other_user}","gists_url":"https://api.github.com/users/gilad215/gists{/gist_id}","starred_url":"https://api.github.com/users/gilad215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilad215/subscriptions","organizations_url":"https://api.github.com/users/gilad215/orgs","repos_url":"https://api.github.com/users/gilad215/repos","events_url":"https://api.github.com/users/gilad215/events{/privacy}","received_events_url":"https://api.github.com/users/gilad215/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gilad215/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/gilad215/foreman","forks_url":"https://api.github.com/repos/gilad215/foreman/forks","keys_url":"https://api.github.com/repos/gilad215/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gilad215/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gilad215/foreman/teams","hooks_url":"https://api.github.com/repos/gilad215/foreman/hooks","issue_events_url":"https://api.github.com/repos/gilad215/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/gilad215/foreman/events","assignees_url":"https://api.github.com/repos/gilad215/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/gilad215/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/gilad215/foreman/tags","blobs_url":"https://api.github.com/repos/gilad215/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gilad215/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gilad215/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/gilad215/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gilad215/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/gilad215/foreman/languages","stargazers_url":"https://api.github.com/repos/gilad215/foreman/stargazers","contributors_url":"https://api.github.com/repos/gilad215/foreman/contributors","subscribers_url":"https://api.github.com/repos/gilad215/foreman/subscribers","subscription_url":"https://api.github.com/repos/gilad215/foreman/subscription","commits_url":"https://api.github.com/repos/gilad215/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/gilad215/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/gilad215/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/gilad215/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/gilad215/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/gilad215/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gilad215/foreman/merges","archive_url":"https://api.github.com/repos/gilad215/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gilad215/foreman/downloads","issues_url":"https://api.github.com/repos/gilad215/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/gilad215/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/gilad215/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/gilad215/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gilad215/foreman/labels{/name}","releases_url":"https://api.github.com/repos/gilad215/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/gilad215/foreman/deployments","created_at":"2018-03-22T09:16:59Z","updated_at":"2018-07-31T14:19:32Z","pushed_at":"2018-08-07T11:35:48Z","git_url":"git://github.com/gilad215/foreman.git","ssh_url":"git@github.com:gilad215/foreman.git","clone_url":"https://github.com/gilad215/foreman.git","svn_url":"https://github.com/gilad215/foreman","homepage":"http://theforeman.org","size":76114,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"62976743b694fea31fc4111f23d8025966af28a4","user":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"node_id":"MDEwOlJlcG9zaXRvcnkyNTg3NTA=","name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0Mzk4NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1439844?v=4","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman/deployments","created_at":"2009-07-23T15:07:00Z","updated_at":"2018-08-07T14:10:50Z","pushed_at":"2018-08-08T08:31:53Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":77088,"stargazers_count":1473,"watchers_count":1473,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":750,"mirror_url":null,"archived":false,"open_issues_count":119,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":750,"open_issues":119,"watchers":1473,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/5898"},"html":{"href":"https://github.com/theforeman/foreman/pull/5898"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/5898"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/5898/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/5898/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/5898/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/cfb48d947ed398d3e7fc84de32247fd158d556d4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lizagilman"}}