{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments/195665486","pull_request_review_id":129080195,"id":195665486,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTY2NTQ4Ng==","diff_hunk":"@@ -0,0 +1,24 @@\n+/*\n+ * This is a manifest file that'll be compiled into application.css, which will include all the files\n+ * listed below.\n+ *\n+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,\n+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.\n+ *\n+ * You're free to add application-wide styles to this file and they'll appear at the top of the\n+ * compiled file, but it's generally better to create a new file per style scope.\n+ *\n+ *= require peek\n+*/\n+$primary: #690;\n+$secondary: #39c;","path":"src/api/app/assets/stylesheets/webui2/webui2.css.scss","position":14,"original_position":14,"commit_id":"92099c7d740f0be1bdcce5cb4ee98922a50daac4","original_commit_id":"d8e8cd0a030c4a2212d8005fa1f1fa60bc80fe52","user":{"login":"Ana06","id":16052290,"node_id":"MDQ6VXNlcjE2MDUyMjkw","avatar_url":"https://avatars3.githubusercontent.com/u/16052290?v=4","gravatar_id":"","url":"https://api.github.com/users/Ana06","html_url":"https://github.com/Ana06","followers_url":"https://api.github.com/users/Ana06/followers","following_url":"https://api.github.com/users/Ana06/following{/other_user}","gists_url":"https://api.github.com/users/Ana06/gists{/gist_id}","starred_url":"https://api.github.com/users/Ana06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ana06/subscriptions","organizations_url":"https://api.github.com/users/Ana06/orgs","repos_url":"https://api.github.com/users/Ana06/repos","events_url":"https://api.github.com/users/Ana06/events{/privacy}","received_events_url":"https://api.github.com/users/Ana06/received_events","type":"User","site_admin":false},"body":"why?","created_at":"2018-06-15T08:32:14Z","updated_at":"2018-06-15T08:32:15Z","html_url":"https://github.com/openSUSE/open-build-service/pull/5120#discussion_r195665486","pull_request_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments/195665486"},"html":{"href":"https://github.com/openSUSE/open-build-service/pull/5120#discussion_r195665486"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120"}},"in_reply_to_id":195394391},"pull_request":{"url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120","id":194022886,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MDIyODg2","html_url":"https://github.com/openSUSE/open-build-service/pull/5120","diff_url":"https://github.com/openSUSE/open-build-service/pull/5120.diff","patch_url":"https://github.com/openSUSE/open-build-service/pull/5120.patch","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5120","number":5120,"state":"open","locked":false,"title":"Introduces switch to a new layout","user":{"login":"hennevogel","id":514785,"node_id":"MDQ6VXNlcjUxNDc4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/514785?v=4","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"body":"For certain actions and certain users we want to switch to a new bootstrap\r\nbased layout while for everyone else things should stay the same.\r\n\r\nAdding the `switch_to_webui2` method to a controllers `index` action will\r\n\r\n1. switch the layout to bootstrap\r\n2. switch the view path to files below `app/views/webui2`\r\n3. call the `webui2_index` method of the controller (if it exists)\r\n\r\nThat means you are flexible to overwrite only how the action is rendered (by\r\nadding `switch_to_webui2` to the end of your controller method) or can also\r\noverwrite what you do in the action (by putting it on the top of your method).\r\n\r\nCo-authored-by: Henne Vogelsang <hvogel@opensuse.org>\r\nCo-authored-by: Moises Deniz Aleman <mdeniz@suse.com>\r\nCo-authored-by: Stasiek Michalski <hellcp@opensuse.org>","created_at":"2018-06-11T15:42:11Z","updated_at":"2018-06-15T08:32:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c049663c2a9474a3faf40002e7b0aef5e85057a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":21922370,"node_id":"MDU6TGFiZWwyMTkyMjM3MA==","url":"https://api.github.com/repos/openSUSE/open-build-service/labels/Frontend%20%F0%9F%91%BB","name":"Frontend 👻","color":"c7def8","default":false},{"id":895764128,"node_id":"MDU6TGFiZWw4OTU3NjQxMjg=","url":"https://api.github.com/repos/openSUSE/open-build-service/labels/review-app","name":"review-app","color":"93f486","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120/commits","review_comments_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120/comments","review_comment_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5120/comments","statuses_url":"https://api.github.com/repos/openSUSE/open-build-service/statuses/92099c7d740f0be1bdcce5cb4ee98922a50daac4","head":{"label":"hennevogel:feature/switch_layout","ref":"feature/switch_layout","sha":"92099c7d740f0be1bdcce5cb4ee98922a50daac4","user":{"login":"hennevogel","id":514785,"node_id":"MDQ6VXNlcjUxNDc4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/514785?v=4","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"repo":{"id":6598365,"node_id":"MDEwOlJlcG9zaXRvcnk2NTk4MzY1","name":"open-build-service","full_name":"hennevogel/open-build-service","owner":{"login":"hennevogel","id":514785,"node_id":"MDQ6VXNlcjUxNDc4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/514785?v=4","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hennevogel/open-build-service","description":"A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures.","fork":true,"url":"https://api.github.com/repos/hennevogel/open-build-service","forks_url":"https://api.github.com/repos/hennevogel/open-build-service/forks","keys_url":"https://api.github.com/repos/hennevogel/open-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hennevogel/open-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hennevogel/open-build-service/teams","hooks_url":"https://api.github.com/repos/hennevogel/open-build-service/hooks","issue_events_url":"https://api.github.com/repos/hennevogel/open-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/hennevogel/open-build-service/events","assignees_url":"https://api.github.com/repos/hennevogel/open-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/hennevogel/open-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/hennevogel/open-build-service/tags","blobs_url":"https://api.github.com/repos/hennevogel/open-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hennevogel/open-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hennevogel/open-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/hennevogel/open-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hennevogel/open-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/hennevogel/open-build-service/languages","stargazers_url":"https://api.github.com/repos/hennevogel/open-build-service/stargazers","contributors_url":"https://api.github.com/repos/hennevogel/open-build-service/contributors","subscribers_url":"https://api.github.com/repos/hennevogel/open-build-service/subscribers","subscription_url":"https://api.github.com/repos/hennevogel/open-build-service/subscription","commits_url":"https://api.github.com/repos/hennevogel/open-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/hennevogel/open-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/hennevogel/open-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/hennevogel/open-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/hennevogel/open-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/hennevogel/open-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hennevogel/open-build-service/merges","archive_url":"https://api.github.com/repos/hennevogel/open-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hennevogel/open-build-service/downloads","issues_url":"https://api.github.com/repos/hennevogel/open-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/hennevogel/open-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/hennevogel/open-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/hennevogel/open-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hennevogel/open-build-service/labels{/name}","releases_url":"https://api.github.com/repos/hennevogel/open-build-service/releases{/id}","deployments_url":"https://api.github.com/repos/hennevogel/open-build-service/deployments","created_at":"2012-11-08T15:30:07Z","updated_at":"2018-03-19T14:42:18Z","pushed_at":"2018-06-14T13:24:51Z","git_url":"git://github.com/hennevogel/open-build-service.git","ssh_url":"git@github.com:hennevogel/open-build-service.git","clone_url":"https://github.com/hennevogel/open-build-service.git","svn_url":"https://github.com/hennevogel/open-build-service","homepage":"http://openbuildservice.org/","size":58558,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openSUSE:master","ref":"master","sha":"9d600b5ce6648b79f2f9c0669f7815b332031027","user":{"login":"openSUSE","id":623819,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzgxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/623819?v=4","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":2046192,"node_id":"MDEwOlJlcG9zaXRvcnkyMDQ2MTky","name":"open-build-service","full_name":"openSUSE/open-build-service","owner":{"login":"openSUSE","id":623819,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzgxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/623819?v=4","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/open-build-service","description":"A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures.","fork":false,"url":"https://api.github.com/repos/openSUSE/open-build-service","forks_url":"https://api.github.com/repos/openSUSE/open-build-service/forks","keys_url":"https://api.github.com/repos/openSUSE/open-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/open-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/open-build-service/teams","hooks_url":"https://api.github.com/repos/openSUSE/open-build-service/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/open-build-service/events","assignees_url":"https://api.github.com/repos/openSUSE/open-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/open-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/open-build-service/tags","blobs_url":"https://api.github.com/repos/openSUSE/open-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/open-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/open-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/open-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/open-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/open-build-service/languages","stargazers_url":"https://api.github.com/repos/openSUSE/open-build-service/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/open-build-service/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/open-build-service/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/open-build-service/subscription","commits_url":"https://api.github.com/repos/openSUSE/open-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/open-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/open-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/open-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/open-build-service/merges","archive_url":"https://api.github.com/repos/openSUSE/open-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/open-build-service/downloads","issues_url":"https://api.github.com/repos/openSUSE/open-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/open-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/open-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/open-build-service/releases{/id}","deployments_url":"https://api.github.com/repos/openSUSE/open-build-service/deployments","created_at":"2011-07-14T06:52:57Z","updated_at":"2018-06-14T14:57:30Z","pushed_at":"2018-06-15T08:30:01Z","git_url":"git://github.com/openSUSE/open-build-service.git","ssh_url":"git@github.com:openSUSE/open-build-service.git","clone_url":"https://github.com/openSUSE/open-build-service.git","svn_url":"https://github.com/openSUSE/open-build-service","homepage":"http://openbuildservice.org/","size":59614,"stargazers_count":354,"watchers_count":354,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":236,"mirror_url":null,"archived":false,"open_issues_count":520,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":236,"open_issues":520,"watchers":354,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120"},"html":{"href":"https://github.com/openSUSE/open-build-service/pull/5120"},"issue":{"href":"https://api.github.com/repos/openSUSE/open-build-service/issues/5120"},"comments":{"href":"https://api.github.com/repos/openSUSE/open-build-service/issues/5120/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/5120/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/open-build-service/statuses/92099c7d740f0be1bdcce5cb4ee98922a50daac4"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Ana06"}}