{"action":"opened","issue":{"url":"https://api.github.com/repos/nus-cs2103-AY1718S1/forum/issues/126","repository_url":"https://api.github.com/repos/nus-cs2103-AY1718S1/forum","labels_url":"https://api.github.com/repos/nus-cs2103-AY1718S1/forum/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1718S1/forum/issues/126/comments","events_url":"https://api.github.com/repos/nus-cs2103-AY1718S1/forum/issues/126/events","html_url":"https://github.com/nus-cs2103-AY1718S1/forum/issues/126","id":267367627,"number":126,"title":"Flexible add Command","user":{"login":"sushinoya","id":23443586,"avatar_url":"https://avatars1.githubusercontent.com/u/23443586?v=4","gravatar_id":"","url":"https://api.github.com/users/sushinoya","html_url":"https://github.com/sushinoya","followers_url":"https://api.github.com/users/sushinoya/followers","following_url":"https://api.github.com/users/sushinoya/following{/other_user}","gists_url":"https://api.github.com/users/sushinoya/gists{/gist_id}","starred_url":"https://api.github.com/users/sushinoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushinoya/subscriptions","organizations_url":"https://api.github.com/users/sushinoya/orgs","repos_url":"https://api.github.com/users/sushinoya/repos","events_url":"https://api.github.com/users/sushinoya/events{/privacy}","received_events_url":"https://api.github.com/users/sushinoya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-21T09:52:54Z","updated_at":"2017-10-21T09:52:54Z","closed_at":null,"author_association":"NONE","body":"Here is the PR which includes the implementation details: https://github.com/CS2103AUG2017-F09-B1/main/pull/15\r\n\r\nA few weeks back I added a feature which allows users to add contacts with \"incomplete\" add commands. Instead of having to write the full add command which includes name, email, address and phone number, now a user can just add the fields that they know and the rest will be set to the default value of \"Not Set\". \r\n\r\nThe feature seems rather trivial but I can imagine that almost never do we have all the information about a person when adding him or her to our contacts. \r\n\r\nTests for all new implementations have been included and the old tests and validations (such as the regex which tests for validity of an email) modified to accommodate this feature. \r\n\r\n![glenice](https://user-images.githubusercontent.com/23443586/31514419-24616a3a-afc4-11e7-9f7f-f633de5823c5.png)\r\n\r\nA suggestion would be to modify the AddressBook UI such that the fields which are \"Not Set\" are not shown to the user. "}}
{"actor":{"display_login":"sushinoya"}}