{"action":"created","issue":{"url":"https://api.github.com/repos/forte88/Tafe18S101/issues/1","repository_url":"https://api.github.com/repos/forte88/Tafe18S101","labels_url":"https://api.github.com/repos/forte88/Tafe18S101/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/forte88/Tafe18S101/issues/1/comments","events_url":"https://api.github.com/repos/forte88/Tafe18S101/issues/1/events","html_url":"https://github.com/forte88/Tafe18S101/issues/1","id":310303266,"number":1,"title":"Protocol for adding an 'update item' in Features","user":{"login":"Matteoson","id":10320330,"avatar_url":"https://avatars1.githubusercontent.com/u/10320330?v=4","gravatar_id":"","url":"https://api.github.com/users/Matteoson","html_url":"https://github.com/Matteoson","followers_url":"https://api.github.com/users/Matteoson/followers","following_url":"https://api.github.com/users/Matteoson/following{/other_user}","gists_url":"https://api.github.com/users/Matteoson/gists{/gist_id}","starred_url":"https://api.github.com/users/Matteoson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matteoson/subscriptions","organizations_url":"https://api.github.com/users/Matteoson/orgs","repos_url":"https://api.github.com/users/Matteoson/repos","events_url":"https://api.github.com/users/Matteoson/events{/privacy}","received_events_url":"https://api.github.com/users/Matteoson/received_events","type":"User","site_admin":false},"labels":[{"id":877884739,"url":"https://api.github.com/repos/forte88/Tafe18S101/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":{"login":"Matteoson","id":10320330,"avatar_url":"https://avatars1.githubusercontent.com/u/10320330?v=4","gravatar_id":"","url":"https://api.github.com/users/Matteoson","html_url":"https://github.com/Matteoson","followers_url":"https://api.github.com/users/Matteoson/followers","following_url":"https://api.github.com/users/Matteoson/following{/other_user}","gists_url":"https://api.github.com/users/Matteoson/gists{/gist_id}","starred_url":"https://api.github.com/users/Matteoson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matteoson/subscriptions","organizations_url":"https://api.github.com/users/Matteoson/orgs","repos_url":"https://api.github.com/users/Matteoson/repos","events_url":"https://api.github.com/users/Matteoson/events{/privacy}","received_events_url":"https://api.github.com/users/Matteoson/received_events","type":"User","site_admin":false},"assignees":[{"login":"Matteoson","id":10320330,"avatar_url":"https://avatars1.githubusercontent.com/u/10320330?v=4","gravatar_id":"","url":"https://api.github.com/users/Matteoson","html_url":"https://github.com/Matteoson","followers_url":"https://api.github.com/users/Matteoson/followers","following_url":"https://api.github.com/users/Matteoson/following{/other_user}","gists_url":"https://api.github.com/users/Matteoson/gists{/gist_id}","starred_url":"https://api.github.com/users/Matteoson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matteoson/subscriptions","organizations_url":"https://api.github.com/users/Matteoson/orgs","repos_url":"https://api.github.com/users/Matteoson/repos","events_url":"https://api.github.com/users/Matteoson/events{/privacy}","received_events_url":"https://api.github.com/users/Matteoson/received_events","type":"User","site_admin":false},{"login":"Reptile25","id":36620941,"avatar_url":"https://avatars3.githubusercontent.com/u/36620941?v=4","gravatar_id":"","url":"https://api.github.com/users/Reptile25","html_url":"https://github.com/Reptile25","followers_url":"https://api.github.com/users/Reptile25/followers","following_url":"https://api.github.com/users/Reptile25/following{/other_user}","gists_url":"https://api.github.com/users/Reptile25/gists{/gist_id}","starred_url":"https://api.github.com/users/Reptile25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reptile25/subscriptions","organizations_url":"https://api.github.com/users/Reptile25/orgs","repos_url":"https://api.github.com/users/Reptile25/repos","events_url":"https://api.github.com/users/Reptile25/events{/privacy}","received_events_url":"https://api.github.com/users/Reptile25/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-01T07:02:37Z","updated_at":"2018-04-01T16:28:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"Hey guys,\r\n\r\nas Milan mentioned in person last week we should try to do our 'update item' or 'edit item' all the same in each of our features. \r\n\r\nI think we should use the bottom panel and add an extra button there\r\n\r\nthis idea would apply to \r\n\r\nfeat_PersonalInfo\r\nfeat_ContactDetails\r\nfeat_Appointsments\r\n\r\ni'll be working on the code shortly and will update here. "},"comment":{"url":"https://api.github.com/repos/forte88/Tafe18S101/issues/comments/377798500","html_url":"https://github.com/forte88/Tafe18S101/issues/1#issuecomment-377798500","issue_url":"https://api.github.com/repos/forte88/Tafe18S101/issues/1","id":377798500,"user":{"login":"Matteoson","id":10320330,"avatar_url":"https://avatars1.githubusercontent.com/u/10320330?v=4","gravatar_id":"","url":"https://api.github.com/users/Matteoson","html_url":"https://github.com/Matteoson","followers_url":"https://api.github.com/users/Matteoson/followers","following_url":"https://api.github.com/users/Matteoson/following{/other_user}","gists_url":"https://api.github.com/users/Matteoson/gists{/gist_id}","starred_url":"https://api.github.com/users/Matteoson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matteoson/subscriptions","organizations_url":"https://api.github.com/users/Matteoson/orgs","repos_url":"https://api.github.com/users/Matteoson/repos","events_url":"https://api.github.com/users/Matteoson/events{/privacy}","received_events_url":"https://api.github.com/users/Matteoson/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T16:28:43Z","updated_at":"2018-04-01T16:28:43Z","author_association":"COLLABORATOR","body":"The database that the program uses is 'SQLite' which is different to MYSQL \r\nso the syntax is different.\r\n\r\nIf you want to UPDATE an existing record you just have to include the primary \r\nkey in the object. Pretty simple but i found it hard to find an example\r\n\r\nhere is a snippet of my code for updating the appointments table...\r\n\r\nconn.Update(new Appointments()\r\n                {\r\n\r\n                    ID = editID,\r\n                    EventName = EName,\r\n                    Location = ELocation,\r\n                    EventDate = FinalEventDate,\r\n                    StartTime = STime,\r\n                    EndTime = ETime\r\n\r\n\r\n                });\r\n\t\t\t\t\r\n\tIn terms of the SymbolIcon used for 'editing' i used the icon named 'Edit' which i suggest you do the same\r\n\t\r\n\t\r\n\t\t\t\t\r\n\t\t\t\t"}}
{"actor":{"display_login":"Matteoson"}}