{"action":"created","issue":{"url":"https://api.github.com/repos/shinosakarb/tebukuro-client/issues/40","repository_url":"https://api.github.com/repos/shinosakarb/tebukuro-client","labels_url":"https://api.github.com/repos/shinosakarb/tebukuro-client/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/shinosakarb/tebukuro-client/issues/40/comments","events_url":"https://api.github.com/repos/shinosakarb/tebukuro-client/issues/40/events","html_url":"https://github.com/shinosakarb/tebukuro-client/pull/40","id":284294023,"number":40,"title":"[WIP] Add cancel registration feature to event show page","user":{"login":"ytorii","id":10824691,"avatar_url":"https://avatars1.githubusercontent.com/u/10824691?v=4","gravatar_id":"","url":"https://api.github.com/users/ytorii","html_url":"https://github.com/ytorii","followers_url":"https://api.github.com/users/ytorii/followers","following_url":"https://api.github.com/users/ytorii/following{/other_user}","gists_url":"https://api.github.com/users/ytorii/gists{/gist_id}","starred_url":"https://api.github.com/users/ytorii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytorii/subscriptions","organizations_url":"https://api.github.com/users/ytorii/orgs","repos_url":"https://api.github.com/users/ytorii/repos","events_url":"https://api.github.com/users/ytorii/events{/privacy}","received_events_url":"https://api.github.com/users/ytorii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-23T08:21:27Z","updated_at":"2017-12-23T08:22:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/shinosakarb/tebukuro-client/pulls/40","html_url":"https://github.com/shinosakarb/tebukuro-client/pull/40","diff_url":"https://github.com/shinosakarb/tebukuro-client/pull/40.diff","patch_url":"https://github.com/shinosakarb/tebukuro-client/pull/40.patch"},"body":"### Overview:概要\r\nイベントへの参加登録をキャンセルする機能を追加し、イベント詳細ページで「キャンセル」ボタンを配置する。\r\n\r\n### Technical changes:技術的変更点\r\n- 参加登録キャンセルの Action `CANCEL_REGISTRAION` を追加\r\n- API で参加者を削除するリクエストをバックエンドのエンドポイント `/events/:event_id/participants/:id に送信\r\n- Event Reducer、Participant Reducer でバックエンドから返された参加者を Store から削除\r\n- イベント詳細のページの参加者一覧で、参加者名の横にキャンセルボタンを配置、`CANCEL_REGISTRATION` アクションと接続\r\n\r\n### Impact point:変更に関する影響箇所\r\n現時点ではユーザー認証を実装していないため、誰でも参加者の登録キャンセルが可能となる。\r\n\r\n### Change of UserInterface:UIの変更\r\n最終的な画面イメージ：\r\n![_007](https://user-images.githubusercontent.com/10824691/34318196-d388b9b4-e804-11e7-9094-488ffa34fb28.png)\r\n\r\n### TODOs\r\n- [x] `CANCEL_REGISTRAION` アクションの追加\r\n- [x] エンドポイント `/events/:event_id/participants/:id を追加\r\n- [x] Event Reducer、Participant Reducer で対象の参加者を Store から削除する処理の追加\r\n- [ ] Participant Component を作成し、ParticipantsList Componentで使用\r\n- [ ] イベント詳細のページの参加者名の横にキャンセルボタンを配置、`CANCEL_REGISTRATION` アクションと接続\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/shinosakarb/tebukuro-client/issues/comments/353713798","html_url":"https://github.com/shinosakarb/tebukuro-client/pull/40#issuecomment-353713798","issue_url":"https://api.github.com/repos/shinosakarb/tebukuro-client/issues/40","id":353713798,"user":{"login":"murajun1978","id":911903,"avatar_url":"https://avatars3.githubusercontent.com/u/911903?v=4","gravatar_id":"","url":"https://api.github.com/users/murajun1978","html_url":"https://github.com/murajun1978","followers_url":"https://api.github.com/users/murajun1978/followers","following_url":"https://api.github.com/users/murajun1978/following{/other_user}","gists_url":"https://api.github.com/users/murajun1978/gists{/gist_id}","starred_url":"https://api.github.com/users/murajun1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murajun1978/subscriptions","organizations_url":"https://api.github.com/users/murajun1978/orgs","repos_url":"https://api.github.com/users/murajun1978/repos","events_url":"https://api.github.com/users/murajun1978/events{/privacy}","received_events_url":"https://api.github.com/users/murajun1978/received_events","type":"User","site_admin":false},"created_at":"2017-12-23T08:22:04Z","updated_at":"2017-12-23T08:22:04Z","author_association":"OWNER","body":"Deploy preview ready!\n\nBuilt with commit 6dabb24beb6074c83edb1b6dfed3b7a2651db26a\n\nhttps://deploy-preview-40--baliff-hamster-76303.netlify.com"}}
{"actor":{"display_login":"murajun1978"}}