{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/comments/92065705","pull_request_review_id":12575226,"id":92065705,"diff_hunk":"@@ -10,7 +10,8 @@ const Router = Ember.Router.extend({\n Router.map(function() {\n   this.route('reminders', function() {\n     this.route('reminder', {path: ':reminder_id'});\n-    this.route('new');\n+    this.route('edit-reminder', {path: '/edit/:reminder_id'});","path":"app/router.js","position":5,"original_position":5,"commit_id":"7decc71ff263ca5ca8d3b73152d1a2aa86bfe959","original_commit_id":"7decc71ff263ca5ca8d3b73152d1a2aa86bfe959","user":{"login":"martensonbj","id":13123158,"avatar_url":"https://avatars.githubusercontent.com/u/13123158?v=3","gravatar_id":"","url":"https://api.github.com/users/martensonbj","html_url":"https://github.com/martensonbj","followers_url":"https://api.github.com/users/martensonbj/followers","following_url":"https://api.github.com/users/martensonbj/following{/other_user}","gists_url":"https://api.github.com/users/martensonbj/gists{/gist_id}","starred_url":"https://api.github.com/users/martensonbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martensonbj/subscriptions","organizations_url":"https://api.github.com/users/martensonbj/orgs","repos_url":"https://api.github.com/users/martensonbj/repos","events_url":"https://api.github.com/users/martensonbj/events{/privacy}","received_events_url":"https://api.github.com/users/martensonbj/received_events","type":"User","site_admin":false},"body":"A better route name would simply be `'edit'` to allow for more dynamic refactoring later","created_at":"2016-12-12T23:28:31Z","updated_at":"2016-12-12T23:31:36Z","html_url":"https://github.com/turingschool-projects/1608-remember-7/pull/15#discussion_r92065705","pull_request_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/comments/92065705"},"html":{"href":"https://github.com/turingschool-projects/1608-remember-7/pull/15#discussion_r92065705"},"pull_request":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15","id":97645113,"html_url":"https://github.com/turingschool-projects/1608-remember-7/pull/15","diff_url":"https://github.com/turingschool-projects/1608-remember-7/pull/15.diff","patch_url":"https://github.com/turingschool-projects/1608-remember-7/pull/15.patch","issue_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues/15","number":15,"state":"open","locked":false,"title":"Edit reminder","user":{"login":"ccgamble","id":15853081,"avatar_url":"https://avatars.githubusercontent.com/u/15853081?v=3","gravatar_id":"","url":"https://api.github.com/users/ccgamble","html_url":"https://github.com/ccgamble","followers_url":"https://api.github.com/users/ccgamble/followers","following_url":"https://api.github.com/users/ccgamble/following{/other_user}","gists_url":"https://api.github.com/users/ccgamble/gists{/gist_id}","starred_url":"https://api.github.com/users/ccgamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccgamble/subscriptions","organizations_url":"https://api.github.com/users/ccgamble/orgs","repos_url":"https://api.github.com/users/ccgamble/repos","events_url":"https://api.github.com/users/ccgamble/events{/privacy}","received_events_url":"https://api.github.com/users/ccgamble/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n@martensonbj @Tman22 @nfosterky @stevekinney \r\n\r\nWhen viewing an existing reminder, the user can click on an “Edit” button where they can modify the title, notes, or date of the reminder.\r\n\r\nWhen editing a note, there is a “Save” button that commits the changes to the server.\r\nWhen the user hits the save button, they return to viewing that individual note.\r\n\r\n\r\n## Approach\r\n\r\nWe created a edit-reminder template and controller, which create pre-populated inputs with the title, date, and input fields that the user can edit. When the submit button is clicked, the edits are saved and it goes back to the page rendering the list of reminders.\r\n\r\n### Learning\r\nOne of our main issues was getting the date to render. We decided to switch to the bootstrap datepicker and looked at those docs to see how to implement in our project.\r\n\r\nhttps://github.com/soulim/ember-cli-bootstrap-datepicker\r\n\r\n\r\n### Open Questions and Pre-Merge TODOs\r\n\r\n- [x] When viewing an existing reminder, the user can click on an “Edit” button where they can modify the title, notes, or date of the reminder.\r\n- [x] When editing a note, there is a “Save” button that commits the changes to the server.\r\n- [x] When the user hits the save button, they return to viewing that individual note.\r\n\r\n### Test coverage \r\n\r\nWe created tests to ensure that when the user clicks the edit button, the user is redirected to the correct route, the edit form is rendered, and the changes are saved and rendered when the save button is clicked.\r\n\r\n### Merge Dependencies and Related Work\r\n\r\nThis closes #9.\r\n\r\n### Follow-up tasks\r\n\r\n- [Issue #13 ](https://github.com/turingschool-projects/1608-remember-7/issues/13)\r\n","created_at":"2016-12-12T22:15:05Z","updated_at":"2016-12-12T23:31:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"447bb7a139b9a84a08f7c8a3fd705bd3545b4da2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15/commits","review_comments_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15/comments","review_comment_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues/15/comments","statuses_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/statuses/7decc71ff263ca5ca8d3b73152d1a2aa86bfe959","head":{"label":"ccgamble:cg-edit-reminder","ref":"cg-edit-reminder","sha":"7decc71ff263ca5ca8d3b73152d1a2aa86bfe959","user":{"login":"ccgamble","id":15853081,"avatar_url":"https://avatars.githubusercontent.com/u/15853081?v=3","gravatar_id":"","url":"https://api.github.com/users/ccgamble","html_url":"https://github.com/ccgamble","followers_url":"https://api.github.com/users/ccgamble/followers","following_url":"https://api.github.com/users/ccgamble/following{/other_user}","gists_url":"https://api.github.com/users/ccgamble/gists{/gist_id}","starred_url":"https://api.github.com/users/ccgamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccgamble/subscriptions","organizations_url":"https://api.github.com/users/ccgamble/orgs","repos_url":"https://api.github.com/users/ccgamble/repos","events_url":"https://api.github.com/users/ccgamble/events{/privacy}","received_events_url":"https://api.github.com/users/ccgamble/received_events","type":"User","site_admin":false},"repo":{"id":75769307,"name":"1608-remember-7","full_name":"ccgamble/1608-remember-7","owner":{"login":"ccgamble","id":15853081,"avatar_url":"https://avatars.githubusercontent.com/u/15853081?v=3","gravatar_id":"","url":"https://api.github.com/users/ccgamble","html_url":"https://github.com/ccgamble","followers_url":"https://api.github.com/users/ccgamble/followers","following_url":"https://api.github.com/users/ccgamble/following{/other_user}","gists_url":"https://api.github.com/users/ccgamble/gists{/gist_id}","starred_url":"https://api.github.com/users/ccgamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccgamble/subscriptions","organizations_url":"https://api.github.com/users/ccgamble/orgs","repos_url":"https://api.github.com/users/ccgamble/repos","events_url":"https://api.github.com/users/ccgamble/events{/privacy}","received_events_url":"https://api.github.com/users/ccgamble/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ccgamble/1608-remember-7","description":null,"fork":true,"url":"https://api.github.com/repos/ccgamble/1608-remember-7","forks_url":"https://api.github.com/repos/ccgamble/1608-remember-7/forks","keys_url":"https://api.github.com/repos/ccgamble/1608-remember-7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ccgamble/1608-remember-7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ccgamble/1608-remember-7/teams","hooks_url":"https://api.github.com/repos/ccgamble/1608-remember-7/hooks","issue_events_url":"https://api.github.com/repos/ccgamble/1608-remember-7/issues/events{/number}","events_url":"https://api.github.com/repos/ccgamble/1608-remember-7/events","assignees_url":"https://api.github.com/repos/ccgamble/1608-remember-7/assignees{/user}","branches_url":"https://api.github.com/repos/ccgamble/1608-remember-7/branches{/branch}","tags_url":"https://api.github.com/repos/ccgamble/1608-remember-7/tags","blobs_url":"https://api.github.com/repos/ccgamble/1608-remember-7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ccgamble/1608-remember-7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ccgamble/1608-remember-7/git/refs{/sha}","trees_url":"https://api.github.com/repos/ccgamble/1608-remember-7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ccgamble/1608-remember-7/statuses/{sha}","languages_url":"https://api.github.com/repos/ccgamble/1608-remember-7/languages","stargazers_url":"https://api.github.com/repos/ccgamble/1608-remember-7/stargazers","contributors_url":"https://api.github.com/repos/ccgamble/1608-remember-7/contributors","subscribers_url":"https://api.github.com/repos/ccgamble/1608-remember-7/subscribers","subscription_url":"https://api.github.com/repos/ccgamble/1608-remember-7/subscription","commits_url":"https://api.github.com/repos/ccgamble/1608-remember-7/commits{/sha}","git_commits_url":"https://api.github.com/repos/ccgamble/1608-remember-7/git/commits{/sha}","comments_url":"https://api.github.com/repos/ccgamble/1608-remember-7/comments{/number}","issue_comment_url":"https://api.github.com/repos/ccgamble/1608-remember-7/issues/comments{/number}","contents_url":"https://api.github.com/repos/ccgamble/1608-remember-7/contents/{+path}","compare_url":"https://api.github.com/repos/ccgamble/1608-remember-7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ccgamble/1608-remember-7/merges","archive_url":"https://api.github.com/repos/ccgamble/1608-remember-7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ccgamble/1608-remember-7/downloads","issues_url":"https://api.github.com/repos/ccgamble/1608-remember-7/issues{/number}","pulls_url":"https://api.github.com/repos/ccgamble/1608-remember-7/pulls{/number}","milestones_url":"https://api.github.com/repos/ccgamble/1608-remember-7/milestones{/number}","notifications_url":"https://api.github.com/repos/ccgamble/1608-remember-7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ccgamble/1608-remember-7/labels{/name}","releases_url":"https://api.github.com/repos/ccgamble/1608-remember-7/releases{/id}","deployments_url":"https://api.github.com/repos/ccgamble/1608-remember-7/deployments","created_at":"2016-12-06T20:37:50Z","updated_at":"2016-12-06T20:38:17Z","pushed_at":"2016-12-12T22:06:27Z","git_url":"git://github.com/ccgamble/1608-remember-7.git","ssh_url":"git@github.com:ccgamble/1608-remember-7.git","clone_url":"https://github.com/ccgamble/1608-remember-7.git","svn_url":"https://github.com/ccgamble/1608-remember-7","homepage":null,"size":54,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-projects:master","ref":"master","sha":"0a2ca8e64e964e2a0af6fa3f2defad954a4a83de","user":{"login":"turingschool-projects","id":10454571,"avatar_url":"https://avatars.githubusercontent.com/u/10454571?v=3","gravatar_id":"","url":"https://api.github.com/users/turingschool-projects","html_url":"https://github.com/turingschool-projects","followers_url":"https://api.github.com/users/turingschool-projects/followers","following_url":"https://api.github.com/users/turingschool-projects/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-projects/subscriptions","organizations_url":"https://api.github.com/users/turingschool-projects/orgs","repos_url":"https://api.github.com/users/turingschool-projects/repos","events_url":"https://api.github.com/users/turingschool-projects/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":75758464,"name":"1608-remember-7","full_name":"turingschool-projects/1608-remember-7","owner":{"login":"turingschool-projects","id":10454571,"avatar_url":"https://avatars.githubusercontent.com/u/10454571?v=3","gravatar_id":"","url":"https://api.github.com/users/turingschool-projects","html_url":"https://github.com/turingschool-projects","followers_url":"https://api.github.com/users/turingschool-projects/followers","following_url":"https://api.github.com/users/turingschool-projects/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-projects/subscriptions","organizations_url":"https://api.github.com/users/turingschool-projects/orgs","repos_url":"https://api.github.com/users/turingschool-projects/repos","events_url":"https://api.github.com/users/turingschool-projects/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool-projects/1608-remember-7","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool-projects/1608-remember-7","forks_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/forks","keys_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/teams","hooks_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/hooks","issue_events_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/events","assignees_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/tags","blobs_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/languages","stargazers_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/stargazers","contributors_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/contributors","subscribers_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/subscribers","subscription_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/subscription","commits_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/merges","archive_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/downloads","issues_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-projects/1608-remember-7/deployments","created_at":"2016-12-06T18:15:48Z","updated_at":"2016-12-06T18:15:53Z","pushed_at":"2016-12-12T22:15:05Z","git_url":"git://github.com/turingschool-projects/1608-remember-7.git","ssh_url":"git@github.com:turingschool-projects/1608-remember-7.git","clone_url":"https://github.com/turingschool-projects/1608-remember-7.git","svn_url":"https://github.com/turingschool-projects/1608-remember-7","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15"},"html":{"href":"https://github.com/turingschool-projects/1608-remember-7/pull/15"},"issue":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues/15"},"comments":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-projects/1608-remember-7/statuses/7decc71ff263ca5ca8d3b73152d1a2aa86bfe959"}}}}
{"actor":{"display_login":"martensonbj"}}