{"action":"created","comment":{"url":"https://api.github.com/repos/ReCodEx/web-app/pulls/comments/216488571","pull_request_review_id":153982341,"id":216488571,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjQ4ODU3MQ==","diff_hunk":"@@ -147,6 +152,24 @@ class GroupInfo extends Component {\n               }\n             />\n \n+            {data.archived &&\n+              <Row>\n+                <Col lg={12}>\n+                  <p className=\"callout callout-warning\">\n+                    <FormattedMessage\n+                      id=\"app.group.archivedExplain\"\n+                      defaultMessage=\"This group is archived, so it cannot be modified.\"\n+                    />\n+                    <br />\n+                    {!data.directlyArchived &&\n+                      <FormattedMessage\n+                        id=\"app.group.notDirectlyArchived\"\n+                        defaultMessage=\"This group inherits archivation flag from one of its parent groups.\"\n+                      />}\n+                  </p>\n+                </Col>\n+              </Row>}","path":"src/pages/GroupInfo/GroupInfo.js","position":43,"original_position":43,"commit_id":"862d3477b41e55f297846dd6ef2c8a7c09eb94d3","original_commit_id":"862d3477b41e55f297846dd6ef2c8a7c09eb94d3","user":{"login":"krulis-martin","id":26253487,"node_id":"MDQ6VXNlcjI2MjUzNDg3","avatar_url":"https://avatars3.githubusercontent.com/u/26253487?v=4","gravatar_id":"","url":"https://api.github.com/users/krulis-martin","html_url":"https://github.com/krulis-martin","followers_url":"https://api.github.com/users/krulis-martin/followers","following_url":"https://api.github.com/users/krulis-martin/following{/other_user}","gists_url":"https://api.github.com/users/krulis-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/krulis-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krulis-martin/subscriptions","organizations_url":"https://api.github.com/users/krulis-martin/orgs","repos_url":"https://api.github.com/users/krulis-martin/repos","events_url":"https://api.github.com/users/krulis-martin/events{/privacy}","received_events_url":"https://api.github.com/users/krulis-martin/received_events","type":"User","site_admin":false},"body":"Actually, I think I have seen this fragment at least three times already. The rule of three states that this should have been refactored into a shared component.","created_at":"2018-09-10T22:07:56Z","updated_at":"2018-09-10T22:07:56Z","html_url":"https://github.com/ReCodEx/web-app/pull/265#discussion_r216488571","pull_request_url":"https://api.github.com/repos/ReCodEx/web-app/pulls/265","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ReCodEx/web-app/pulls/comments/216488571"},"html":{"href":"https://github.com/ReCodEx/web-app/pull/265#discussion_r216488571"},"pull_request":{"href":"https://api.github.com/repos/ReCodEx/web-app/pulls/265"}}},"pull_request":{"url":"https://api.github.com/repos/ReCodEx/web-app/pulls/265","id":212813443,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyODEzNDQz","html_url":"https://github.com/ReCodEx/web-app/pull/265","diff_url":"https://github.com/ReCodEx/web-app/pull/265.diff","patch_url":"https://github.com/ReCodEx/web-app/pull/265.patch","issue_url":"https://api.github.com/repos/ReCodEx/web-app/issues/265","number":265,"state":"open","locked":false,"title":"Group archivation","user":{"login":"SemaiCZE","id":12883607,"node_id":"MDQ6VXNlcjEyODgzNjA3","avatar_url":"https://avatars3.githubusercontent.com/u/12883607?v=4","gravatar_id":"","url":"https://api.github.com/users/SemaiCZE","html_url":"https://github.com/SemaiCZE","followers_url":"https://api.github.com/users/SemaiCZE/followers","following_url":"https://api.github.com/users/SemaiCZE/following{/other_user}","gists_url":"https://api.github.com/users/SemaiCZE/gists{/gist_id}","starred_url":"https://api.github.com/users/SemaiCZE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemaiCZE/subscriptions","organizations_url":"https://api.github.com/users/SemaiCZE/orgs","repos_url":"https://api.github.com/users/SemaiCZE/repos","events_url":"https://api.github.com/users/SemaiCZE/events{/privacy}","received_events_url":"https://api.github.com/users/SemaiCZE/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-03T20:09:15Z","updated_at":"2018-09-10T22:07:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"077bc7bdf4951eab3479f265f40013e9eff647c4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Teyras","id":461515,"node_id":"MDQ6VXNlcjQ2MTUxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/461515?v=4","gravatar_id":"","url":"https://api.github.com/users/Teyras","html_url":"https://github.com/Teyras","followers_url":"https://api.github.com/users/Teyras/followers","following_url":"https://api.github.com/users/Teyras/following{/other_user}","gists_url":"https://api.github.com/users/Teyras/gists{/gist_id}","starred_url":"https://api.github.com/users/Teyras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teyras/subscriptions","organizations_url":"https://api.github.com/users/Teyras/orgs","repos_url":"https://api.github.com/users/Teyras/repos","events_url":"https://api.github.com/users/Teyras/events{/privacy}","received_events_url":"https://api.github.com/users/Teyras/received_events","type":"User","site_admin":false},{"login":"Neloop","id":15379972,"node_id":"MDQ6VXNlcjE1Mzc5OTcy","avatar_url":"https://avatars3.githubusercontent.com/u/15379972?v=4","gravatar_id":"","url":"https://api.github.com/users/Neloop","html_url":"https://github.com/Neloop","followers_url":"https://api.github.com/users/Neloop/followers","following_url":"https://api.github.com/users/Neloop/following{/other_user}","gists_url":"https://api.github.com/users/Neloop/gists{/gist_id}","starred_url":"https://api.github.com/users/Neloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neloop/subscriptions","organizations_url":"https://api.github.com/users/Neloop/orgs","repos_url":"https://api.github.com/users/Neloop/repos","events_url":"https://api.github.com/users/Neloop/events{/privacy}","received_events_url":"https://api.github.com/users/Neloop/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ReCodEx/web-app/pulls/265/commits","review_comments_url":"https://api.github.com/repos/ReCodEx/web-app/pulls/265/comments","review_comment_url":"https://api.github.com/repos/ReCodEx/web-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReCodEx/web-app/issues/265/comments","statuses_url":"https://api.github.com/repos/ReCodEx/web-app/statuses/862d3477b41e55f297846dd6ef2c8a7c09eb94d3","head":{"label":"ReCodEx:groupArchivation","ref":"groupArchivation","sha":"862d3477b41e55f297846dd6ef2c8a7c09eb94d3","user":{"login":"ReCodEx","id":15342590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQyNTkw","avatar_url":"https://avatars0.githubusercontent.com/u/15342590?v=4","gravatar_id":"","url":"https://api.github.com/users/ReCodEx","html_url":"https://github.com/ReCodEx","followers_url":"https://api.github.com/users/ReCodEx/followers","following_url":"https://api.github.com/users/ReCodEx/following{/other_user}","gists_url":"https://api.github.com/users/ReCodEx/gists{/gist_id}","starred_url":"https://api.github.com/users/ReCodEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReCodEx/subscriptions","organizations_url":"https://api.github.com/users/ReCodEx/orgs","repos_url":"https://api.github.com/users/ReCodEx/repos","events_url":"https://api.github.com/users/ReCodEx/events{/privacy}","received_events_url":"https://api.github.com/users/ReCodEx/received_events","type":"Organization","site_admin":false},"repo":{"id":58135475,"node_id":"MDEwOlJlcG9zaXRvcnk1ODEzNTQ3NQ==","name":"web-app","full_name":"ReCodEx/web-app","owner":{"login":"ReCodEx","id":15342590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQyNTkw","avatar_url":"https://avatars0.githubusercontent.com/u/15342590?v=4","gravatar_id":"","url":"https://api.github.com/users/ReCodEx","html_url":"https://github.com/ReCodEx","followers_url":"https://api.github.com/users/ReCodEx/followers","following_url":"https://api.github.com/users/ReCodEx/following{/other_user}","gists_url":"https://api.github.com/users/ReCodEx/gists{/gist_id}","starred_url":"https://api.github.com/users/ReCodEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReCodEx/subscriptions","organizations_url":"https://api.github.com/users/ReCodEx/orgs","repos_url":"https://api.github.com/users/ReCodEx/repos","events_url":"https://api.github.com/users/ReCodEx/events{/privacy}","received_events_url":"https://api.github.com/users/ReCodEx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReCodEx/web-app","description":"Modern web interface for ReCodEx system","fork":false,"url":"https://api.github.com/repos/ReCodEx/web-app","forks_url":"https://api.github.com/repos/ReCodEx/web-app/forks","keys_url":"https://api.github.com/repos/ReCodEx/web-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReCodEx/web-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReCodEx/web-app/teams","hooks_url":"https://api.github.com/repos/ReCodEx/web-app/hooks","issue_events_url":"https://api.github.com/repos/ReCodEx/web-app/issues/events{/number}","events_url":"https://api.github.com/repos/ReCodEx/web-app/events","assignees_url":"https://api.github.com/repos/ReCodEx/web-app/assignees{/user}","branches_url":"https://api.github.com/repos/ReCodEx/web-app/branches{/branch}","tags_url":"https://api.github.com/repos/ReCodEx/web-app/tags","blobs_url":"https://api.github.com/repos/ReCodEx/web-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReCodEx/web-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReCodEx/web-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReCodEx/web-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReCodEx/web-app/statuses/{sha}","languages_url":"https://api.github.com/repos/ReCodEx/web-app/languages","stargazers_url":"https://api.github.com/repos/ReCodEx/web-app/stargazers","contributors_url":"https://api.github.com/repos/ReCodEx/web-app/contributors","subscribers_url":"https://api.github.com/repos/ReCodEx/web-app/subscribers","subscription_url":"https://api.github.com/repos/ReCodEx/web-app/subscription","commits_url":"https://api.github.com/repos/ReCodEx/web-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReCodEx/web-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReCodEx/web-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReCodEx/web-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReCodEx/web-app/contents/{+path}","compare_url":"https://api.github.com/repos/ReCodEx/web-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReCodEx/web-app/merges","archive_url":"https://api.github.com/repos/ReCodEx/web-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReCodEx/web-app/downloads","issues_url":"https://api.github.com/repos/ReCodEx/web-app/issues{/number}","pulls_url":"https://api.github.com/repos/ReCodEx/web-app/pulls{/number}","milestones_url":"https://api.github.com/repos/ReCodEx/web-app/milestones{/number}","notifications_url":"https://api.github.com/repos/ReCodEx/web-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReCodEx/web-app/labels{/name}","releases_url":"https://api.github.com/repos/ReCodEx/web-app/releases{/id}","deployments_url":"https://api.github.com/repos/ReCodEx/web-app/deployments","created_at":"2016-05-05T14:10:42Z","updated_at":"2018-09-09T20:26:48Z","pushed_at":"2018-09-10T16:13:53Z","git_url":"git://github.com/ReCodEx/web-app.git","ssh_url":"git@github.com:ReCodEx/web-app.git","clone_url":"https://github.com/ReCodEx/web-app.git","svn_url":"https://github.com/ReCodEx/web-app","homepage":"https://recodex.mff.cuni.cz","size":124852,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"ReCodEx:master","ref":"master","sha":"0afe55903834fc2b05d963b0bc770d1b2263cd3f","user":{"login":"ReCodEx","id":15342590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQyNTkw","avatar_url":"https://avatars0.githubusercontent.com/u/15342590?v=4","gravatar_id":"","url":"https://api.github.com/users/ReCodEx","html_url":"https://github.com/ReCodEx","followers_url":"https://api.github.com/users/ReCodEx/followers","following_url":"https://api.github.com/users/ReCodEx/following{/other_user}","gists_url":"https://api.github.com/users/ReCodEx/gists{/gist_id}","starred_url":"https://api.github.com/users/ReCodEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReCodEx/subscriptions","organizations_url":"https://api.github.com/users/ReCodEx/orgs","repos_url":"https://api.github.com/users/ReCodEx/repos","events_url":"https://api.github.com/users/ReCodEx/events{/privacy}","received_events_url":"https://api.github.com/users/ReCodEx/received_events","type":"Organization","site_admin":false},"repo":{"id":58135475,"node_id":"MDEwOlJlcG9zaXRvcnk1ODEzNTQ3NQ==","name":"web-app","full_name":"ReCodEx/web-app","owner":{"login":"ReCodEx","id":15342590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzQyNTkw","avatar_url":"https://avatars0.githubusercontent.com/u/15342590?v=4","gravatar_id":"","url":"https://api.github.com/users/ReCodEx","html_url":"https://github.com/ReCodEx","followers_url":"https://api.github.com/users/ReCodEx/followers","following_url":"https://api.github.com/users/ReCodEx/following{/other_user}","gists_url":"https://api.github.com/users/ReCodEx/gists{/gist_id}","starred_url":"https://api.github.com/users/ReCodEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReCodEx/subscriptions","organizations_url":"https://api.github.com/users/ReCodEx/orgs","repos_url":"https://api.github.com/users/ReCodEx/repos","events_url":"https://api.github.com/users/ReCodEx/events{/privacy}","received_events_url":"https://api.github.com/users/ReCodEx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReCodEx/web-app","description":"Modern web interface for ReCodEx system","fork":false,"url":"https://api.github.com/repos/ReCodEx/web-app","forks_url":"https://api.github.com/repos/ReCodEx/web-app/forks","keys_url":"https://api.github.com/repos/ReCodEx/web-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReCodEx/web-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReCodEx/web-app/teams","hooks_url":"https://api.github.com/repos/ReCodEx/web-app/hooks","issue_events_url":"https://api.github.com/repos/ReCodEx/web-app/issues/events{/number}","events_url":"https://api.github.com/repos/ReCodEx/web-app/events","assignees_url":"https://api.github.com/repos/ReCodEx/web-app/assignees{/user}","branches_url":"https://api.github.com/repos/ReCodEx/web-app/branches{/branch}","tags_url":"https://api.github.com/repos/ReCodEx/web-app/tags","blobs_url":"https://api.github.com/repos/ReCodEx/web-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReCodEx/web-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReCodEx/web-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReCodEx/web-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReCodEx/web-app/statuses/{sha}","languages_url":"https://api.github.com/repos/ReCodEx/web-app/languages","stargazers_url":"https://api.github.com/repos/ReCodEx/web-app/stargazers","contributors_url":"https://api.github.com/repos/ReCodEx/web-app/contributors","subscribers_url":"https://api.github.com/repos/ReCodEx/web-app/subscribers","subscription_url":"https://api.github.com/repos/ReCodEx/web-app/subscription","commits_url":"https://api.github.com/repos/ReCodEx/web-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReCodEx/web-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReCodEx/web-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReCodEx/web-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReCodEx/web-app/contents/{+path}","compare_url":"https://api.github.com/repos/ReCodEx/web-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReCodEx/web-app/merges","archive_url":"https://api.github.com/repos/ReCodEx/web-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReCodEx/web-app/downloads","issues_url":"https://api.github.com/repos/ReCodEx/web-app/issues{/number}","pulls_url":"https://api.github.com/repos/ReCodEx/web-app/pulls{/number}","milestones_url":"https://api.github.com/repos/ReCodEx/web-app/milestones{/number}","notifications_url":"https://api.github.com/repos/ReCodEx/web-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReCodEx/web-app/labels{/name}","releases_url":"https://api.github.com/repos/ReCodEx/web-app/releases{/id}","deployments_url":"https://api.github.com/repos/ReCodEx/web-app/deployments","created_at":"2016-05-05T14:10:42Z","updated_at":"2018-09-09T20:26:48Z","pushed_at":"2018-09-10T16:13:53Z","git_url":"git://github.com/ReCodEx/web-app.git","ssh_url":"git@github.com:ReCodEx/web-app.git","clone_url":"https://github.com/ReCodEx/web-app.git","svn_url":"https://github.com/ReCodEx/web-app","homepage":"https://recodex.mff.cuni.cz","size":124852,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReCodEx/web-app/pulls/265"},"html":{"href":"https://github.com/ReCodEx/web-app/pull/265"},"issue":{"href":"https://api.github.com/repos/ReCodEx/web-app/issues/265"},"comments":{"href":"https://api.github.com/repos/ReCodEx/web-app/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/ReCodEx/web-app/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/ReCodEx/web-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReCodEx/web-app/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/ReCodEx/web-app/statuses/862d3477b41e55f297846dd6ef2c8a7c09eb94d3"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"krulis-martin"}}