{"action":"created","comment":{"url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/comments/173194780","pull_request_review_id":102340629,"id":173194780,"diff_hunk":"@@ -909,6 +909,93 @@ Use case ends.\n +\n Use case ends.\n \n+[discrete]\n+=== Use case: UC3 - View a specific book\n+\n+*MSS*\n+\n+1.  User performs a search with some constraints (title, author, etc.).\n+2.  Bibliotek lists books satisfying all the constraints.\n+3. Bibliotek shows detailed information of the book.\n++\n+Use case ends.\n+\n+*Extensions*\n+\n+[none]\n+* 2a. User does not find the intended book in the list.\n++\n+Use case restarts form step 1.\n+\n+* 2b. User gives an invalid index.\n++\n+[none]\n+** 2b1. Bibliotek shows an error message.\n++\n+Use case resumes at step 2.\n+\n+* 3a. Bibliotek cannot fetch the details of the book within 5s.\n++\n+[none]\n+** 3a1. Bibliotek shows an error message.\n++\n+Use case ends.\n+\n+[discrete]\n+=== Use case: UC4 - Add a book to my reading list\n+\n+*MSS*\n+\n+1. User obtains a list of books by listing (UC1) or searching (UC2).\n+2. User requests to add a specific book from the list to his reading list.\n+3. Bibliotek adds the book to the user's reading list.\n+4. Bibliotek shows a success message.\n++\n+Use case ends.\n+\n+*Extensions*\n+\n+[none]\n+* 2a. User gives an invalid index.\n++\n+[none]\n+** 2a1. Bibliotek shows an error message.\n++\n+Use case restarts form step 2.\n+\n+* 2b. The book is already in user's reading list.\n++\n+[none]\n+** 2b1. Bibliotek tells user that the book is already in his reading list.\n++\n+Use case ends.\n+\n+[discrete]\n+=== Use case: UC5 - Rate a book\n+\n+*MSS*\n+\n+1. User obtains a list of books by listing (UC1) or searching (UC2).\n+2. User requests to give a rating to a specific book in the list.\n+3. Bibliotek shows a success message.\n++\n+Use case ends.\n+\n+*Extensions*\n+\n+[none]\n+* 1. The book name cannot find in the Bibliotek\n+*** Bibliotek says the book doesn’t exist or wrong book name and ask user to try again\n++\n+Use case ends.","path":"docs/DeveloperGuide.adoc","position":82,"original_position":82,"commit_id":"4546ece6bd03b453e98094816dece6311802f9f4","original_commit_id":"4546ece6bd03b453e98094816dece6311802f9f4","user":{"login":"qiu-siqi","id":35654059,"avatar_url":"https://avatars2.githubusercontent.com/u/35654059?v=4","gravatar_id":"","url":"https://api.github.com/users/qiu-siqi","html_url":"https://github.com/qiu-siqi","followers_url":"https://api.github.com/users/qiu-siqi/followers","following_url":"https://api.github.com/users/qiu-siqi/following{/other_user}","gists_url":"https://api.github.com/users/qiu-siqi/gists{/gist_id}","starred_url":"https://api.github.com/users/qiu-siqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiu-siqi/subscriptions","organizations_url":"https://api.github.com/users/qiu-siqi/orgs","repos_url":"https://api.github.com/users/qiu-siqi/repos","events_url":"https://api.github.com/users/qiu-siqi/events{/privacy}","received_events_url":"https://api.github.com/users/qiu-siqi/received_events","type":"User","site_admin":false},"body":"Extension 1 can be removed","created_at":"2018-03-08T15:36:35Z","updated_at":"2018-03-08T15:37:20Z","html_url":"https://github.com/CS2103JAN2018-F14-B4/main/pull/48#discussion_r173194780","pull_request_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/comments/173194780"},"html":{"href":"https://github.com/CS2103JAN2018-F14-B4/main/pull/48#discussion_r173194780"},"pull_request":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48","id":173764809,"html_url":"https://github.com/CS2103JAN2018-F14-B4/main/pull/48","diff_url":"https://github.com/CS2103JAN2018-F14-B4/main/pull/48.diff","patch_url":"https://github.com/CS2103JAN2018-F14-B4/main/pull/48.patch","issue_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues/48","number":48,"state":"open","locked":false,"title":"Add user case345","user":{"login":"592363789","id":35593307,"avatar_url":"https://avatars3.githubusercontent.com/u/35593307?v=4","gravatar_id":"","url":"https://api.github.com/users/592363789","html_url":"https://github.com/592363789","followers_url":"https://api.github.com/users/592363789/followers","following_url":"https://api.github.com/users/592363789/following{/other_user}","gists_url":"https://api.github.com/users/592363789/gists{/gist_id}","starred_url":"https://api.github.com/users/592363789/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/592363789/subscriptions","organizations_url":"https://api.github.com/users/592363789/orgs","repos_url":"https://api.github.com/users/592363789/repos","events_url":"https://api.github.com/users/592363789/events{/privacy}","received_events_url":"https://api.github.com/users/592363789/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-08T15:22:26Z","updated_at":"2018-03-08T15:37:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce88975d9568985d0a03bc26ea702025a97087b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":859121513,"url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/labels/status:%20completed","name":"status: completed","color":"26A69A","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48/commits","review_comments_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48/comments","review_comment_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues/48/comments","statuses_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/statuses/4546ece6bd03b453e98094816dece6311802f9f4","head":{"label":"592363789:addUserCase345","ref":"addUserCase345","sha":"4546ece6bd03b453e98094816dece6311802f9f4","user":{"login":"592363789","id":35593307,"avatar_url":"https://avatars3.githubusercontent.com/u/35593307?v=4","gravatar_id":"","url":"https://api.github.com/users/592363789","html_url":"https://github.com/592363789","followers_url":"https://api.github.com/users/592363789/followers","following_url":"https://api.github.com/users/592363789/following{/other_user}","gists_url":"https://api.github.com/users/592363789/gists{/gist_id}","starred_url":"https://api.github.com/users/592363789/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/592363789/subscriptions","organizations_url":"https://api.github.com/users/592363789/orgs","repos_url":"https://api.github.com/users/592363789/repos","events_url":"https://api.github.com/users/592363789/events{/privacy}","received_events_url":"https://api.github.com/users/592363789/received_events","type":"User","site_admin":false},"repo":{"id":123440681,"name":"main","full_name":"592363789/main","owner":{"login":"592363789","id":35593307,"avatar_url":"https://avatars3.githubusercontent.com/u/35593307?v=4","gravatar_id":"","url":"https://api.github.com/users/592363789","html_url":"https://github.com/592363789","followers_url":"https://api.github.com/users/592363789/followers","following_url":"https://api.github.com/users/592363789/following{/other_user}","gists_url":"https://api.github.com/users/592363789/gists{/gist_id}","starred_url":"https://api.github.com/users/592363789/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/592363789/subscriptions","organizations_url":"https://api.github.com/users/592363789/orgs","repos_url":"https://api.github.com/users/592363789/repos","events_url":"https://api.github.com/users/592363789/events{/privacy}","received_events_url":"https://api.github.com/users/592363789/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/592363789/main","description":"Address Book sample application (Level 4)","fork":true,"url":"https://api.github.com/repos/592363789/main","forks_url":"https://api.github.com/repos/592363789/main/forks","keys_url":"https://api.github.com/repos/592363789/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/592363789/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/592363789/main/teams","hooks_url":"https://api.github.com/repos/592363789/main/hooks","issue_events_url":"https://api.github.com/repos/592363789/main/issues/events{/number}","events_url":"https://api.github.com/repos/592363789/main/events","assignees_url":"https://api.github.com/repos/592363789/main/assignees{/user}","branches_url":"https://api.github.com/repos/592363789/main/branches{/branch}","tags_url":"https://api.github.com/repos/592363789/main/tags","blobs_url":"https://api.github.com/repos/592363789/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/592363789/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/592363789/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/592363789/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/592363789/main/statuses/{sha}","languages_url":"https://api.github.com/repos/592363789/main/languages","stargazers_url":"https://api.github.com/repos/592363789/main/stargazers","contributors_url":"https://api.github.com/repos/592363789/main/contributors","subscribers_url":"https://api.github.com/repos/592363789/main/subscribers","subscription_url":"https://api.github.com/repos/592363789/main/subscription","commits_url":"https://api.github.com/repos/592363789/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/592363789/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/592363789/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/592363789/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/592363789/main/contents/{+path}","compare_url":"https://api.github.com/repos/592363789/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/592363789/main/merges","archive_url":"https://api.github.com/repos/592363789/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/592363789/main/downloads","issues_url":"https://api.github.com/repos/592363789/main/issues{/number}","pulls_url":"https://api.github.com/repos/592363789/main/pulls{/number}","milestones_url":"https://api.github.com/repos/592363789/main/milestones{/number}","notifications_url":"https://api.github.com/repos/592363789/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/592363789/main/labels{/name}","releases_url":"https://api.github.com/repos/592363789/main/releases{/id}","deployments_url":"https://api.github.com/repos/592363789/main/deployments","created_at":"2018-03-01T13:47:10Z","updated_at":"2018-03-01T13:47:13Z","pushed_at":"2018-03-08T15:18:11Z","git_url":"git://github.com/592363789/main.git","ssh_url":"git@github.com:592363789/main.git","clone_url":"https://github.com/592363789/main.git","svn_url":"https://github.com/592363789/main","homepage":"https://nus-cs2103-ay1718s2.github.io/addressbook-level4/","size":7725,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CS2103JAN2018-F14-B4:master","ref":"master","sha":"71adc4db53c2c1bc467749101da375ceefd55d56","user":{"login":"CS2103JAN2018-F14-B4","id":36757406,"avatar_url":"https://avatars3.githubusercontent.com/u/36757406?v=4","gravatar_id":"","url":"https://api.github.com/users/CS2103JAN2018-F14-B4","html_url":"https://github.com/CS2103JAN2018-F14-B4","followers_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/followers","following_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/following{/other_user}","gists_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/subscriptions","organizations_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/orgs","repos_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/repos","events_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/received_events","type":"Organization","site_admin":false},"repo":{"id":122812204,"name":"main","full_name":"CS2103JAN2018-F14-B4/main","owner":{"login":"CS2103JAN2018-F14-B4","id":36757406,"avatar_url":"https://avatars3.githubusercontent.com/u/36757406?v=4","gravatar_id":"","url":"https://api.github.com/users/CS2103JAN2018-F14-B4","html_url":"https://github.com/CS2103JAN2018-F14-B4","followers_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/followers","following_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/following{/other_user}","gists_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/gists{/gist_id}","starred_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/subscriptions","organizations_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/orgs","repos_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/repos","events_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/events{/privacy}","received_events_url":"https://api.github.com/users/CS2103JAN2018-F14-B4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS2103JAN2018-F14-B4/main","description":"Book management application","fork":true,"url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main","forks_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/forks","keys_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/teams","hooks_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/hooks","issue_events_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues/events{/number}","events_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/events","assignees_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/assignees{/user}","branches_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/branches{/branch}","tags_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/tags","blobs_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/statuses/{sha}","languages_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/languages","stargazers_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/stargazers","contributors_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/contributors","subscribers_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/subscribers","subscription_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/subscription","commits_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/contents/{+path}","compare_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/merges","archive_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/downloads","issues_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues{/number}","pulls_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls{/number}","milestones_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/milestones{/number}","notifications_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/labels{/name}","releases_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/releases{/id}","deployments_url":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/deployments","created_at":"2018-02-25T06:43:47Z","updated_at":"2018-03-07T14:10:03Z","pushed_at":"2018-03-08T15:22:27Z","git_url":"git://github.com/CS2103JAN2018-F14-B4/main.git","ssh_url":"git@github.com:CS2103JAN2018-F14-B4/main.git","clone_url":"https://github.com/CS2103JAN2018-F14-B4/main.git","svn_url":"https://github.com/CS2103JAN2018-F14-B4/main","homepage":"https://f14-b4.netlify.com","size":7734,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":34,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4,"open_issues":34,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48"},"html":{"href":"https://github.com/CS2103JAN2018-F14-B4/main/pull/48"},"issue":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues/48"},"comments":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/CS2103JAN2018-F14-B4/main/statuses/4546ece6bd03b453e98094816dece6311802f9f4"}},"author_association":"NONE"}}
{"actor":{"display_login":"qiu-siqi"}}