{"action":"created","comment":{"url":"https://api.github.com/repos/kanji731/chat-space/pulls/comments/195963524","pull_request_review_id":129425838,"id":195963524,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTk2MzUyNA==","diff_hunk":"@@ -7,35 +7,28 @@\n           %li= message\n   .chat-group-form__field\n     .chat-group-form__field--left\n-      = f.label :name, class: 'chat-group-form__label'\n+      = f.label :グループ名, class: 'chat-group-form__label'\n     .chat-group-form__field--right\n       = f.text_field :name, class: 'chat__group_name chat-group-form__input', placeholder: 'グループ名を入力してください'\n   .chat-group-form__field.clearfix\n-    / この部分はインクリメンタルサーチ（ユーザー追加の非同期化のときに使用します\n-    /\n-      <div class='chat-group-form__field--left'>\n-      <label class=\"chat-group-form__label\" for=\"chat_group_チャットメンバーを追加\">チャットメンバーを追加</label>\n-      </div>\n-      <div class='chat-group-form__field--right'>\n-      <div class='chat-group-form__search clearfix'>\n-      <input class='chat-group-form__input' id='user-search-field' placeholder='追加したいユーザー名を入力してください' type='text'>\n-      </div>\n-      <div id='user-search-result'></div>\n-      </div>\n+    .chat-group-form__field--left\n+      = f.label :チャットメンバーを追加, class: 'chat-group-form__label'\n+    .chat-group-form__field--right\n+      .chat-group-form__search.clearfix\n+        = f.text_field :members, class: 'chat-group-form__input', id: 'user-search-field', placeholder: '追加したいユーザー名を入力してください', value: ''\n+      #user-search-result\n   .chat-group-form__field.clearfix\n     .chat-group-form__field--left\n       %label.chat-group-form__label{:for => \"chat_group_チャットメンバー\"} チャットメンバー\n     .chat-group-form__field--right\n-      / グループ作成機能の追加時はここにcollection_check_boxesの記述を入れてください\n-      = f.collection_check_boxes :user_ids, User.all, :id, :name\n-      / この部分はインクリメンタルサーチ（ユーザー追加の非同期化のときに使用します\n-      /\n-        <div id='chat-group-users'>\n-        <div class='chat-group-user clearfix' id='chat-group-user-22'>\n-        <input name='chat_group[user_ids][]' type='hidden' value='22'>\n-        <p class='chat-group-user__name'>seo_kyohei</p>\n-        </div>\n-        </div>\n+      #chat-group-users\n+        - unless @membars.nil?\n+          - @membars.each do |membar|\n+            = render 'group-membar-list', {membar: membar}","path":"app/views/groups/_group-form.html.haml","position":43,"original_position":43,"commit_id":"e29faa8e988324da25f88b6b98a7ff2e27098847","original_commit_id":"e29faa8e988324da25f88b6b98a7ff2e27098847","user":{"login":"MrUrakou","id":18899359,"node_id":"MDQ6VXNlcjE4ODk5MzU5","avatar_url":"https://avatars1.githubusercontent.com/u/18899359?v=4","gravatar_id":"","url":"https://api.github.com/users/MrUrakou","html_url":"https://github.com/MrUrakou","followers_url":"https://api.github.com/users/MrUrakou/followers","following_url":"https://api.github.com/users/MrUrakou/following{/other_user}","gists_url":"https://api.github.com/users/MrUrakou/gists{/gist_id}","starred_url":"https://api.github.com/users/MrUrakou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrUrakou/subscriptions","organizations_url":"https://api.github.com/users/MrUrakou/orgs","repos_url":"https://api.github.com/users/MrUrakou/repos","events_url":"https://api.github.com/users/MrUrakou/events{/privacy}","received_events_url":"https://api.github.com/users/MrUrakou/received_events","type":"User","site_admin":false},"body":"{ member: member }ですね。","created_at":"2018-06-18T04:39:18Z","updated_at":"2018-06-18T04:47:57Z","html_url":"https://github.com/kanji731/chat-space/pull/16#discussion_r195963524","pull_request_url":"https://api.github.com/repos/kanji731/chat-space/pulls/16","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kanji731/chat-space/pulls/comments/195963524"},"html":{"href":"https://github.com/kanji731/chat-space/pull/16#discussion_r195963524"},"pull_request":{"href":"https://api.github.com/repos/kanji731/chat-space/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/kanji731/chat-space/pulls/16","id":195366931,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MzY2OTMx","html_url":"https://github.com/kanji731/chat-space/pull/16","diff_url":"https://github.com/kanji731/chat-space/pull/16.diff","patch_url":"https://github.com/kanji731/chat-space/pull/16.patch","issue_url":"https://api.github.com/repos/kanji731/chat-space/issues/16","number":16,"state":"open","locked":false,"title":"インクリメンタルサーチ化の実装","user":{"login":"kanji731","id":39818234,"node_id":"MDQ6VXNlcjM5ODE4MjM0","avatar_url":"https://avatars0.githubusercontent.com/u/39818234?v=4","gravatar_id":"","url":"https://api.github.com/users/kanji731","html_url":"https://github.com/kanji731","followers_url":"https://api.github.com/users/kanji731/followers","following_url":"https://api.github.com/users/kanji731/following{/other_user}","gists_url":"https://api.github.com/users/kanji731/gists{/gist_id}","starred_url":"https://api.github.com/users/kanji731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanji731/subscriptions","organizations_url":"https://api.github.com/users/kanji731/orgs","repos_url":"https://api.github.com/users/kanji731/repos","events_url":"https://api.github.com/users/kanji731/events{/privacy}","received_events_url":"https://api.github.com/users/kanji731/received_events","type":"User","site_admin":false},"body":"What\r\nユーザーをインクリメンタルサーチから選択できるようにするため。\r\n\r\nWhy\r\nユーザビリティの向上。","created_at":"2018-06-17T08:12:29Z","updated_at":"2018-06-18T04:47:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"994cef9a6b3deffa153c8047784200ffa70ed7de","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kanji731/chat-space/pulls/16/commits","review_comments_url":"https://api.github.com/repos/kanji731/chat-space/pulls/16/comments","review_comment_url":"https://api.github.com/repos/kanji731/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kanji731/chat-space/issues/16/comments","statuses_url":"https://api.github.com/repos/kanji731/chat-space/statuses/e29faa8e988324da25f88b6b98a7ff2e27098847","head":{"label":"kanji731:incremental-search","ref":"incremental-search","sha":"e29faa8e988324da25f88b6b98a7ff2e27098847","user":{"login":"kanji731","id":39818234,"node_id":"MDQ6VXNlcjM5ODE4MjM0","avatar_url":"https://avatars0.githubusercontent.com/u/39818234?v=4","gravatar_id":"","url":"https://api.github.com/users/kanji731","html_url":"https://github.com/kanji731","followers_url":"https://api.github.com/users/kanji731/followers","following_url":"https://api.github.com/users/kanji731/following{/other_user}","gists_url":"https://api.github.com/users/kanji731/gists{/gist_id}","starred_url":"https://api.github.com/users/kanji731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanji731/subscriptions","organizations_url":"https://api.github.com/users/kanji731/orgs","repos_url":"https://api.github.com/users/kanji731/repos","events_url":"https://api.github.com/users/kanji731/events{/privacy}","received_events_url":"https://api.github.com/users/kanji731/received_events","type":"User","site_admin":false},"repo":{"id":135677853,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU2Nzc4NTM=","name":"chat-space","full_name":"kanji731/chat-space","owner":{"login":"kanji731","id":39818234,"node_id":"MDQ6VXNlcjM5ODE4MjM0","avatar_url":"https://avatars0.githubusercontent.com/u/39818234?v=4","gravatar_id":"","url":"https://api.github.com/users/kanji731","html_url":"https://github.com/kanji731","followers_url":"https://api.github.com/users/kanji731/followers","following_url":"https://api.github.com/users/kanji731/following{/other_user}","gists_url":"https://api.github.com/users/kanji731/gists{/gist_id}","starred_url":"https://api.github.com/users/kanji731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanji731/subscriptions","organizations_url":"https://api.github.com/users/kanji731/orgs","repos_url":"https://api.github.com/users/kanji731/repos","events_url":"https://api.github.com/users/kanji731/events{/privacy}","received_events_url":"https://api.github.com/users/kanji731/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kanji731/chat-space","description":"チャットツール(Rails勉強)","fork":false,"url":"https://api.github.com/repos/kanji731/chat-space","forks_url":"https://api.github.com/repos/kanji731/chat-space/forks","keys_url":"https://api.github.com/repos/kanji731/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kanji731/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kanji731/chat-space/teams","hooks_url":"https://api.github.com/repos/kanji731/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kanji731/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kanji731/chat-space/events","assignees_url":"https://api.github.com/repos/kanji731/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kanji731/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kanji731/chat-space/tags","blobs_url":"https://api.github.com/repos/kanji731/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kanji731/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kanji731/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kanji731/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kanji731/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kanji731/chat-space/languages","stargazers_url":"https://api.github.com/repos/kanji731/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kanji731/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kanji731/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kanji731/chat-space/subscription","commits_url":"https://api.github.com/repos/kanji731/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kanji731/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kanji731/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kanji731/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kanji731/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kanji731/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kanji731/chat-space/merges","archive_url":"https://api.github.com/repos/kanji731/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kanji731/chat-space/downloads","issues_url":"https://api.github.com/repos/kanji731/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kanji731/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kanji731/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kanji731/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kanji731/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kanji731/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kanji731/chat-space/deployments","created_at":"2018-06-01T06:38:49Z","updated_at":"2018-06-17T05:39:06Z","pushed_at":"2018-06-18T03:49:18Z","git_url":"git://github.com/kanji731/chat-space.git","ssh_url":"git@github.com:kanji731/chat-space.git","clone_url":"https://github.com/kanji731/chat-space.git","svn_url":"https://github.com/kanji731/chat-space","homepage":"","size":153,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kanji731:master","ref":"master","sha":"36bec2bc01fdb7e329869ea153ec5318f155b810","user":{"login":"kanji731","id":39818234,"node_id":"MDQ6VXNlcjM5ODE4MjM0","avatar_url":"https://avatars0.githubusercontent.com/u/39818234?v=4","gravatar_id":"","url":"https://api.github.com/users/kanji731","html_url":"https://github.com/kanji731","followers_url":"https://api.github.com/users/kanji731/followers","following_url":"https://api.github.com/users/kanji731/following{/other_user}","gists_url":"https://api.github.com/users/kanji731/gists{/gist_id}","starred_url":"https://api.github.com/users/kanji731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanji731/subscriptions","organizations_url":"https://api.github.com/users/kanji731/orgs","repos_url":"https://api.github.com/users/kanji731/repos","events_url":"https://api.github.com/users/kanji731/events{/privacy}","received_events_url":"https://api.github.com/users/kanji731/received_events","type":"User","site_admin":false},"repo":{"id":135677853,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU2Nzc4NTM=","name":"chat-space","full_name":"kanji731/chat-space","owner":{"login":"kanji731","id":39818234,"node_id":"MDQ6VXNlcjM5ODE4MjM0","avatar_url":"https://avatars0.githubusercontent.com/u/39818234?v=4","gravatar_id":"","url":"https://api.github.com/users/kanji731","html_url":"https://github.com/kanji731","followers_url":"https://api.github.com/users/kanji731/followers","following_url":"https://api.github.com/users/kanji731/following{/other_user}","gists_url":"https://api.github.com/users/kanji731/gists{/gist_id}","starred_url":"https://api.github.com/users/kanji731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanji731/subscriptions","organizations_url":"https://api.github.com/users/kanji731/orgs","repos_url":"https://api.github.com/users/kanji731/repos","events_url":"https://api.github.com/users/kanji731/events{/privacy}","received_events_url":"https://api.github.com/users/kanji731/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kanji731/chat-space","description":"チャットツール(Rails勉強)","fork":false,"url":"https://api.github.com/repos/kanji731/chat-space","forks_url":"https://api.github.com/repos/kanji731/chat-space/forks","keys_url":"https://api.github.com/repos/kanji731/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kanji731/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kanji731/chat-space/teams","hooks_url":"https://api.github.com/repos/kanji731/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kanji731/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kanji731/chat-space/events","assignees_url":"https://api.github.com/repos/kanji731/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kanji731/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kanji731/chat-space/tags","blobs_url":"https://api.github.com/repos/kanji731/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kanji731/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kanji731/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kanji731/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kanji731/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kanji731/chat-space/languages","stargazers_url":"https://api.github.com/repos/kanji731/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kanji731/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kanji731/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kanji731/chat-space/subscription","commits_url":"https://api.github.com/repos/kanji731/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kanji731/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kanji731/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kanji731/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kanji731/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kanji731/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kanji731/chat-space/merges","archive_url":"https://api.github.com/repos/kanji731/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kanji731/chat-space/downloads","issues_url":"https://api.github.com/repos/kanji731/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kanji731/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kanji731/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kanji731/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kanji731/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kanji731/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kanji731/chat-space/deployments","created_at":"2018-06-01T06:38:49Z","updated_at":"2018-06-17T05:39:06Z","pushed_at":"2018-06-18T03:49:18Z","git_url":"git://github.com/kanji731/chat-space.git","ssh_url":"git@github.com:kanji731/chat-space.git","clone_url":"https://github.com/kanji731/chat-space.git","svn_url":"https://github.com/kanji731/chat-space","homepage":"","size":153,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kanji731/chat-space/pulls/16"},"html":{"href":"https://github.com/kanji731/chat-space/pull/16"},"issue":{"href":"https://api.github.com/repos/kanji731/chat-space/issues/16"},"comments":{"href":"https://api.github.com/repos/kanji731/chat-space/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/kanji731/chat-space/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/kanji731/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kanji731/chat-space/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/kanji731/chat-space/statuses/e29faa8e988324da25f88b6b98a7ff2e27098847"}},"author_association":"OWNER"}}
{"actor":{"display_login":"MrUrakou"}}